Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL3 deprecation warnings #14

Open
big-r81 opened this issue Jan 19, 2024 · 0 comments
Open

OpenSSL3 deprecation warnings #14

big-r81 opened this issue Jan 19, 2024 · 0 comments

Comments

@big-r81
Copy link
Contributor

big-r81 commented Jan 19, 2024

Hi,

compiling the current main branch and using OpenSSL3 will give the following deprecation warnings:

===> Compiling c_src/fast_pbkdf2.c
===> c_src/fast_pbkdf2.c:307:13: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations]
            SHA1_Init,
            ^
/usr/local/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:308:13: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations]
            SHA1_Update,
            ^
/usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:310:13: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations]
            SHA1_Final,
            ^
/usr/local/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:307:13: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations]
            SHA1_Init,
            ^
/usr/local/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:308:13: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations]
            SHA1_Update,
            ^
/usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:307:13: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations]
            SHA1_Init,
            ^
/usr/local/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:308:13: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations]
            SHA1_Update,
            ^
/usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:308:13: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations]
            SHA1_Update,
            ^
/usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:310:13: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations]
            SHA1_Final,
            ^
/usr/local/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:308:13: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations]
            SHA1_Update,
            ^
/usr/local/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:310:13: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations]
            SHA1_Final,
            ^
/usr/local/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:309:13: warning: 'SHA1_Transform' is deprecated [-Wdeprecated-declarations]
            SHA1_Transform,
            ^
/usr/local/include/openssl/sha.h:52:1: note: 'SHA1_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:309:13: warning: 'SHA1_Transform' is deprecated [-Wdeprecated-declarations]
            SHA1_Transform,
            ^
/usr/local/include/openssl/sha.h:52:1: note: 'SHA1_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:366:13: warning: 'SHA224_Init' is deprecated [-Wdeprecated-declarations]
            SHA224_Init,
            ^
/usr/local/include/openssl/sha.h:69:1: note: 'SHA224_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:367:13: warning: 'SHA224_Update' is deprecated [-Wdeprecated-declarations]
            SHA224_Update,
            ^
/usr/local/include/openssl/sha.h:70:1: note: 'SHA224_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:369:13: warning: 'SHA224_Final' is deprecated [-Wdeprecated-declarations]
            SHA224_Final,
            ^
/usr/local/include/openssl/sha.h:72:1: note: 'SHA224_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:366:13: warning: 'SHA224_Init' is deprecated [-Wdeprecated-declarations]
            SHA224_Init,
            ^
/usr/local/include/openssl/sha.h:69:1: note: 'SHA224_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:367:13: warning: 'SHA224_Update' is deprecated [-Wdeprecated-declarations]
            SHA224_Update,
            ^
/usr/local/include/openssl/sha.h:70:1: note: 'SHA224_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:366:13: warning: 'SHA224_Init' is deprecated [-Wdeprecated-declarations]
            SHA224_Init,
            ^
/usr/local/include/openssl/sha.h:69:1: note: 'SHA224_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:367:13: warning: 'SHA224_Update' is deprecated [-Wdeprecated-declarations]
            SHA224_Update,
            ^
/usr/local/include/openssl/sha.h:70:1: note: 'SHA224_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:367:13: warning: 'SHA224_Update' is deprecated [-Wdeprecated-declarations]
            SHA224_Update,
            ^
/usr/local/include/openssl/sha.h:70:1: note: 'SHA224_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:369:13: warning: 'SHA224_Final' is deprecated [-Wdeprecated-declarations]
            SHA224_Final,
            ^
/usr/local/include/openssl/sha.h:72:1: note: 'SHA224_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:367:13: warning: 'SHA224_Update' is deprecated [-Wdeprecated-declarations]
            SHA224_Update,
            ^
/usr/local/include/openssl/sha.h:70:1: note: 'SHA224_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:369:13: warning: 'SHA224_Final' is deprecated [-Wdeprecated-declarations]
            SHA224_Final,
            ^
