Forwarded upstream, see https://fossil-scm.org/forum/forumpost/0b3748251a

Patch:

$ fossil diff --context 1
Index: src/http_ssl.c
==================================================================
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -224,3 +224,3 @@
     char *pr = res;
-    const char *pt = (char *)asn1_time->data;
+    const char *pt = (char *)ASN1_STRING_get0_data(asn1_time);
     /*                   0123456789 1234
@@ -228,3 +228,3 @@
     **  GeneralizedTime: YYYYMMDDHHMMSSZ */
-    if( asn1_time->length < 15 ){
+    if( ASN1_STRING_length(asn1_time) < 15 ){
       /* UTCTime, fill out century digits */

Reply via email to