mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 07:09:23 +02:00
* Add support to use GNU TLS
git-svn-id: trunk@40886 -
This commit is contained in:
parent
080e2bc2bb
commit
b8ef2c11a1
@ -1,8 +1,16 @@
|
|||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
{$h+}
|
{$h+}
|
||||||
|
{ $define USEGNUTLS}
|
||||||
program simpleserver;
|
program simpleserver;
|
||||||
|
|
||||||
uses sysutils, custhttpapp, fpwebfile, sslbase, opensslsockets;
|
uses
|
||||||
|
sysutils,
|
||||||
|
{$ifdef USEGNUTLS}
|
||||||
|
gnutlssockets,
|
||||||
|
{$else}
|
||||||
|
opensslsockets,
|
||||||
|
{$endif}
|
||||||
|
sslbase,custhttpapp, fpwebfile;
|
||||||
|
|
||||||
Type
|
Type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user