]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_keyexpimp.c
EVP_MAC: APIs were renamed so they need to be fixed in here too. (#267)
[openssl-gost/engine.git] / gost_keyexpimp.c
index 9a3ac879a1ec97f02f28e5acbe2820e74399dc67..1f2c0aaf93eb663847afacba54aecbcd417d712f 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2019 Dmitry Belyavskiy <beldmit@gmail.com>
+ * Copyright (c) 2020 Vitaly Chikunov <vt@altlinux.org>
+ *
+ * Contents licensed under the terms of the OpenSSL license
+ * See https://www.openssl.org/source/license.html for details
+ */
 #ifdef _WIN32
 #include <winsock.h>
 #else
@@ -400,7 +407,7 @@ static int kuznyechik_wrap_do(EVP_CIPHER_CTX *ctx, unsigned char *out,
        }
 }
 
-int wrap_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr)
+static int wrap_ctrl (EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr)
 {
        switch(type)
        {