diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-03-05 07:54:04 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-03-05 07:54:04 +0200 |
commit | 96a7c6be649326f0af51ddc0fffac79979a2f45f (patch) | |
tree | e64b4741ffb163d76504e7062f16786627581b49 /main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch | |
parent | 1c5234c1b13693e7dfdf186c4eeed56b26b27a2b (diff) | |
download | aports-96a7c6be649326f0af51ddc0fffac79979a2f45f.tar.bz2 aports-96a7c6be649326f0af51ddc0fffac79979a2f45f.tar.xz |
main/openssl: update padlock sha1 patch
Add EVP_MD_FLAG_PKEY_METHOD_SIGNATURE to padlock_sha1_md to fix
DSA/SHA1 verification in certain cases. Seems that NID_sha1 instead
of NID_dss is used sometimes incorrectly, and this seems to be the
workaround regular SHA1 code does too.
Suggested-by: Daniel Mansfield <daniel.mansfield@unsw.edu.au>
Diffstat (limited to 'main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch')
-rw-r--r-- | main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch b/main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch index 6b21985797..c88edbf8fe 100644 --- a/main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch +++ b/main/openssl/0003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch @@ -424,7 +424,7 @@ index 6ab42d2..e107d3c 100644 + NID_sha1, + NID_sha1WithRSAEncryption, + SHA_DIGEST_LENGTH, -+ 0, ++ EVP_MD_FLAG_PKEY_METHOD_SIGNATURE, + padlock_sha1_init, + padlock_sha1_update, + padlock_sha1_final, |