change inaccurate error message
authorDr. Stephen Henson <steve@openssl.org>
Mon, 26 Nov 2012 15:47:32 +0000 (15:47 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 26 Nov 2012 15:47:32 +0000 (15:47 +0000)
ssl/s3_srvr.c

index 3f0c1ef..75abebb 100644 (file)
@@ -3348,7 +3348,7 @@ int ssl3_get_client_certificate(SSL *s)
                if (i <= 0)
                        {
                        al=ssl_verify_alarm_type(s->verify_result);
                if (i <= 0)
                        {
                        al=ssl_verify_alarm_type(s->verify_result);
-                       SSLerr(SSL_F_SSL3_GET_CLIENT_CERTIFICATE,SSL_R_NO_CERTIFICATE_RETURNED);
+                       SSLerr(SSL_F_SSL3_GET_CLIENT_CERTIFICATE,SSL_R_CERTIFICATE_VERIFY_FAILED);
                        goto f_err;
                        }
                }
                        goto f_err;
                        }
                }