mirror of https://github.com/aria2/aria2
WinTLS: Move some defines out of the header
parent
219fd5b4b7
commit
51beb4bfa7
|
@ -44,6 +44,20 @@
|
||||||
#include "message.h"
|
#include "message.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
#ifndef SP_PROT_TLS1_1_CLIENT
|
||||||
|
#define SP_PROT_TLS1_1_CLIENT 0x00000200
|
||||||
|
#endif
|
||||||
|
#ifndef SP_PROT_TLS1_1_SERVER
|
||||||
|
#define SP_PROT_TLS1_1_SERVER 0x00000100
|
||||||
|
#endif
|
||||||
|
#ifndef SP_PROT_TLS1_2_CLIENT
|
||||||
|
#define SP_PROT_TLS1_2_CLIENT 0x00000800
|
||||||
|
#endif
|
||||||
|
#ifndef SP_PROT_TLS1_2_SERVER
|
||||||
|
#define SP_PROT_TLS1_2_SERVER 0x00000400
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef SCH_USE_STRONG_CRYPTO
|
#ifndef SCH_USE_STRONG_CRYPTO
|
||||||
#define SCH_USE_STRONG_CRYPTO 0x00400000
|
#define SCH_USE_STRONG_CRYPTO 0x00400000
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -48,19 +48,6 @@
|
||||||
#include "TLSContext.h"
|
#include "TLSContext.h"
|
||||||
#include "DlAbortEx.h"
|
#include "DlAbortEx.h"
|
||||||
|
|
||||||
#ifndef SP_PROT_TLS1_1_CLIENT
|
|
||||||
#define SP_PROT_TLS1_1_CLIENT 0x00000200
|
|
||||||
#endif
|
|
||||||
#ifndef SP_PROT_TLS1_1_SERVER
|
|
||||||
#define SP_PROT_TLS1_1_SERVER 0x00000100
|
|
||||||
#endif
|
|
||||||
#ifndef SP_PROT_TLS1_2_CLIENT
|
|
||||||
#define SP_PROT_TLS1_2_CLIENT 0x00000800
|
|
||||||
#endif
|
|
||||||
#ifndef SP_PROT_TLS1_2_SERVER
|
|
||||||
#define SP_PROT_TLS1_2_SERVER 0x00000400
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
||||||
namespace wintls {
|
namespace wintls {
|
||||||
|
|
Loading…
Reference in New Issue