summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-12-08 13:42:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-12-08 13:42:08 +0000
commit5430200b8b9528861ec9759623107f407ba8c38f (patch)
tree13554bb74de1bacd69b49781c9f78a7966f49e18 /apps/s_server.c
parent13f6d57b1ef964f2b9cbd8f68783884caef0e5cb (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 6f67689519..9ec5600c75 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -2215,6 +2215,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);
}