mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 12:39:27 +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}
|
||||
{$h+}
|
||||
{ $define USEGNUTLS}
|
||||
program simpleserver;
|
||||
|
||||
uses sysutils, custhttpapp, fpwebfile, sslbase, opensslsockets;
|
||||
uses
|
||||
sysutils,
|
||||
{$ifdef USEGNUTLS}
|
||||
gnutlssockets,
|
||||
{$else}
|
||||
opensslsockets,
|
||||
{$endif}
|
||||
sslbase,custhttpapp, fpwebfile;
|
||||
|
||||
Type
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user