Update eng_fat.c
authorMerQGh <34228890+MerQGh@users.noreply.github.com>
Mon, 4 Dec 2017 06:20:51 +0000 (09:20 +0300)
committerRichard Levitte <levitte@openssl.org>
Mon, 4 Dec 2017 16:44:38 +0000 (17:44 +0100)
This line will allow use private keys, which created by Crypto Pro, to
sign with OpenSSL.

CLA: trivial

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4836)

(cherry picked from commit b35bb37a3d6ecf11b43ef8717600ab61718c3cc2)

crypto/engine/eng_fat.c

index 4279dd94b135b73f340abd5fce1ee1ece9b990f6..55d3858bb1c6df482e7976b4c73cc60544e65fd8 100644 (file)
@@ -167,6 +167,7 @@ int ENGINE_register_complete(ENGINE *e)
 #endif
     ENGINE_register_RAND(e);
     ENGINE_register_pkey_meths(e);
+    ENGINE_register_pkey_asn1_meths(e);
     return 1;
 }