X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_omac.c;h=fcfa810784c3ed9cb8b9969aa8c1cbbdbd989537;hb=refs%2Fheads%2Fossl_patched;hp=c4026d4fdc758d6da9fa9654ca3b2b7d0833a200;hpb=6036eb9be5403af769f211b1056d34bf65028aea;p=openssl-gost%2Fengine.git diff --git a/gost_omac.c b/gost_omac.c index c4026d4..fcfa810 100644 --- a/gost_omac.c +++ b/gost_omac.c @@ -240,7 +240,7 @@ int omac_imit_ctrl(EVP_MD_CTX *ctx, int type, int arg, void *ptr) if (c->key_set) { unsigned char diversed_key[32]; return gost_tlstree(c->cipher_nid, c->key, diversed_key, - (const unsigned char *)ptr) ? + (const unsigned char *)ptr, TLSTREE_MODE_NONE) ? omac_key(c, EVP_get_cipherbynid(c->cipher_nid), diversed_key, 32) : 0; }