summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-12-08 13:42:32 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-12-08 13:42:32 +0000
commitb52a2738d4cd20d8cf4cf88943bee2b6789eeaf1 (patch)
tree98453c75951c77eeea08d7be20576e428742772b /apps/s_server.c
parent10f99d7b774a491242db82287eeb1bfc04c4c419 (diff)
Add ctrl and macro so we can determine if peer support secure renegotiation.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 8a08a30695..1a06d19bb1 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -2209,6 +2209,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);
}