cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DVERSION=\"1.85\" -DXS_VERSION=\"1.85\" -fPIC "-I/usr/lib/perl5/5.28/core_perl/CORE" SSLeay.c SSLeay.xs: In function ‘XS_Net__SSLeay_CTX_tlsv1_new’: SSLeay.xs:1808:6: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations] RETVAL = SSL_CTX_new (TLSv1_method()); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1852:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_CTX_tlsv1_1_new’: SSLeay.xs:1817:6: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations] RETVAL = SSL_CTX_new (TLSv1_1_method()); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1858:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */ ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_CTX_tlsv1_2_new’: SSLeay.xs:1828:6: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations] RETVAL = SSL_CTX_new (TLSv1_2_method()); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1864:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_RAND_pseudo_bytes’: SSLeay.xs:2707:9: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations] rc = RAND_pseudo_bytes(random, num); ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/rand.h:44:1: note: declared here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_X509_CRL_get_lastUpdate’: SSLeay.c:6248:2: warning: ‘X509_CRL_get_lastUpdate’ is deprecated [-Wdeprecated-declarations] RETVAL = X509_CRL_get_lastUpdate(x); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/x509.h:727:1: note: declared here DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_X509_CRL_get_nextUpdate’: SSLeay.c:6267:2: warning: ‘X509_CRL_get_nextUpdate’ is deprecated [-Wdeprecated-declarations] RETVAL = X509_CRL_get_nextUpdate(x); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/x509.h:728:1: note: declared here DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_X509_get_subjectAltNames’: SSLeay.xs:3410:26: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations] PUSHs(sv_2mortal(newSVpv((const char*)ASN1_STRING_data(subjAltNameDN->d.otherName->value->value.utf8string), ASN1_STRING_length(subjAltNameDN->d.otherName->value->value.utf8string)))); ^~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs:3419:26: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations] PUSHs(sv_2mortal(newSVpv((const char*)ASN1_STRING_data(subjAltNameDN->d.ia5), ASN1_STRING_length(subjAltNameDN->d.ia5)))); ^~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_P_X509_get_crl_distribution_points’: SSLeay.xs:3470:25: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations] XPUSHs(sv_2mortal(newSVpv((char*)ASN1_STRING_data(gn->d.ia5),ASN1_STRING_length(gn->d.ia5)))); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_P_X509_get_ocsp_uri’: SSLeay.xs:3511:3: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations] XPUSHs(sv_2mortal(newSVpv( ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_P_ASN1_STRING_get’: SSLeay.xs:3829:9: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations] u8 = newSVpv((const char*)ASN1_STRING_data(s), ASN1_STRING_length(s)); ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_method’: SSLeay.c:9279:2: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1852:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_server_method’: SSLeay.c:9296:2: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_server_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1853:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_client_method’: SSLeay.c:9313:2: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1854:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_1_method’: SSLeay.c:9333:2: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_1_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1858:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */ ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_1_server_method’: SSLeay.c:9350:2: warning: ‘TLSv1_1_server_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_1_server_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1859:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_1_client_method’: SSLeay.c:9367:2: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_1_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1860:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_2_method’: SSLeay.c:9388:2: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_2_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1864:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_2_server_method’: SSLeay.c:9405:2: warning: ‘TLSv1_2_server_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_2_server_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1865:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.c: In function ‘XS_Net__SSLeay_TLSv1_2_client_method’: SSLeay.c:9422:2: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations] RETVAL = TLSv1_2_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/ssl.h:1866:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_RSA_generate_key’: SSLeay.xs:5443:9: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations] RETVAL = RSA_generate_key(bits, e, ssleay_RSA_generate_key_cb_invoke, cb); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/err.h:13, from SSLeay.xs:163: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ SSLeay.xs: In function ‘XS_Net__SSLeay_OCSP_response_results’: SSLeay.xs:6781:33: warning: passing argument 1 of ‘i2d_OCSP_CERTID’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] int len = i2d_OCSP_CERTID(OCSP_SINGLERESP_get0_id(sir),NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from SSLeay.xs:167: /usr/include/openssl/ocsp.h:333:1: note: expected ‘OCSP_CERTID *’ {aka ‘struct ocsp_cert_id_st *’} but argument is of type ‘const OCSP_CERTID *’ {aka ‘const struct ocsp_cert_id_st *’} DECLARE_ASN1_FUNCTIONS(OCSP_CERTID) ^ SSLeay.xs:6790:23: warning: passing argument 1 of ‘i2d_OCSP_CERTID’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] i2d_OCSP_CERTID(OCSP_SINGLERESP_get0_id(sir),&pi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from SSLeay.xs:167: /usr/include/openssl/ocsp.h:333:1: note: expected ‘OCSP_CERTID *’ {aka ‘struct ocsp_cert_id_st *’} but argument is of type ‘const OCSP_CERTID *’ {aka ‘const struct ocsp_cert_id_st *’} DECLARE_ASN1_FUNCTIONS(OCSP_CERTID)