We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Only a deprecation warning at this time, but since looking into it. There is a need to adapt theses.
affinfo.cpp: In function 'void validate(const char*)': affinfo.cpp:194:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | MD5_Init(&md5); | ~~~~~~~~^~~~~~ In file included from ../include/afflib/afflib_i.h:111, from affinfo.cpp:13: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ affinfo.cpp:197:14: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | SHA1_Init(&sha); | ~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:41, from ../include/afflib/utils.h:22, from affinfo.cpp:12: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ affinfo.cpp:205:51: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | if(opt_validate & VALIDATE_MD5) MD5_Update(&md5,buf,bytes); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ affinfo.cpp:206:53: warning: 'int SHA1_Update(SHA_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | if(opt_validate & VALIDATE_SHA1) SHA1_Update(&sha,buf,bytes); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ affinfo.cpp:217:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | MD5_Final(md5_computed,&md5); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ affinfo.cpp:244:19: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | SHA1_Final(sha1_computed,&sha); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ affinfo.cpp: In function 'void print_info(AFFILE*, const char*)': affinfo.cpp:419:12: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 419 | MD5(data,data_len,md5); | ~~~^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ affinfo.cpp:484:12: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | MD5(page_data,page_data_len,hash_calc); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Only a deprecation warning at this time, but since looking into it. There is a need to adapt theses.
The text was updated successfully, but these errors were encountered: