diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-05-24 22:58:35 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-05-24 22:58:35 +0000 |
commit | 76c919c1a3751df1747fc67620263d663c9b7ba1 (patch) | |
tree | 4cd696c4e91a3df4ced00ba72f6509fbc7c10f4a /crypto/evp/e_bf.c | |
parent | 98405f240be550ff3c15a8f54cdf79c5580c371f (diff) | |
download | openssl-76c919c1a3751df1747fc67620263d663c9b7ba1.tar.gz |
Add missing variable length cipher flag for Blowfish.
Only use trust settings if either trust or reject settings
are present, otherwise use compatibility mode. This stops
root CAs being rejected if they have alias of keyid set.
Diffstat (limited to 'crypto/evp/e_bf.c')
-rw-r--r-- | crypto/evp/e_bf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_bf.c b/crypto/evp/e_bf.c index 00b069f02c..e9a19d57d2 100644 --- a/crypto/evp/e_bf.c +++ b/crypto/evp/e_bf.c @@ -67,7 +67,7 @@ static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc); IMPLEMENT_BLOCK_CIPHER(bf, bf_ks, BF, bf_ks, NID_bf, 8, 16, 8, - 0, bf_init_key, NULL, + EVP_CIPH_VARIABLE_LENGTH, bf_init_key, NULL, EVP_CIPHER_set_asn1_iv, EVP_CIPHER_get_asn1_iv, NULL) static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, |