New option "-showcerts" for s_client

Slight cleanup in ssl/
This commit is contained in:
Bodo Möller
1999-03-31 12:06:30 +00:00
parent 4f49cc7493
commit 6d02d8e444
6 changed files with 24 additions and 9 deletions

View File

@@ -477,10 +477,9 @@ struct ssl_ctx_st
struct ssl_st
{
/* procol version
* 2 for SSLv2
* 3 for SSLv3
* -3 for SSLv3 but accept SSLv2 */
/* protocol version
* (one of SSL2_VERSION, SSL3_VERSION, TLS1_VERSION)
*/
int version;
int type; /* SSL_ST_CONNECT or SSL_ST_ACCEPT */