session key

2013-01-22 Thread ask
Is there a way to tell what size of session key was chosen by two peers after a 
successful handshake, and what encryption method chosen?

Thanks in advance,

A


Re: print result of SSL_get_verify_result

2013-01-19 Thread ask
Thanks, 


Is there is a function in ERR_*  that can print the text from code?


A




 From: Jeffrey Walton noloa...@gmail.com
To: as...@yahoo.com 
Sent: Thursday, January 17, 2013 8:32 PM
Subject: Re: print result of SSL_get_verify_result
 
On Thu, Jan 17, 2013 at 9:17 PM, ask as...@yahoo.com wrote:
 How can I print out result string from return code of
 SSL_get_verify_result?
 For example, for my test, I got 18,
 ERR_error_string( return_code) does not yield any thing?
From verify(1) man page (http://www.openssl.org/docs/apps/verify.html):

18   X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT

Jeff

BIO_read/write thread safe?

2013-01-17 Thread ask
Is BIO_read and BIO_write functions thread safe?

Thanks in advavnce

A


print result of SSL_get_verify_result

2013-01-17 Thread ask
How can I print out result string from return code of
SSL_get_verify_result?
For example, for my test, I got 18, 

ERR_error_string( return_code) does not yield any thing?

A