libfreerdp-crypto: move nla.c to libfreerdp-core
This commit is contained in:
parent
98dcdcfb8f
commit
f19f3a6024
@ -32,6 +32,8 @@ set(${MODULE_PREFIX}_SRCS
|
||||
gcc.h
|
||||
mcs.c
|
||||
mcs.h
|
||||
nla.c
|
||||
nla.h
|
||||
nego.c
|
||||
nego.h
|
||||
info.c
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <freerdp/crypto/nla.h>
|
||||
#include <freerdp/crypto/tls.h>
|
||||
|
||||
#include <winpr/crt.h>
|
||||
@ -37,6 +36,8 @@
|
||||
#include <winpr/library.h>
|
||||
#include <winpr/registry.h>
|
||||
|
||||
#include "nla.h"
|
||||
|
||||
/**
|
||||
* TSRequest ::= SEQUENCE {
|
||||
* version [0] INTEGER,
|
@ -47,8 +47,6 @@
|
||||
#include "fastpath.h"
|
||||
#include "transport.h"
|
||||
|
||||
#include <freerdp/crypto/nla.h>
|
||||
|
||||
#define BUFFER_SIZE 16384
|
||||
|
||||
STREAM* transport_recv_stream_init(rdpTransport* transport, int size)
|
||||
@ -89,6 +87,8 @@ BOOL transport_connect_rdp(rdpTransport* transport)
|
||||
|
||||
BOOL transport_connect_tls(rdpTransport* transport)
|
||||
{
|
||||
if (transport->layer != TRANSPORT_LAYER_TSG)
|
||||
{
|
||||
if (transport->TlsIn == NULL)
|
||||
transport->TlsIn = tls_new(transport->settings);
|
||||
|
||||
@ -108,6 +108,7 @@ BOOL transport_connect_tls(rdpTransport* transport)
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -32,10 +32,10 @@ typedef struct rdp_transport rdpTransport;
|
||||
|
||||
#include "tcp.h"
|
||||
#include "tsg.h"
|
||||
#include "nla.h"
|
||||
|
||||
#include <winpr/sspi.h>
|
||||
#include <freerdp/crypto/tls.h>
|
||||
#include <freerdp/crypto/nla.h>
|
||||
|
||||
#include <time.h>
|
||||
#include <freerdp/types.h>
|
||||
|
@ -23,7 +23,6 @@ set(${MODULE_PREFIX}_SRCS
|
||||
der.c
|
||||
ber.c
|
||||
per.c
|
||||
nla.c
|
||||
certificate.c
|
||||
crypto.c
|
||||
tls.c)
|
||||
|
Loading…
Reference in New Issue
Block a user