Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in declaration of EVP_OpenUpdate #193

Closed
zedxxx opened this issue Feb 15, 2018 · 1 comment
Closed

Bug in declaration of EVP_OpenUpdate #193

zedxxx opened this issue Feb 15, 2018 · 1 comment
Labels
Element: SSL/TLS Issues related to SSL/TLS handling, TIdSSLIOHandlerSocketBase and descendants Status: Fixed Issue has been fixed, no further work needed Type: Bug Issue is a bug in existing code

Comments

@zedxxx
Copy link

zedxxx commented Feb 15, 2018

Latest svn commit (5447) changes declaration of EVP_OpenUpdate (IdSSLOpenSSLHeaders.pas) in interface section (changed var c : TIdC_INT to c : PIdC_INT ), but in implementation section it's still an old declaration.

Fix:

--- a/Indy/Protocols/IdSSLOpenSSLHeaders.pas	Thu Feb 15 23:04:40 2018 +0300
+++ b/Indy/Protocols/IdSSLOpenSSLHeaders.pas	Thu Feb 15 23:12:34 2018 +0300
@@ -26013,7 +26013,7 @@
   Result :=	EVP_DigestUpdate(a,b,c);
 end;
 
-function EVP_OpenUpdate(a:PEVP_CIPHER_CTX; b : PIdAnsiChar; var c : TIdC_INT;
+function EVP_OpenUpdate(a:PEVP_CIPHER_CTX; b : PIdAnsiChar; c : PIdC_INT;
   d: PIdAnsiChar; e : TIdC_INT) : TIdC_INT;
 {$IFDEF USE_INLINE} inline; {$ENDIF}
 begin

@rlebeau rlebeau closed this as completed Feb 16, 2018
@rlebeau
Copy link
Member

rlebeau commented Feb 16, 2018

Fixed in SVN rev 5448

@rlebeau rlebeau added Type: Bug Issue is a bug in existing code Element: SSL/TLS Issues related to SSL/TLS handling, TIdSSLIOHandlerSocketBase and descendants labels Feb 16, 2018
@rlebeau rlebeau added the Status: Fixed Issue has been fixed, no further work needed label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Element: SSL/TLS Issues related to SSL/TLS handling, TIdSSLIOHandlerSocketBase and descendants Status: Fixed Issue has been fixed, no further work needed Type: Bug Issue is a bug in existing code
Projects
None yet
Development

No branches or pull requests

2 participants