diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_ameth.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_ameth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_ameth.c b/src/lib/libcrypto/rsa/rsa_ameth.c index 2c7e39bb1d..f54c93c8f9 100644 --- a/src/lib/libcrypto/rsa/rsa_ameth.c +++ b/src/lib/libcrypto/rsa/rsa_ameth.c | |||
@@ -201,7 +201,7 @@ static int do_rsa_print(BIO *bp, const RSA *x, int off, int priv) | |||
201 | update_buflen(x->iqmp, &buf_len); | 201 | update_buflen(x->iqmp, &buf_len); |
202 | } | 202 | } |
203 | 203 | ||
204 | m=(unsigned char *)malloc(buf_len+10); | 204 | m = malloc(buf_len+10); |
205 | if (m == NULL) | 205 | if (m == NULL) |
206 | { | 206 | { |
207 | RSAerr(RSA_F_DO_RSA_PRINT,ERR_R_MALLOC_FAILURE); | 207 | RSAerr(RSA_F_DO_RSA_PRINT,ERR_R_MALLOC_FAILURE); |