]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_grasshopper_cipher.c
MSVC: Fix unreachable code warning
[openssl-gost/engine.git] / gost_grasshopper_cipher.c
index 38dd98776d06a3e6a7b7b99b854e4e746a19cd65..6723019e617b8d8ba03fe8daa6e1679ec80f4583 100644 (file)
@@ -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;