diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-12-08 13:47:28 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-12-08 13:47:28 +0000 |
commit | 59f44e810b696b7a908ab5b1958e16711a9154c2 (patch) | |
tree | 0ba7506f53ae1febe4aac8b57ef8038f32844003 /apps | |
parent | 7a014dceb61236803270f5c6022b82a2c656e0a1 (diff) |
Add ctrl and macro so we can determine if peer support secure renegotiation.
Fix SSL_CIPHER initialiser for mcsv
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 2 | ||||
-rw-r--r-- | apps/s_server.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index c9c654c3c8..86b5f6e45b 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1525,6 +1525,8 @@ static void print_stuff(BIO *bio, SSL *s, int full) EVP_PKEY_bits(pktmp)); EVP_PKEY_free(pktmp); } + BIO_printf(bio, "Secure Renegotiation IS%s supported\n", + SSL_get_secure_renegotiation_support(s) ? "" : " NOT"); #ifndef OPENSSL_NO_COMP comp=SSL_get_current_compression(s); expansion=SSL_get_current_expansion(s); diff --git a/apps/s_server.c b/apps/s_server.c index 77bb6e8e91..88b308ca38 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -2030,6 +2030,8 @@ static int init_ssl_connection(SSL *con) con->kssl_ctx->client_princ); } #endif /* OPENSSL_NO_KRB5 */ + BIO_printf(bio_s_out, "Secure Renegotiation IS%s supported\n", + SSL_get_secure_renegotiation_support(con) ? "" : " NOT"); return(1); } |