]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
MSVC: Fix unresolved externals (cipher_gost_grasshopper_ctracpkm)
authorVitaly Chikunov <vt@altlinux.org>
Fri, 3 Dec 2021 09:10:33 +0000 (12:10 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sat, 11 Dec 2021 16:45:14 +0000 (19:45 +0300)
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 <vt@altlinux.org>
gost_grasshopper_cipher.c

index 6723019e617b8d8ba03fe8daa6e1679ec80f4583..001746bc69524dd8e08ecc6b1b48cd76dd354379 100644 (file)
@@ -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);
 }