diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-26 17:05:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-28 14:56:57 +0200 |
commit | 118b074fba6ac9d8128410ce14cd05d46ad6dfa5 (patch) | |
tree | dfa2daaee65e5ca630b4a2fe352e38e8647aa583 /lib/vtls/schannel.h | |
parent | 5d9fcd2165fd1aa77c47b1d63cb33bfa3c21ec21 (diff) | |
download | curl-118b074fba6ac9d8128410ce14cd05d46ad6dfa5.tar.gz |
vtls: move SSL backends' private constants out of their header files
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/schannel.h')
-rw-r--r-- | lib/vtls/schannel.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/lib/vtls/schannel.h b/lib/vtls/schannel.h index 04d640147..4a254df4b 100644 --- a/lib/vtls/schannel.h +++ b/lib/vtls/schannel.h @@ -28,54 +28,6 @@ #include "urldata.h" -#ifndef UNISP_NAME_A -#define UNISP_NAME_A "Microsoft Unified Security Protocol Provider" -#endif - -#ifndef UNISP_NAME_W -#define UNISP_NAME_W L"Microsoft Unified Security Protocol Provider" -#endif - -#ifndef UNISP_NAME -#ifdef UNICODE -#define UNISP_NAME UNISP_NAME_W -#else -#define UNISP_NAME UNISP_NAME_A -#endif -#endif - -#ifndef SP_PROT_SSL2_CLIENT -#define SP_PROT_SSL2_CLIENT 0x00000008 -#endif - -#ifndef SP_PROT_SSL3_CLIENT -#define SP_PROT_SSL3_CLIENT 0x00000008 -#endif - -#ifndef SP_PROT_TLS1_CLIENT -#define SP_PROT_TLS1_CLIENT 0x00000080 -#endif - -#ifndef SP_PROT_TLS1_0_CLIENT -#define SP_PROT_TLS1_0_CLIENT SP_PROT_TLS1_CLIENT -#endif - -#ifndef SP_PROT_TLS1_1_CLIENT -#define SP_PROT_TLS1_1_CLIENT 0x00000200 -#endif - -#ifndef SP_PROT_TLS1_2_CLIENT -#define SP_PROT_TLS1_2_CLIENT 0x00000800 -#endif - -#ifndef SECBUFFER_ALERT -#define SECBUFFER_ALERT 17 -#endif - -/* Both schannel buffer sizes must be > 0 */ -#define CURL_SCHANNEL_BUFFER_INIT_SIZE 4096 -#define CURL_SCHANNEL_BUFFER_FREE_SIZE 1024 - extern const struct Curl_ssl Curl_ssl_schannel; /* Set the API backend definition to Schannel */ |