/usr/local/include/openssl/sha.h:72:1: note: 'SHA224_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:368:13: warning: 'SHA256_Transform' is deprecated [-Wdeprecated-declarations]
            SHA256_Transform,
            ^
/usr/local/include/openssl/sha.h:77:1: note: 'SHA256_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:368:13: warning: 'SHA256_Transform' is deprecated [-Wdeprecated-declarations]
            SHA256_Transform,
            ^
/usr/local/include/openssl/sha.h:77:1: note: 'SHA256_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:378:13: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
            SHA256_Init,
            ^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:379:13: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
            SHA256_Update,
            ^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:381:13: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
            SHA256_Final,
            ^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:378:13: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
            SHA256_Init,
            ^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:379:13: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
            SHA256_Update,
            ^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:378:13: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
            SHA256_Init,
            ^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:379:13: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
            SHA256_Update,
            ^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:379:13: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
            SHA256_Update,
            ^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:381:13: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
            SHA256_Final,
            ^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:379:13: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
            SHA256_Update,
            ^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:381:13: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
            SHA256_Final,
            ^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:380:13: warning: 'SHA256_Transform' is deprecated [-Wdeprecated-declarations]
            SHA256_Transform,
            ^
/usr/local/include/openssl/sha.h:77:1: note: 'SHA256_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:380:13: warning: 'SHA256_Transform' is deprecated [-Wdeprecated-declarations]
            SHA256_Transform,
            ^
/usr/local/include/openssl/sha.h:77:1: note: 'SHA256_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:436:13: warning: 'SHA384_Init' is deprecated [-Wdeprecated-declarations]
            SHA384_Init,
            ^
/usr/local/include/openssl/sha.h:120:1: note: 'SHA384_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:437:13: warning: 'SHA384_Update' is deprecated [-Wdeprecated-declarations]
            SHA384_Update,
            ^
/usr/local/include/openssl/sha.h:121:1: note: 'SHA384_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:439:13: warning: 'SHA384_Final' is deprecated [-Wdeprecated-declarations]
            SHA384_Final,
            ^
/usr/local/include/openssl/sha.h:123:1: note: 'SHA384_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:436:13: warning: 'SHA384_Init' is deprecated [-Wdeprecated-declarations]
            SHA384_Init,
            ^
/usr/local/include/openssl/sha.h:120:1: note: 'SHA384_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:437:13: warning: 'SHA384_Update' is deprecated [-Wdeprecated-declarations]
            SHA384_Update,
            ^
/usr/local/include/openssl/sha.h:121:1: note: 'SHA384_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:436:13: warning: 'SHA384_Init' is deprecated [-Wdeprecated-declarations]
            SHA384_Init,
            ^
/usr/local/include/openssl/sha.h:120:1: note: 'SHA384_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:437:13: warning: 'SHA384_Update' is deprecated [-Wdeprecated-declarations]
            SHA384_Update,
            ^
/usr/local/include/openssl/sha.h:121:1: note: 'SHA384_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:437:13: warning: 'SHA384_Update' is deprecated [-Wdeprecated-declarations]
            SHA384_Update,
            ^
/usr/local/include/openssl/sha.h:121:1: note: 'SHA384_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:439:13: warning: 'SHA384_Final' is deprecated [-Wdeprecated-declarations]
            SHA384_Final,
            ^
/usr/local/include/openssl/sha.h:123:1: note: 'SHA384_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:437:13: warning: 'SHA384_Update' is deprecated [-Wdeprecated-declarations]
            SHA384_Update,
            ^
/usr/local/include/openssl/sha.h:121:1: note: 'SHA384_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:439:13: warning: 'SHA384_Final' is deprecated [-Wdeprecated-declarations]
            SHA384_Final,
            ^
/usr/local/include/openssl/sha.h:123:1: note: 'SHA384_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:438:13: warning: 'SHA512_Transform' is deprecated [-Wdeprecated-declarations]
            SHA512_Transform,
            ^
/usr/local/include/openssl/sha.h:128:1: note: 'SHA512_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:438:13: warning: 'SHA512_Transform' is deprecated [-Wdeprecated-declarations]
            SHA512_Transform,
            ^
