curl-library
RE: NTLM and odd parity
Date: Wed, 28 Jan 2015 23:09:15 +0000
On Fri, 2 Jan 2015, Steve Holme wrote:
> However, I have just converted the Java code that is given as an example
> on the above website into C, and tested it with SMTP (against my Exchange
> Server) and SMB and all appears to be good as well. I have debugged the
> code to make sure that the parity then gets set as it should.
I've now pushed my port of this function in commit 300876a7a6.
> So, my question is... Should we be applying the odd parity for the non-OpenSSL
> encryption functions just as we do for the OpenSSL based function at line 140?
I've enabled it in each of the NTLM functions that set the key / perform DES encryption when DES_set_odd_parity() isn't available via commit 8cc70db2db.
I've tested the USE_WIN32_CRYPTO code here and would appreciate any testing anyone can do with the other Cryptography engines.
Many thanks
Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-29