diff options
-rw-r--r-- | src/gnutls_hooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index d761b56..ea59bbf 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
@@ -808,6 +808,12 @@ int mgs_hook_authz(request_rec * r) | |||
808 | ctxt->sc->client_verify_mode, | 808 | ctxt->sc->client_verify_mode, |
809 | dc->client_verify_mode); | 809 | dc->client_verify_mode); |
810 | 810 | ||
811 | /* If we already have a client certificate, there's no point in | ||
812 | * re-handshaking... */ | ||
813 | rv = mgs_cert_verify(r, ctxt); | ||
814 | if (rv != DECLINED && rv != HTTP_FORBIDDEN) | ||
815 | return rv; | ||
816 | |||
811 | gnutls_certificate_server_set_request(ctxt->session, | 817 | gnutls_certificate_server_set_request(ctxt->session, |
812 | dc->client_verify_mode); | 818 | dc->client_verify_mode); |
813 | 819 | ||