]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_eng.c
Fixed runtime initalization of NID in the GOST-MAC-12 pkey method.
[openssl-gost/engine.git] / gost_eng.c
index aee09145dbeffa89eda869064eadae9f112f8571..3debd1830fa8415999324faafd55f4582e41309a 100644 (file)
@@ -122,6 +122,7 @@ static int bind_gost(ENGINE *e, const char *id)
        gost_digest_nids[4]=NID_gost_mac_12;
        gost_pkey_meth_nids[2]=NID_gost2012_256;
        gost_pkey_meth_nids[3]=NID_gost2012_512;
+       gost_pkey_meth_nids[4]=NID_gost_mac_12;
        /* EVP_CIPHERs */
        cipher_gost_cbc.nid = NID_gost89_cbc;
        cipher_gost_cpcnt_12.nid = NID_gost89_cnt_12;