Use des_set_key_unchecked, not des_set_key.

This commit is contained in:
Bodo Möller 1999-12-03 20:26:20 +00:00
parent cddfe788fb
commit 23fb9bc0eb

View file

@ -93,7 +93,7 @@ static void des_cbc_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_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,