From 37f1f0f84d309fecec1f63a58fe3c28dd84c85e4 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Fri, 7 Sep 2018 15:48:20 +0300 Subject: [PATCH] Missing NID --- gost_omac_acpkm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gost_omac_acpkm.c b/gost_omac_acpkm.c index 3061e36..0b74687 100644 --- a/gost_omac_acpkm.c +++ b/gost_omac_acpkm.c @@ -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; } -- 2.39.2