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

@@ -485,7 +485,7 @@ SSL *s;
p=buf; /* header */
d=p+9; /* data section */
*(p++)=SSL2_MT_CLIENT_HELLO; /* type */
s2n(SSL2_CLIENT_VERSION,p); /* version */
s2n(SSL2_VERSION,p); /* version */
n=j=0;
n=ssl_cipher_list_to_bytes(s,SSL_get_ciphers(s),d);