X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fevp%2Fe_bf.c;h=e9a19d57d2b0cd5f069d947d131460898624d052;hb=c518ade1fd9a791625646bc9e77f5b9b2d378b78;hp=72047f64dabb08614fa61aea1dc621a03603a5b0;hpb=1921eaad645c9a9f62c1ed79b7ae87c417aa8a3c;p=oweals%2Fopenssl.git diff --git a/crypto/evp/e_bf.c b/crypto/evp/e_bf.c index 72047f64da..e9a19d57d2 100644 --- a/crypto/evp/e_bf.c +++ b/crypto/evp/e_bf.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#ifndef NO_BF +#ifndef OPENSSL_NO_BF #include #include "cryptlib.h" #include @@ -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,