diff options
author | Bodo Möller <bodo@openssl.org> | 2000-02-20 23:04:06 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-02-20 23:04:06 +0000 |
commit | b35e9050f282c5ea2164bd5b08ed34d03accf45f (patch) | |
tree | 5256806a3f38422c71b01fa584698fc118c4e1fd /ssl/s2_srvr.c | |
parent | 9f7b1b24e2a94efbe2cdf61ed614780f72d67899 (diff) |
Tolerate fragmentation and interleaving in the SSL 3/TLS record layer.
Diffstat (limited to 'ssl/s2_srvr.c')
-rw-r--r-- | ssl/s2_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c index 4eb453b5f6..332e284451 100644 --- a/ssl/s2_srvr.c +++ b/ssl/s2_srvr.c @@ -898,7 +898,7 @@ static int request_certificate(SSL *s) EVP_VerifyUpdate(&ctx,ccd,SSL2_MIN_CERT_CHALLENGE_LENGTH); i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL); - buf2=(unsigned char *)Malloc((unsigned int)i); + buf2=Malloc((unsigned int)i); if (buf2 == NULL) { SSLerr(SSL_F_REQUEST_CERTIFICATE,ERR_R_MALLOC_FAILURE); |