From: Vitaly Chikunov Date: Fri, 3 Dec 2021 09:10:33 +0000 (+0300) Subject: MSVC: Fix unresolved externals (cipher_gost_grasshopper_ctracpkm) X-Git-Tag: v3.0.1~32 X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=openssl-gost%2Fengine.git;a=commitdiff_plain;h=1a69318c73dc30e570850431efd458bd73dd7a99 MSVC: Fix unresolved externals (cipher_gost_grasshopper_ctracpkm) Un-inline `cipher_gost_grasshopper_ctracpkm'. Error message: gost_core.lib(gost_omac_acpkm.obj) : error LNK2019: unresolved external symbol cipher_gost_grasshopper_ctracpkm referenced in function CMAC_ACPKM_Init gost.dll : fatal error LNK1120: 1 unresolved externals Signed-off-by: Vitaly Chikunov --- diff --git a/gost_grasshopper_cipher.c b/gost_grasshopper_cipher.c index 6723019..001746b 100644 --- a/gost_grasshopper_cipher.c +++ b/gost_grasshopper_cipher.c @@ -933,7 +933,7 @@ static int gost_grasshopper_cipher_ctl(EVP_CIPHER_CTX *ctx, int type, int arg, v } /* Called directly by CMAC_ACPKM_Init() */ -const GRASSHOPPER_INLINE EVP_CIPHER *cipher_gost_grasshopper_ctracpkm() +const EVP_CIPHER *cipher_gost_grasshopper_ctracpkm() { return GOST_init_cipher(&grasshopper_ctr_acpkm_cipher); }