mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:09:17 +02:00
* fix few cases of misplaced cInt (should be cLong)
git-svn-id: trunk@8649 -
This commit is contained in:
parent
650dc4468b
commit
5520a948e5
@ -198,11 +198,11 @@ var
|
|||||||
function SslMethodTLSV1:PSSL_METHOD;
|
function SslMethodTLSV1:PSSL_METHOD;
|
||||||
function SslMethodV23:PSSL_METHOD;
|
function SslMethodV23:PSSL_METHOD;
|
||||||
function SslCtxUsePrivateKey(ctx: PSSL_CTX; pkey: SslPtr):cInt;
|
function SslCtxUsePrivateKey(ctx: PSSL_CTX; pkey: SslPtr):cInt;
|
||||||
function SslCtxUsePrivateKeyASN1(pk: cInt; ctx: PSSL_CTX; d: String; len: cInt):cInt;
|
function SslCtxUsePrivateKeyASN1(pk: cInt; ctx: PSSL_CTX; d: String; len: cLong):cInt;
|
||||||
// function SslCtxUsePrivateKeyFile(ctx: PSSL_CTX; const _file: PChar; _type: cInt):cInt;
|
// function SslCtxUsePrivateKeyFile(ctx: PSSL_CTX; const _file: PChar; _type: cInt):cInt;
|
||||||
function SslCtxUsePrivateKeyFile(ctx: PSSL_CTX; const _file: String; _type: cInt):cInt;
|
function SslCtxUsePrivateKeyFile(ctx: PSSL_CTX; const _file: String; _type: cInt):cInt;
|
||||||
function SslCtxUseCertificate(ctx: PSSL_CTX; x: SslPtr):cInt;
|
function SslCtxUseCertificate(ctx: PSSL_CTX; x: SslPtr):cInt;
|
||||||
function SslCtxUseCertificateASN1(ctx: PSSL_CTX; len: cInt; d: String):cInt;
|
function SslCtxUseCertificateASN1(ctx: PSSL_CTX; len: cLong; d: String):cInt;
|
||||||
function SslCtxUseCertificateFile(ctx: PSSL_CTX; const _file: String; _type: cInt):cInt;
|
function SslCtxUseCertificateFile(ctx: PSSL_CTX; const _file: String; _type: cInt):cInt;
|
||||||
// function SslCtxUseCertificateChainFile(ctx: PSSL_CTX; const _file: PChar):cInt;
|
// function SslCtxUseCertificateChainFile(ctx: PSSL_CTX; const _file: PChar):cInt;
|
||||||
function SslCtxUseCertificateChainFile(ctx: PSSL_CTX; const _file: String):cInt;
|
function SslCtxUseCertificateChainFile(ctx: PSSL_CTX; const _file: String):cInt;
|
||||||
@ -226,7 +226,7 @@ var
|
|||||||
function SSLGetCurrentCipher(s: PSSL):SslPtr;
|
function SSLGetCurrentCipher(s: PSSL):SslPtr;
|
||||||
function SSLCipherGetName(c: SslPtr): String;
|
function SSLCipherGetName(c: SslPtr): String;
|
||||||
function SSLCipherGetBits(c: SslPtr; var alg_bits: cInt):cInt;
|
function SSLCipherGetBits(c: SslPtr; var alg_bits: cInt):cInt;
|
||||||
function SSLGetVerifyResult(ssl: PSSL):cInt;
|
function SSLGetVerifyResult(ssl: PSSL):cLong;
|
||||||
|
|
||||||
// libeay.dll
|
// libeay.dll
|
||||||
function X509New: PX509;
|
function X509New: PX509;
|
||||||
|
Loading…
Reference in New Issue
Block a user