diff options
Diffstat (limited to 'crypto/x509/x509type.c')
-rw-r--r-- | crypto/x509/x509type.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 8332d9e9d4..a7695cad77 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -94,6 +94,8 @@ int X509_certificate_type(X509 *x, EVP_PKEY *pkey) ret = EVP_PK_DH | EVP_PKT_EXCH; break; case NID_id_GostR3410_2001: + case NID_id_GostR3410_2012_256: + case NID_id_GostR3410_2012_512: ret = EVP_PKT_EXCH | EVP_PKT_SIGN; break; default: |