X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_grasshopper_cipher.c;h=001746bc69524dd8e08ecc6b1b48cd76dd354379;hb=a0d13491d28ee12e1c5517a0684a571be96fc7a5;hp=38dd98776d06a3e6a7b7b99b854e4e746a19cd65;hpb=798a847d840c42cc14e67bad882323b830aacab1;p=openssl-gost%2Fengine.git diff --git a/gost_grasshopper_cipher.c b/gost_grasshopper_cipher.c index 38dd987..001746b 100644 --- a/gost_grasshopper_cipher.c +++ b/gost_grasshopper_cipher.c @@ -906,7 +906,6 @@ static int gost_grasshopper_cipher_ctl(EVP_CIPHER_CTX *ctx, int type, int arg, v return gost2015_process_unprotected_attributes(x, arg, KUZNYECHIK_MAC_MAX_SIZE, c->tag); } - return 1; case EVP_CTRL_COPY: { EVP_CIPHER_CTX *out = ptr; @@ -934,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); }