]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Missing NID
authorDmitry Belyavskiy <beldmit@gmail.com>
Fri, 7 Sep 2018 12:48:20 +0000 (15:48 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 7 Sep 2018 12:48:20 +0000 (15:48 +0300)
gost_omac_acpkm.c

index 3061e36f8d13f3cb84e5d337ef184a86b6a58d52..0b74687b6798970c81573370019b6e6d5c78d3b0 100644 (file)
@@ -425,6 +425,7 @@ int omac_acpkm_imit_ctrl(EVP_MD_CTX *ctx, int type, int arg, void *ptr)
             if (c->cipher_nid == NID_undef) {
                 switch (EVP_MD_nid(md)) {
                 case NID_grasshopper_mac:
+                case NID_id_tc26_cipher_gostr3412_2015_kuznyechik_ctracpkm_omac:
                     c->cipher_nid = NID_grasshopper_cbc;
                     break;
                 }