Re: Encryption algorithm and key size in TLS
Peter Gutmann <[email protected]> Tue, 22 Jan 2013 16:29:41 +1300
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
David Pierre <[email protected]> writes: >So i decided to add this to my client part (just after CRYPT_SESSINFO_ACTIVE >set to 1) : > >status = cryptGetAttribute( cryptSession, CRYPT_SESSINFO_RESPONSE, &cryptCertificate ); >status = cryptCheckCert (cryptCertificate, CRYPT_UNUSED); > >I got a -26 error code, and no extended error information available. I used >server1.p15 on localhost, could it be the reason to this error ? There should be an CRYPT_ATTRIBUTE_ERRORTYPE and CRYPT_ATTRIBUTE_ERRORLOCUS set that tells you where the problem is. It's probably because the test CA that's used isn't trusted. Peter. _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.