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
Dill...@dillo.org
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
thanks for the patch! I'll try to get this merged.
Cheers,
Johannes
I committed the patch to the 3.0.5 branch.
Please test and give feedback.
Cheers,
Johannes
thanks for the feedback. I'll try to roll a release candidate soon.
Cheers,
Johannes