Re: TLS sign / encryption
David Pierre <[email protected]> Mon, 28 Jan 2013 06:46:34 -0800 (PST)
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
I add another question i have. I try to start multiple TLS sessions : On server part, a loop create the session and wait for a connection. When session is over, i destroy it, and loop back. On client side, i try to loop on session creation : my goal is to check the time needed to realize a connection and exchange data. I get the certificate from server with cryptGetAttribute( cryptSession, CRYPT_SESSINFO_RESPONSE, &cryptCertificate );. It works for the first session, but on the second one, I got a -43 error code. It seems the server resume the session, and don't send back the certificate. How could I do that ? I tried to add in ssl.c the #define NO_SESSION_CACHE 1 but without success. I know I can load my certificate from a file and check it on client side, but I want to compare time on a complete process and have concordant data. -- View this message in context: http://old.nabble.com/TLS-sign---encryption-tp34952905p34954135.html Sent from the Cryptlib mailing list archive at Nabble.com. _______________________________________________ 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.