Re: cryptPopData() returns error -16 with TLS
Peter Gutmann <[email protected]> Sat, 24 Mar 2012 02:44:09 +1300
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
Tamim <[email protected]> writes: >I'm trying to establish a TLS session using the current version of cryptlib >under MSVS C++ Express 2010/Windows 7 as a client against a server >application which is TLS-enabled via stunnel! Sending messages using >cryptPushData() seam to work fine (according to the log entries of the server >application) but cryptPopData() returns -16 (CRYPT_INTERNAL_ERROR). The >values of the attributes CRYPT_ATTRIBUTE_ERRORTYPE and >CRYPT_ATTRIBUTE_ERRORLOCUS after the error has occured are 0. An attempt to >get the value of the attribute CRYPT_ATTRIBUTE_ERRORMESSAGE returns with the >error code -43. Can you create a debug build and tell me where in the code the exception is thrown and what any relevant data values are? Alternatively, is the server publicly accessible so I can try and connect to it? 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.