File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -293,8 +293,8 @@ TOpenSSL_C_TM = record
293293
294294function GetIOpenSSLDDL : IOpenSSLDLL;
295295{ $IFNDEF OPENSSL_STATIC_LINK_MODEL}
296- function LoadLibCryptoFunction (const AProcName: { $IFDEF FPC } AnsiString { $ELSE } PChar{ $ENDIF } ): Pointer;
297- function LoadLibSSLFunction (const AProcName: { $IFDEF FPC } AnsiString { $ELSE } PChar{ $ENDIF } ): Pointer;
296+ function LoadLibCryptoFunction (const AProcName: PChar): Pointer;
297+ function LoadLibSSLFunction (const AProcName: PChar): Pointer;
298298
299299type
300300 TOpenSSLLoadProc = procedure(LibVersion: TOpenSSL_C_UINT; const AFailed: TStringList);
@@ -536,12 +536,12 @@ function TOpenSSLDynamicLibProvider.Init : boolean;
536536 Result := Load;
537537end ;
538538
539- function LoadLibCryptoFunction (const AProcName: { $IFDEF FPC } AnsiString { $ELSE } PChar{ $ENDIF } ): Pointer;
539+ function LoadLibCryptoFunction (const AProcName: PChar): Pointer;
540540begin
541541 Result := GetProcAddress(TOpenSSLDynamicLibProvider.FOpenSSLDDL.GetLibCryptoHandle,AProcName);
542542end ;
543543
544- function LoadLibSSLFunction (const AProcName: { $IFDEF FPC } AnsiString { $ELSE } PChar{ $ENDIF } ): Pointer;
544+ function LoadLibSSLFunction (const AProcName: PChar): Pointer;
545545begin
546546 Result := GetProcAddress(TOpenSSLDynamicLibProvider.FOpenSSLDDL.GetLibSSLHandle,AProcName);
547547end ;
You can’t perform that action at this time.
0 commit comments