Re: patch for dillo and openssl 1.1

Globe Trotter <itsme_410-/[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
 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 <jun-MI4+LjHA60wRI6Z/[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.