From 8bc1431eddb4c4724d9afa42c95943d3f8184435 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 12 May 1999 23:11:08 +0000 Subject: [PATCH] Several of the EVP_CIPHER structures had the get and set asn1 parameter functions transposed. --- crypto/evp/e_cbc_3d.c | 2 +- crypto/evp/e_cbc_bf.c | 2 +- crypto/evp/e_cbc_c.c | 2 +- crypto/evp/e_cbc_d.c | 2 +- crypto/evp/e_cbc_i.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crypto/evp/e_cbc_3d.c b/crypto/evp/e_cbc_3d.c index 9b9555441..3c16f5a4e 100644 --- a/crypto/evp/e_cbc_3d.c +++ b/crypto/evp/e_cbc_3d.c @@ -77,8 +77,8 @@ static EVP_CIPHER d_cbc_ede_cipher2= NULL, sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+ sizeof((((EVP_CIPHER_CTX *)NULL)->c.des_ede)), - EVP_CIPHER_get_asn1_iv, EVP_CIPHER_set_asn1_iv, + EVP_CIPHER_get_asn1_iv, }; static EVP_CIPHER d_cbc_ede_cipher3= diff --git a/crypto/evp/e_cbc_bf.c b/crypto/evp/e_cbc_bf.c index a55b84266..9bcba3c51 100644 --- a/crypto/evp/e_cbc_bf.c +++ b/crypto/evp/e_cbc_bf.c @@ -75,8 +75,8 @@ static EVP_CIPHER bfish_cbc_cipher= NULL, sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+ sizeof((((EVP_CIPHER_CTX *)NULL)->c.bf_ks)), - EVP_CIPHER_get_asn1_iv, EVP_CIPHER_set_asn1_iv, + EVP_CIPHER_get_asn1_iv, }; EVP_CIPHER *EVP_bf_cbc(void) diff --git a/crypto/evp/e_cbc_c.c b/crypto/evp/e_cbc_c.c index 04a2508c1..6845b0b44 100644 --- a/crypto/evp/e_cbc_c.c +++ b/crypto/evp/e_cbc_c.c @@ -76,8 +76,8 @@ static EVP_CIPHER cast5_cbc_cipher= NULL, sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+ sizeof((((EVP_CIPHER_CTX *)NULL)->c.cast_ks)), - EVP_CIPHER_get_asn1_iv, EVP_CIPHER_set_asn1_iv, + EVP_CIPHER_get_asn1_iv, }; EVP_CIPHER *EVP_cast5_cbc(void) diff --git a/crypto/evp/e_cbc_d.c b/crypto/evp/e_cbc_d.c index 1507dbb68..f394fa480 100644 --- a/crypto/evp/e_cbc_d.c +++ b/crypto/evp/e_cbc_d.c @@ -75,8 +75,8 @@ static EVP_CIPHER d_cbc_cipher= NULL, sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+ sizeof((((EVP_CIPHER_CTX *)NULL)->c.des_ks)), - EVP_CIPHER_get_asn1_iv, EVP_CIPHER_set_asn1_iv, + EVP_CIPHER_get_asn1_iv, }; EVP_CIPHER *EVP_des_cbc(void) diff --git a/crypto/evp/e_cbc_i.c b/crypto/evp/e_cbc_i.c index 5e5b47d0e..34b44aa21 100644 --- a/crypto/evp/e_cbc_i.c +++ b/crypto/evp/e_cbc_i.c @@ -76,8 +76,8 @@ static EVP_CIPHER i_cbc_cipher= NULL, sizeof(EVP_CIPHER_CTX)-sizeof((((EVP_CIPHER_CTX *)NULL)->c))+ sizeof((((EVP_CIPHER_CTX *)NULL)->c.idea_ks)), - EVP_CIPHER_get_asn1_iv, EVP_CIPHER_set_asn1_iv, + EVP_CIPHER_get_asn1_iv, }; EVP_CIPHER *EVP_idea_cbc(void)