]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - demos/cipher/aeskeywrap.c
fix all the warnings in our demos and make them enableable
[thirdparty/openssl.git] / demos / cipher / aeskeywrap.c
index 3207b85663d19a4908f9a905ff54501e1b5342fb..4d5df4cd981f3d52bcade2815f68c88df826dd51 100644 (file)
@@ -53,7 +53,7 @@ static const unsigned char wrap_ct[] = {
 OSSL_LIB_CTX *libctx = NULL;
 const char *propq = NULL;
 
-int aes_wrap_encrypt(void)
+static int aes_wrap_encrypt(void)
 {
     int ret = 0;
     EVP_CIPHER_CTX *ctx;
@@ -111,7 +111,7 @@ err:
     return ret;
 }
 
-int aes_wrap_decrypt(void)
+static int aes_wrap_decrypt(void)
 {
     int ret = 0;
     EVP_CIPHER_CTX *ctx;