Jump to content
Ralf Junker

OverbyteIcsLIBEAY.pas f_X509_check_ip_asc() declaration mismatch

Recommended Posts

OverbyteIcsLIBEAY.pas line 2336 (SVN 1464) declares f_X509_check_ip_asc() like this:

f_X509_check_ip_asc: function(Cert: PX509; Paddress: PAnsiChar; namelen: size_t;  flags: Cardinal): Integer; cdecl = nil;

This is different from the OpenSSL definition. The Pascal declaration has an extra namelen parameter not present in the C header:

int X509_check_ip_asc(X509 *, const char *address, unsigned int flags);

Reference: https://www.openssl.org/docs/man1.1.1/man3/X509_check_ip_asc.html

 

Ralf

Edited by Ralf Junker

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
×