X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_client.c;h=f0c2280d2ec326e94fd980a0a677a7248e19eb20;hp=44f228a31c4456e08225ca5f9594b8df15f5ccfa;hb=67a4728511cad54b22b871aa2674944d111f30d2;hpb=f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee diff --git a/apps/s_client.c b/apps/s_client.c index 44f228a31c..f0c2280d2e 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -720,6 +720,11 @@ static void print_stuff(BIO *bio, SSL *s, int full) p=SSL_get_shared_ciphers(s,buf,BUFSIZ); if (p != NULL) { + /* This works only for SSL 2. In later protocol + * versions, the client does not know what other + * ciphers (in addition to the one to be used + * in the current connection) the server supports. */ + BIO_printf(bio,"---\nCiphers common between both SSL endpoints:\n"); j=i=0; while (*p)