Hi,

some LIBEAY DLL imports seem to use functions that are not provided by
1.0.2j DLLs.

The patch below changes these imports to 1.1.0 minimum. Tested against
my own (MSYS2 Mingw32) DLLs, OpenSSL 1.0.2j version - https client only.

Without the patch I could not use svn1295 with OpenSSL 1.0.2j DLLs.

Regards,

Jörg Fischer

--

Index: OverbyteIcsLIBEAY.pas
===================================================================
--- OverbyteIcsLIBEAY.pas       (revision 1295)
+++ OverbyteIcsLIBEAY.pas       (working copy)
@@ -2113,9 +2113,9 @@
     (F: @@f_X509_NAME_get_text_by_NID;   N: 'X509_NAME_get_text_by_NID';   MI: 
OSSL_VER_MIN; MX: OSSL_VER_MAX),
     (F: @@f_X509_NAME_new;   N: 'X509_NAME_new';   MI: OSSL_VER_MIN; MX: 
OSSL_VER_MAX),
     (F: @@f_X509_NAME_oneline;   N: 'X509_NAME_oneline';   MI: OSSL_VER_MIN; 
MX: OSSL_VER_MAX),
-    (F: @@f_X509_OBJECT_get_type;       N: 'X509_OBJECT_get_type';       MI: 
OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
-    (F: @@f_X509_OBJECT_get0_X509;      N: 'X509_OBJECT_get0_X509';      MI: 
OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
-    (F: @@f_X509_OBJECT_get0_X509_CRL;  N: 'X509_OBJECT_get0_X509_CRL';  MI: 
OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
+    (F: @@f_X509_OBJECT_get_type;       N: 'X509_OBJECT_get_type';       MI: 
OSSL_VER_1100; MX: OSSL_VER_MAX), { V8.39 }
+    (F: @@f_X509_OBJECT_get0_X509;      N: 'X509_OBJECT_get0_X509';      MI: 
OSSL_VER_1100; MX: OSSL_VER_MAX), { V8.39 }
+    (F: @@f_X509_OBJECT_get0_X509_CRL;  N: 'X509_OBJECT_get0_X509_CRL';  MI: 
OSSL_VER_1100; MX: OSSL_VER_MAX), { V8.39 }
     (F: @@f_X509_PKEY_free ;   N: 'X509_PKEY_free';   MI: OSSL_VER_MIN; MX: 
OSSL_VER_MAX),
     (F: @@f_X509_PUBKEY_free ;   N: 'X509_PUBKEY_free';   MI: OSSL_VER_MIN; 
MX: OSSL_VER_MAX),
     (F: @@f_X509_PUBKEY_free;   N: 'X509_PUBKEY_free';   MI: OSSL_VER_MIN; MX: 
OSSL_VER_MAX),
@@ -2165,7 +2165,7 @@
     (F: @@f_X509_VERIFY_PARAM_set_purpose;   N: 
'X509_VERIFY_PARAM_set_purpose';   MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
     (F: @@f_X509_VERIFY_PARAM_set_trust;     N: 'X509_VERIFY_PARAM_set_trust'; 
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
     (F: @@f_X509_VERIFY_PARAM_set_depth;     N: 'X509_VERIFY_PARAM_set_depth'; 
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
-    (F: @@f_X509_VERIFY_PARAM_set_auth_level;N: 
'X509_VERIFY_PARAM_set_auth_level'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { 
V8.39 }
+    (F: @@f_X509_VERIFY_PARAM_set_auth_level;N: 
'X509_VERIFY_PARAM_set_auth_level'; MI: OSSL_VER_1100; MX: OSSL_VER_MAX), { 
V8.39 }
     (F: @@f_X509_VERIFY_PARAM_set_time;      N: 'X509_VERIFY_PARAM_set_time';  
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
     (F: @@f_X509_VERIFY_PARAM_add0_policy;   N: 
'X509_VERIFY_PARAM_add0_policy';   MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
     (F: @@f_X509_VERIFY_PARAM_set1_policies; N: 
'X509_VERIFY_PARAM_set1_policies'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
@@ -2173,12 +2173,12 @@
     (F: @@f_X509_VERIFY_PARAM_add1_host;     N: 'X509_VERIFY_PARAM_add1_host'; 
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
     (F: @@f_X509_VERIFY_PARAM_set_hostflags; N: 
'X509_VERIFY_PARAM_set_hostflags'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
     (F: @@f_X509_VERIFY_PARAM_get0_peername; N: 
'X509_VERIFY_PARAM_get0_peername'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
-    (F: @@f_X509_VERIFY_PARAM_move_peername; N: 
'X509_VERIFY_PARAM_move_peername'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
+    (F: @@f_X509_VERIFY_PARAM_move_peername; N: 
'X509_VERIFY_PARAM_move_peername'; MI: OSSL_VER_1100; MX: OSSL_VER_MAX), { 
V8.39 }
     (F: @@f_X509_VERIFY_PARAM_set1_email;    N: 
'X509_VERIFY_PARAM_set1_email';    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
     (F: @@f_X509_VERIFY_PARAM_set1_ip;       N: 'X509_VERIFY_PARAM_set1_ip';   
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
     (F: @@f_X509_VERIFY_PARAM_set1_ip_asc;   N: 
'X509_VERIFY_PARAM_set1_ip_asc';   MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
     (F: @@f_X509_VERIFY_PARAM_get_depth;     N: 'X509_VERIFY_PARAM_get_depth'; 
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
-    (F: @@f_X509_VERIFY_PARAM_get_auth_level;N: 
'X509_VERIFY_PARAM_get_auth_level'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { 
V8.39 }
+    (F: @@f_X509_VERIFY_PARAM_get_auth_level;N: 
'X509_VERIFY_PARAM_get_auth_level'; MI: OSSL_VER_1100; MX: OSSL_VER_MAX), { 
V8.39 }
     (F: @@f_X509_VERIFY_PARAM_get0_name;     N: 'X509_VERIFY_PARAM_get0_name'; 
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }
     (F: @@f_X509_VERIFY_PARAM_add0_table;    N: 
'X509_VERIFY_PARAM_add0_table';    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 
}
     (F: @@f_X509_VERIFY_PARAM_get_count;     N: 'X509_VERIFY_PARAM_get_count'; 
    MI: OSSL_VER_MIN; MX: OSSL_VER_MAX), { V8.39 }

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to