Add ctrl and macro so we can determine if peer support secure renegotiation.
[openssl.git] / apps / s_server.c
index 6f67689..9ec5600 100644 (file)
@@ -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);
        }