diff options
Diffstat (limited to 'src/lib/libssl/s3_clnt.c')
| -rw-r--r-- | src/lib/libssl/s3_clnt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index 10546ee848..ac1812d857 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
| @@ -2390,9 +2390,7 @@ ssl3_send_client_key_exchange(SSL *s) | |||
| 2390 | POINT_CONVERSION_UNCOMPRESSED, | 2390 | POINT_CONVERSION_UNCOMPRESSED, |
| 2391 | NULL, 0, NULL); | 2391 | NULL, 0, NULL); |
| 2392 | 2392 | ||
| 2393 | encodedPoint = | 2393 | encodedPoint = malloc(encoded_pt_len); |
| 2394 | (unsigned char *)malloc( | ||
| 2395 | encoded_pt_len * sizeof(unsigned char)); | ||
| 2396 | 2394 | ||
| 2397 | bn_ctx = BN_CTX_new(); | 2395 | bn_ctx = BN_CTX_new(); |
| 2398 | if ((encodedPoint == NULL) || | 2396 | if ((encodedPoint == NULL) || |
