[squid-users] squid5 build error

joseph chip_pop at hotmail.com
Tue Oct 3 14:08:14 UTC 2017


i gess this patch you post i did befor patch it
and the problem is conversion lol   please re check

gadgets.cc: In function ‘const ASN1_BIT_STRING*
Ssl::X509_get_signature(const CertPointer&)’:
gadgets.cc:960:25: error: invalid conversion from ‘ASN1_BIT_STRING** {aka
asn1_string_st**}’ to ‘const ASN1_BIT_STRING** {aka const
asn1_string_st**}’ [-fpermissive]
     X509_get0_signature(&sig, &sig_alg, cert.get());
                         ^~~~
In file included from /usr/include/openssl/ssl.h:50:0,
                 from ../../src/security/Context.h:16,
                 from ../../src/security/forward.h:13,
                 from ../../src/ssl/gadgets.h:13,
                 from gadgets.cc:10:
/usr/include/openssl/x509.h:552:6: note:   initializing argument 1 of
‘void X509_get0_signature(const ASN1_BIT_STRING**, const X509_ALGOR**,
const X509*)’
 void X509_get0_signature(const ASN1_BIT_STRING **psig,
      ^~~~~~~~~~~~~~~~~~~
gadgets.cc:960:31: error: invalid conversion from ‘X509_ALGOR** {aka
X509_algor_st**}’ to ‘const X509_ALGOR** {aka const X509_algor_st**}’
[-fpermissive]
     X509_get0_signature(&sig, &sig_alg, cert.get());
                               ^~~~~~~~
In file included from /usr/include/openssl/ssl.h:50:0,
                 from ../../src/security/Context.h:16,
                 from ../../src/security/forward.h:13,
                 from ../../src/ssl/gadgets.h:13,
                 from gadgets.cc:10:
/usr/include/openssl/x509.h:552:6: note:   initializing argument 2 of
‘void X509_get0_signature(const ASN1_BIT_STRING**, const X509_ALGOR**,
const X509*)’
 void X509_get0_signature(const ASN1_BIT_STRING **psig,





--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html


More information about the squid-users mailing list