]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/s_server.c
Add ctrl and macro so we can determine if peer support secure renegotiation.
[thirdparty/openssl.git] / apps / s_server.c
index 8a08a306959ac478b1c4520272b43e8f6ef947d3..1a06d19bb14be9ddf1af9d777012317d149dd06b 100644 (file)
@@ -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);
        }