]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/x509/x509type.c
Patch containing TLS implementation for GOST 2012
[thirdparty/openssl.git] / crypto / x509 / x509type.c
index 8332d9e9d46f30edf87a16dff618e60b98f78336..a7695cad77208108f56d0745f05743d65450b9d8 100644 (file)
@@ -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: