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

index 2d3b667d916d0431c5a36640c4d95abb5f50c2df..97dda2dde0344e01563183028a18da593be84836 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;