Fixed D2009 compatibility in ssl_openssl_lib.pas
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@107 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
512bd392ee
commit
fb25700260
@ -1,9 +1,9 @@
|
|||||||
{==============================================================================|
|
{==============================================================================|
|
||||||
| Project : Ararat Synapse | 003.005.000 |
|
| Project : Ararat Synapse | 003.005.001 |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Content: SSL support by OpenSSL |
|
| Content: SSL support by OpenSSL |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Copyright (c)1999-2008, Lukas Gebauer |
|
| Copyright (c)1999-2010, Lukas Gebauer |
|
||||||
| All rights reserved. |
|
| All rights reserved. |
|
||||||
| |
|
| |
|
||||||
| Redistribution and use in source and binary forms, with or without |
|
| Redistribution and use in source and binary forms, with or without |
|
||||||
@ -33,7 +33,7 @@
|
|||||||
| DAMAGE. |
|
| DAMAGE. |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).|
|
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).|
|
||||||
| Portions created by Lukas Gebauer are Copyright (c)2002-2008. |
|
| Portions created by Lukas Gebauer are Copyright (c)2002-2010. |
|
||||||
| All Rights Reserved. |
|
| All Rights Reserved. |
|
||||||
|==============================================================================|
|
|==============================================================================|
|
||||||
| Contributor(s): |
|
| Contributor(s): |
|
||||||
@ -1352,7 +1352,7 @@ procedure ErrErrorString(e: integer; var buf: Ansistring; len: integer);
|
|||||||
begin
|
begin
|
||||||
if InitSSLInterface and Assigned(_ErrErrorString) then
|
if InitSSLInterface and Assigned(_ErrErrorString) then
|
||||||
_ErrErrorString(e, Pointer(buf), len);
|
_ErrErrorString(e, Pointer(buf), len);
|
||||||
buf := PChar(Buf);
|
buf := PAnsiChar(Buf);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ErrGetError: integer;
|
function ErrGetError: integer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user