summaryrefslogtreecommitdiff
path: root/lib/libcrypto/pkcs7/pk7_smime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/pkcs7/pk7_smime.c')
-rw-r--r--lib/libcrypto/pkcs7/pk7_smime.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/pkcs7/pk7_smime.c b/lib/libcrypto/pkcs7/pk7_smime.c
index b76e2b1915f..576866f5c25 100644
--- a/lib/libcrypto/pkcs7/pk7_smime.c
+++ b/lib/libcrypto/pkcs7/pk7_smime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pk7_smime.c,v 1.18 2014/07/11 08:44:49 jsing Exp $ */
+/* $OpenBSD: pk7_smime.c,v 1.19 2014/11/09 19:17:13 miod Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@ -192,6 +192,8 @@ PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, EVP_PKEY *pkey,
}
if (!add_cipher_smcap(smcap, NID_aes_256_cbc, -1) ||
!add_digest_smcap(smcap, NID_id_GostR3411_94, -1) ||
+ !add_digest_smcap(smcap, NID_id_tc26_gost3411_2012_256, -1) ||
+ !add_digest_smcap(smcap, NID_id_tc26_gost3411_2012_512, -1) ||
!add_cipher_smcap(smcap, NID_id_Gost28147_89, -1) ||
!add_cipher_smcap(smcap, NID_aes_192_cbc, -1) ||
!add_cipher_smcap(smcap, NID_aes_128_cbc, -1) ||