diff options
Diffstat (limited to 'src/lib/libssl/d1_clnt.c')
-rw-r--r-- | src/lib/libssl/d1_clnt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c index 6bceeea55b..cf9bc2d33e 100644 --- a/src/lib/libssl/d1_clnt.c +++ b/src/lib/libssl/d1_clnt.c | |||
@@ -1308,9 +1308,7 @@ dtls1_send_client_key_exchange(SSL *s) | |||
1308 | POINT_CONVERSION_UNCOMPRESSED, | 1308 | POINT_CONVERSION_UNCOMPRESSED, |
1309 | NULL, 0, NULL); | 1309 | NULL, 0, NULL); |
1310 | 1310 | ||
1311 | encodedPoint = (unsigned char *) | 1311 | encodedPoint = malloc(encoded_pt_len); |
1312 | malloc(encoded_pt_len * | ||
1313 | sizeof(unsigned char)); | ||
1314 | 1312 | ||
1315 | bn_ctx = BN_CTX_new(); | 1313 | bn_ctx = BN_CTX_new(); |
1316 | if ((encodedPoint == NULL) || | 1314 | if ((encodedPoint == NULL) || |