diff options
Diffstat (limited to 'src/lib/libcrypto/evp/bio_enc.c')
| -rw-r--r-- | src/lib/libcrypto/evp/bio_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/bio_enc.c b/src/lib/libcrypto/evp/bio_enc.c index df817b9d8f..965f2ab623 100644 --- a/src/lib/libcrypto/evp/bio_enc.c +++ b/src/lib/libcrypto/evp/bio_enc.c | |||
| @@ -108,7 +108,7 @@ enc_new(BIO *bi) | |||
| 108 | { | 108 | { |
| 109 | BIO_ENC_CTX *ctx; | 109 | BIO_ENC_CTX *ctx; |
| 110 | 110 | ||
| 111 | ctx = (BIO_ENC_CTX *)malloc(sizeof(BIO_ENC_CTX)); | 111 | ctx = malloc(sizeof(BIO_ENC_CTX)); |
| 112 | if (ctx == NULL) | 112 | if (ctx == NULL) |
| 113 | return (0); | 113 | return (0); |
| 114 | EVP_CIPHER_CTX_init(&ctx->cipher); | 114 | EVP_CIPHER_CTX_init(&ctx->cipher); |
