Jump to content
EugeneK

Add couple of functions to OverbyteIcsLibEAY

Recommended Posts

Hi

 

Is it possible to add couple of functions to OverbyteIcsLibEAY.pas

 

I've attached patch file

 

--- C:/Users/EKOTLY~1/AppData/Local/Temp/OverbyteIcsLIBEAY.pas-revBASE.svn003.tmp.pas    Thu Sep 23 13:09:54 2021
+++ C:/Users/ekotlyarov/Documents/svn/POS/Source/3rdParty/icsv8/Source/OverbyteIcsLIBEAY.pas    Thu Sep 23 16:36:34 2021
@@ -2186,0 +2187,2 @@ const
+    PKCS5_PBKDF2_HMAC_SHA1 :                 function(pass: PAnsiChar; passlen: Integer; const salt: PAnsiChar; saltlen: Integer; iter: Integer; keylen: Integer; u: Pointer): Integer; cdecl = nil;
+    PKCS5_PBKDF2_HMAC :                      function(pass: PAnsiChar; passlen: Integer; const salt: PAnsiChar; saltlen: Integer; iter: Integer; digest: PEVP_MD; keylen: Integer; u: Pointer): Integer; cdecl = nil;
@@ -2834 +2836 @@ const
-    GLIBEAYImports1: array[0..728] of TOSSLImports = (
+    GLIBEAYImports1: array[0..730] of TOSSLImports = (
@@ -3226,0 +3229,2 @@ const
+    (F: @@PKCS5_PBKDF2_HMAC_SHA1 ;   N: 'PKCS5_PBKDF2_HMAC_SHA1';   MI: OSSL_VER_MIN; MX: OSSL_VER_MAX),
+    (F: @@PKCS5_PBKDF2_HMAC ; N: 'PKCS5_PBKDF2_HMAC'; MI: OSSL_VER_MIN; MX: OSSL_VER_MAX),

 

OverbyteIcsLibEAY.patch

Share this post


Link to post

I've updated that unit in SVN twice today so far, and was about to do it again, so you'll see your changes real soon. Not sure how long they will be useful for, SHA1 is long deprecated.

 

Angus

 

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×