Re: patch for dillo and openssl 1.1
Johannes Hofmann <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for the patch! I'll try to get this merged. Cheers, Johannes On Sun, Apr 01, 2018 at 09:49:14PM +0000, Globe Trotter wrote: > Is it possible to mergen this and release a maintenance release. This is an > important patch and would be very helpful in keeping dillo current and updated > on some distributions. > > On Saturday, March 24, 2018, 5:29:53 PM CDT, Jun Ebihara <[email protected]> > wrote: > > > NetBSD 8.99.14 contains OpenSSL 1.1.0g 2 Nov 2017. > > to support dillo+enableSSL+OpenSSL 1.1.0g, > need this patch for pkgsrc packaging system workaround. > > http://mail-index.netbsd.org/pkgsrc-changes/2018/03/24/msg173237.html > > +--- dpi/https.c.orig 2015-06-30 14:06:08.000000000 +0000 > ++++ dpi/https.c > +@@ -476,7 +476,11 @@ static int handle_certificate_problem(SS > + case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: > + /*Either self signed and untrusted*/ > + /*Extract CN from certificate name information*/ > ++#if OPENSSL_VERSION_NUMBER < 0x10100000L > + if ((cn = strstr(remote_cert->name, "/CN=")) == NULL) { > ++#else > ++ if ((cn = strstr(X509_get_subject_name(remote_cert), "/CN=")) == > NULL) { > ++#endif > + strcpy(buf, "(no CN given)"); > + } else { > + char *cn_end; > > -- > Jun Ebihara > > _______________________________________________ > Dillo-dev mailing list > [email protected] > http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev > _______________________________________________ > Dillo-dev mailing list > [email protected] > http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev _______________________________________________ Dillo-dev mailing list [email protected] http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev