Add ctrl and macro so we can determine if peer support secure renegotiation.

This commit is contained in:
Dr. Stephen Henson
2009-12-08 13:42:08 +00:00
parent 13f6d57b1e
commit 5430200b8b
5 changed files with 17 additions and 0 deletions

View 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);
}