Search squid archive

squid5 build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



latest debian and latest gcc in repo
squid-5.0.0-20170919-r478fb99.tar.gz
gcc version 6.3.0 20170516 (Debian 6.3.0-18) 

any idea  or  its  some code need to be converted to work with latest gcc ?? 

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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux