We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840864b commit c2af21cCopy full SHA for c2af21c
Source/Services/SimpleNotificationService/Custom/AWS.OpenSSL.pas
@@ -74,7 +74,11 @@ procedure RaiseOpenSSLError(const AMessage :string = '');
74
ErrMsg, FullMsg: string;
75
begin
76
ErrCode := ERR_get_error;
77
+{$IF CompilerVersion >= 34}
78
ErrMsg := string(AnsiString(ERR_error_string(ErrCode, nil)));
79
+{$ELSE}
80
+ ErrMsg := string(ERR_error_string(ErrCode, nil));
81
+{$ENDIF}
82
if AMessage = '' then
83
FullMsg := ErrMsg
84
else
0 commit comments