summaryrefslogtreecommitdiff
path: root/lib/ext/post_handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext/post_handshake.c')
-rw-r--r--lib/ext/post_handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/post_handshake.c b/lib/ext/post_handshake.c
index 9aa67e2aed..0af7e53f21 100644
--- a/lib/ext/post_handshake.c
+++ b/lib/ext/post_handshake.c
@@ -94,7 +94,7 @@ _gnutls_post_handshake_send_params(gnutls_session_t session,
if (unlikely(max == NULL))
return gnutls_assert_val(0);
- if (max->post_handshake_auth && (cred->ncerts || cred->get_cert_callback2 || cred->get_cert_callback))
+ if (max->post_handshake_auth && (cred->ncerts || cred->get_cert_callback3))
return GNUTLS_E_INT_RET_0;
else
return 0;