/usr/local/include/openssl/sha.h:128:1: note: 'SHA512_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:448:13: warning: 'SHA512_Init' is deprecated [-Wdeprecated-declarations]
            SHA512_Init,
            ^
/usr/local/include/openssl/sha.h:124:1: note: 'SHA512_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:449:13: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
            SHA512_Update,
            ^
/usr/local/include/openssl/sha.h:125:1: note: 'SHA512_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:451:13: warning: 'SHA512_Final' is deprecated [-Wdeprecated-declarations]
            SHA512_Final,
            ^
/usr/local/include/openssl/sha.h:127:1: note: 'SHA512_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:448:13: warning: 'SHA512_Init' is deprecated [-Wdeprecated-declarations]
            SHA512_Init,
            ^
/usr/local/include/openssl/sha.h:124:1: note: 'SHA512_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:449:13: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
            SHA512_Update,
            ^
/usr/local/include/openssl/sha.h:125:1: note: 'SHA512_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:448:13: warning: 'SHA512_Init' is deprecated [-Wdeprecated-declarations]
            SHA512_Init,
            ^
/usr/local/include/openssl/sha.h:124:1: note: 'SHA512_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:449:13: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
            SHA512_Update,
            ^
/usr/local/include/openssl/sha.h:125:1: note: 'SHA512_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:449:13: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
            SHA512_Update,
            ^
/usr/local/include/openssl/sha.h:125:1: note: 'SHA512_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:451:13: warning: 'SHA512_Final' is deprecated [-Wdeprecated-declarations]
            SHA512_Final,
            ^
/usr/local/include/openssl/sha.h:127:1: note: 'SHA512_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:449:13: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
            SHA512_Update,
            ^
/usr/local/include/openssl/sha.h:125:1: note: 'SHA512_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:451:13: warning: 'SHA512_Final' is deprecated [-Wdeprecated-declarations]
            SHA512_Final,
            ^
/usr/local/include/openssl/sha.h:127:1: note: 'SHA512_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:450:13: warning: 'SHA512_Transform' is deprecated [-Wdeprecated-declarations]
            SHA512_Transform,
            ^
/usr/local/include/openssl/sha.h:128:1: note: 'SHA512_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:450:13: warning: 'SHA512_Transform' is deprecated [-Wdeprecated-declarations]
            SHA512_Transform,
            ^
/usr/local/include/openssl/sha.h:128:1: note: 'SHA512_Transform' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c,
^
/usr/local/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
c_src/fast_pbkdf2.c:500:30: warning: unused parameter 'env' [-Wunused-parameter]
static int reload(ErlNifEnv* env, void** priv, ERL_NIF_TERM info)
                             ^
c_src/fast_pbkdf2.c:500:42: warning: unused parameter 'priv' [-Wunused-parameter]
static int reload(ErlNifEnv* env, void** priv, ERL_NIF_TERM info)
                                         ^
c_src/fast_pbkdf2.c:500:61: warning: unused parameter 'info' [-Wunused-parameter]
static int reload(ErlNifEnv* env, void** priv, ERL_NIF_TERM info)
                                                            ^
c_src/fast_pbkdf2.c:505:56: warning: unused parameter 'old_priv' [-Wunused-parameter]
static int upgrade(ErlNifEnv* env, void** priv, void** old_priv, ERL_NIF_TERM info)
                                                       ^
c_src/fast_pbkdf2.c:510:31: warning: unused parameter 'env' [-Wunused-parameter]
static void unload(ErlNifEnv* env, void* priv)
                              ^
c_src/fast_pbkdf2.c:589:35: warning: missing field 'flags' initializer [-Wmissing-field-initializers]
    {"pbkdf2_block", 5, pbkdf2_nif}
                                  ^
71 warnings generated.

From the OpenSSL3 migration guide:

Use of low-level digest functions such as SHA1_Init(3) have been informally discouraged from use for a long time. Applications should instead use the the high level EVP APIs EVP_DigestInit_ex(3), EVP_DigestUpdate(3) and EVP_DigestFinal_ex(3), or the quick one-shot EVP_Q_digest(3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant