Skip to content
/ openssl Public
forked from openssl/openssl

Commit

Permalink
It's called SSL_session_reused(), not SSL_session_resumed()
Browse files Browse the repository at this point in the history
Reviewed-by: Viktor Dukhovni <[email protected]>

MR: openssl#2452
  • Loading branch information
kroeckx committed Mar 27, 2016
1 parent ccae4a1 commit 71ccf96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ssl/SSL_CTX_dane_enable.pod
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ the lifetime of the SSL connection.

/* Perform SSL_connect() handshake and handle errors here */

if (SSL_session_resumed(ssl)) {
if (SSL_session_reused(ssl)) {
if (SSL_get_verify_result(ssl) == X509_V_OK) {
/*
* Resumed session was originally verified, this connection is
Expand Down

0 comments on commit 71ccf96

Please sign in to comment.