use correct function code in error message
authorBodo Möller <bodo@openssl.org>
Thu, 15 Aug 2002 16:17:20 +0000 (16:17 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 15 Aug 2002 16:17:20 +0000 (16:17 +0000)
ssl/s2_srvr.c

index 2d3b667..97dda2d 100644 (file)
@@ -1032,7 +1032,7 @@ static int request_certificate(SSL *s)
        len = 6 + (unsigned long)s->s2->tmp.clen + (unsigned long)s->s2->tmp.rlen;
        if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER)
                {
-               SSLerr(SSL_F_GET_CLIENT_MASTER_KEY,SSL_R_MESSAGE_TOO_LONG);
+               SSLerr(SSL_F_REQUEST_CERTIFICATE,SSL_R_MESSAGE_TOO_LONG);
                goto end;
                }
        j = (int)len - s->init_num;