summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/bio_enc.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2002-06-07 03:45:35 +0000
committerBob Beck <beck@cvs.openbsd.org>2002-06-07 03:45:35 +0000
commitff121e423efd3c611e74f00bc681230532d543d7 (patch)
treeb699b77cb7d8375af148ae64ef32410f3fa82e93 /lib/libcrypto/evp/bio_enc.c
parentd638bbbd4d30397af50fadfd5f2bb4bb609f04f0 (diff)
Merge OpenSSL 0.9.7-stable-20020605,
correctly autogenerate obj_mac.h
Diffstat (limited to 'lib/libcrypto/evp/bio_enc.c')
-rw-r--r--lib/libcrypto/evp/bio_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/evp/bio_enc.c b/lib/libcrypto/evp/bio_enc.c
index 05f42494583..64fb2353af6 100644
--- a/lib/libcrypto/evp/bio_enc.c
+++ b/lib/libcrypto/evp/bio_enc.c
@@ -110,8 +110,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;