aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_cipher.c
diff options
context:
space:
mode:
Diffstat (limited to 'ossl_cipher.c')
-rw-r--r--ossl_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_cipher.c b/ossl_cipher.c
index a00e823..3d63a2a 100644
--- a/ossl_cipher.c
+++ b/ossl_cipher.c
@@ -226,7 +226,7 @@ ossl_cipher_update(VALUE self, VALUE data)
in = RSTRING(data)->ptr;
in_len = RSTRING(data)->len;
- if (!(out = OPENSSL_malloc(in_len+EVP_CIPHER_CTX_block_size(ctx)))){
+ if (!(out = OPENSSL_malloc(in_len+EVP_CIPHER_CTX_block_size(ctx)))) {
ossl_raise(eCipherError, NULL);
}
if (!EVP_CipherUpdate(ctx, out, &out_len, in, in_len)) {