700 |
|
|
701 |
DEBUG(("Generating client random\n")); |
DEBUG(("Generating client random\n")); |
702 |
/* Generate a client random, and hence determine encryption keys */ |
/* Generate a client random, and hence determine encryption keys */ |
703 |
// This is what the MS client do: |
/* This is what the MS client do: */ |
704 |
memset(inr, 0, SEC_RANDOM_SIZE); |
memset(inr, 0, SEC_RANDOM_SIZE); |
705 |
/* *ARIGL!* Plaintext attack, anyone? |
/* *ARIGL!* Plaintext attack, anyone? |
706 |
I tried doing: |
I tried doing: |
844 |
if (!mcs_connect(server, &mcs_data, username)) |
if (!mcs_connect(server, &mcs_data, username)) |
845 |
return False; |
return False; |
846 |
|
|
847 |
// sec_process_mcs_data(&mcs_data); |
/* sec_process_mcs_data(&mcs_data); */ |
848 |
if (g_encryption) |
if (g_encryption) |
849 |
sec_establish_key(); |
sec_establish_key(); |
850 |
xfree(mcs_data.data); |
xfree(mcs_data.data); |