Created
January 18, 2023 23:48
-
-
Save mdcallag/42dfecfa901a80a8d2878ce4447ac7ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc: In function ‘DH* get_dh2048()’: | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:185:19: warning: ‘DH* DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
185 | if ((dh = DH_new())) { | |
| ~~~~~~^~ | |
In file included from /usr/include/openssl/dsa.h:51, | |
from /usr/include/openssl/x509.h:37, | |
from /usr/include/openssl/ssl.h:31, | |
from /home/mdcallag/b/mysql-8.0.28/include/violite.h:233, | |
from /home/mdcallag/b/mysql-8.0.28/vio/vio_priv.h:37, | |
from /home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:40: | |
/usr/include/openssl/dh.h:199:27: note: declared here | |
199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | |
| ^~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:190:24: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
190 | || !DH_set0_pqg(dh, p, nullptr, g) | |
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/dsa.h:51, | |
from /usr/include/openssl/x509.h:37, | |
from /usr/include/openssl/ssl.h:31, | |
from /home/mdcallag/b/mysql-8.0.28/include/violite.h:233, | |
from /home/mdcallag/b/mysql-8.0.28/vio/vio_priv.h:37, | |
from /home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:40: | |
/usr/include/openssl/dh.h:255:27: note: declared here | |
255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | |
| ^~~~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:194:14: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
194 | DH_free(dh); | |
| ~~~~~~~^~~~ | |
In file included from /usr/include/openssl/dsa.h:51, | |
from /usr/include/openssl/x509.h:37, | |
from /usr/include/openssl/ssl.h:31, | |
from /home/mdcallag/b/mysql-8.0.28/include/violite.h:233, | |
from /home/mdcallag/b/mysql-8.0.28/vio/vio_priv.h:37, | |
from /home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:40: | |
/usr/include/openssl/dh.h:200:28: note: declared here | |
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | |
| ^~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc: In function ‘void report_errors()’: | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:213:38: warning: ‘long unsigned int ERR_get_error_line_data(const char**, int*, const char**, int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
213 | while ((l = ERR_get_error_line_data(&file, &line, &data, &flags)) > 0) { | |
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/mdcallag/b/mysql-8.0.28/include/violite.h:232, | |
from /home/mdcallag/b/mysql-8.0.28/vio/vio_priv.h:37, | |
from /home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:40: | |
/usr/include/openssl/err.h:413:15: note: declared here | |
413 | unsigned long ERR_get_error_line_data(const char **file, int *line, | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc: In function ‘int set_fips_mode(uint, char*)’: | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:500:19: error: ‘FIPS_mode’ was not declared in this scope; did you mean ‘fips_mode’? | |
500 | fips_mode_old = FIPS_mode(); | |
| ^~~~~~~~~ | |
| fips_mode | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:505:14: error: ‘FIPS_mode_set’ was not declared in this scope | |
505 | if (!(rc = FIPS_mode_set(fips_mode))) { | |
| ^~~~~~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc: In function ‘uint get_fips_mode()’: | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:527:31: error: ‘FIPS_mode’ was not declared in this scope | |
527 | uint get_fips_mode() { return FIPS_mode(); } | |
| ^~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc: In function ‘int test_ssl_fips_mode(char*)’: | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:535:27: error: ‘FIPS_mode’ was not declared in this scope | |
535 | int ret = FIPS_mode_set(FIPS_mode() == 0 ? 1 : 0); | |
| ^~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:535:13: error: ‘FIPS_mode_set’ was not declared in this scope | |
535 | int ret = FIPS_mode_set(FIPS_mode() == 0 ? 1 : 0); | |
| ^~~~~~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc: In function ‘st_VioSSLFd* new_VioSSLFd(const char*, const char*, const char*, const char*, const char*, const char*, bool, enum_ssl_init_error*, const char*, const char*, long int, const char*)’: | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:743:12: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
743 | DH_free(dh); | |
| ~~~~~~~^~~~ | |
In file included from /usr/include/openssl/dsa.h:51, | |
from /usr/include/openssl/x509.h:37, | |
from /usr/include/openssl/ssl.h:31, | |
from /home/mdcallag/b/mysql-8.0.28/include/violite.h:233, | |
from /home/mdcallag/b/mysql-8.0.28/vio/vio_priv.h:37, | |
from /home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:40: | |
/usr/include/openssl/dh.h:200:28: note: declared here | |
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | |
| ^~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:747:10: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
747 | DH_free(dh); | |
| ~~~~~~~^~~~ | |
In file included from /usr/include/openssl/dsa.h:51, | |
from /usr/include/openssl/x509.h:37, | |
from /usr/include/openssl/ssl.h:31, | |
from /home/mdcallag/b/mysql-8.0.28/include/violite.h:233, | |
from /home/mdcallag/b/mysql-8.0.28/vio/vio_priv.h:37, | |
from /home/mdcallag/b/mysql-8.0.28/vio/viosslfactories.cc:40: | |
/usr/include/openssl/dh.h:200:28: note: declared here | |
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | |
| ^~~~~~~ | |
make[2]: *** [vio/CMakeFiles/vio_objlib.dir/build.make:118: vio/CMakeFiles/vio_objlib.dir/viosslfactories.cc.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:5892: vio/CMakeFiles/vio_objlib.dir/all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
/home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc: In function ‘void my_md5_hash(unsigned char*, const unsigned char*, int)’: | |
/home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:41:11: warning: ‘int MD5_Init(MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
41 | MD5_Init(&ctx); | |
| ~~~~~~~~^~~~~~ | |
In file included from /home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:36: | |
/usr/include/openssl/md5.h:49:27: note: declared here | |
49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | |
| ^~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:42:13: warning: ‘int MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
42 | MD5_Update(&ctx, buf, len); | |
| ~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
In file included from /home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:36: | |
/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); | |
| ^~~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:43:12: warning: ‘int MD5_Final(unsigned char*, MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
43 | MD5_Final(digest, &ctx); | |
| ~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:36: | |
/usr/include/openssl/md5.h:51:27: note: declared here | |
51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | |
| ^~~~~~~~~ | |
/home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc: In function ‘int compute_md5_hash(char*, const char*, int)’: | |
/home/mdcallag/b/mysql-8.0.28/mysys/my_md5.cc:59:15: error: ‘FIPS_mode’ was not declared in this scope; did you mean ‘fips_mode’? | |
59 | fips_mode = FIPS_mode(); | |
| ^~~~~~~~~ | |
| fips_mode | |
make[2]: *** [mysys/CMakeFiles/mysys_objlib.dir/build.make:1280: mysys/CMakeFiles/mysys_objlib.dir/my_md5.cc.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:5996: mysys/CMakeFiles/mysys_objlib.dir/all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment