diff options
author | Rich Salz <rsalz@openssl.org> | 2016-05-16 14:58:00 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-16 15:18:22 -0400 |
commit | 589902b2cbc667564642a0fdedfb2ef176dba0e8 (patch) | |
tree | 8a091682c5d833978c6d610f956c7c0321e8d6b7 /apps/s_client.c | |
parent | 2194351fdaab91cff94f921e633d46c9589b0d2c (diff) |
Use app_malloc; two missing cases.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/s_client.c')
-rw-r--r-- | apps/s_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 42ef049d24..fada838b68 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -509,7 +509,7 @@ static ossl_ssize_t hexdecode(const char **inptr, void *result) { unsigned char **out = (unsigned char **)result; const char *in = *inptr; - unsigned char *ret = OPENSSL_malloc(strlen(in)/2); + unsigned char *ret = app_malloc(strlen(in)/2, "hexdecode"); unsigned char *cp = ret; uint8_t byte; int nibble = 0; |