summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/evp/e_ofb_d.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/evp/e_ofb_d.c')
-rw-r--r--crypto/openssl/crypto/evp/e_ofb_d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/evp/e_ofb_d.c b/crypto/openssl/crypto/evp/e_ofb_d.c
index 398b3a0..d51ce23 100644
--- a/crypto/openssl/crypto/evp/e_ofb_d.c
+++ b/crypto/openssl/crypto/evp/e_ofb_d.c
@@ -95,7 +95,7 @@ static void des_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
memcpy(&(ctx->oiv[0]),iv,8);
memcpy(&(ctx->iv[0]),&(ctx->oiv[0]),8);
if (deskey != NULL)
- des_set_key(deskey,ctx->c.des_ks);
+ des_set_key_unchecked(deskey,ctx->c.des_ks);
}
static void des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
OpenPOWER on IntegriCloud