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

index fa21a8bd234b188253a82ef5cea446f6da2bcd7d..29c5b9732664d2ef75019e4d2a18764c40a3f2f4 100644 (file)
@@ -3342,7 +3342,7 @@ int ssl3_get_client_certificate(SSL *s)
                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;
                        }
                }