diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ameth.c')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_ameth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_ameth.c b/src/lib/libcrypto/dsa/dsa_ameth.c index c6d04f6a5d..459bea2041 100644 --- a/src/lib/libcrypto/dsa/dsa_ameth.c +++ b/src/lib/libcrypto/dsa/dsa_ameth.c | |||
@@ -457,7 +457,7 @@ static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) | |||
457 | update_buflen(priv_key, &buf_len); | 457 | update_buflen(priv_key, &buf_len); |
458 | update_buflen(pub_key, &buf_len); | 458 | update_buflen(pub_key, &buf_len); |
459 | 459 | ||
460 | m=(unsigned char *)malloc(buf_len+10); | 460 | m = malloc(buf_len+10); |
461 | if (m == NULL) | 461 | if (m == NULL) |
462 | { | 462 | { |
463 | DSAerr(DSA_F_DO_DSA_PRINT,ERR_R_MALLOC_FAILURE); | 463 | DSAerr(DSA_F_DO_DSA_PRINT,ERR_R_MALLOC_FAILURE); |