* Add support to use GNU TLS

git-svn-id: trunk@40886 -
This commit is contained in:
michael 2019-01-17 09:52:40 +00:00
parent 080e2bc2bb
commit b8ef2c11a1

View File

@ -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