Skip to content
Snippets Groups Projects
Commit 8bc1431e authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Several of the EVP_CIPHER structures had the get and set asn1 parameter

functions transposed.
parent f5eac85e
No related branches found
No related tags found
No related merge requests found
......@@ -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=
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment