Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-05-30 21:18:58 +0400
committerRichard Levitte <levitte@openssl.org>2002-05-30 21:18:58 +0400
commitb57e65609548a25c074b1f3cb083fd0a5b08e6cb (patch)
treee0556efac28413b35b33195204d2d0a9988d62c0 /crypto/evp
parent2551fc047c0cdcc697ebbd86853beaccc13b28cc (diff)
Merge in recent changes from 0.9.6-stable
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/bio_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c
index 831c71a2b5..c425a971af 100644
--- a/crypto/evp/bio_enc.c
+++ b/crypto/evp/bio_enc.c
@@ -106,8 +106,8 @@ static int enc_new(BIO *bi)
BIO_ENC_CTX *ctx;
ctx=(BIO_ENC_CTX *)OPENSSL_malloc(sizeof(BIO_ENC_CTX));
- EVP_CIPHER_CTX_init(&ctx->cipher);
if (ctx == NULL) return(0);
+ EVP_CIPHER_CTX_init(&ctx->cipher);
ctx->buf_len=0;
ctx->buf_off=0;