Commit e6c85e84 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

secur32: Define missing gnutls_kx_algorithm_t constants for gnutls versions < 3.

parent 92defc73
...@@ -82,6 +82,11 @@ MAKE_FUNCPTR(gnutls_transport_set_push_function); ...@@ -82,6 +82,11 @@ MAKE_FUNCPTR(gnutls_transport_set_push_function);
#define GNUTLS_CIPHER_AES_192_CBC 92 #define GNUTLS_CIPHER_AES_192_CBC 92
#define GNUTLS_CIPHER_AES_128_GCM 93 #define GNUTLS_CIPHER_AES_128_GCM 93
#define GNUTLS_CIPHER_AES_256_GCM 94 #define GNUTLS_CIPHER_AES_256_GCM 94
#define GNUTLS_KX_ANON_ECDH 11
#define GNUTLS_KX_ECDHE_RSA 12
#define GNUTLS_KX_ECDHE_ECDSA 13
#define GNUTLS_KX_ECDHE_PSK 14
#endif #endif
static int compat_cipher_get_block_size(gnutls_cipher_algorithm_t cipher) static int compat_cipher_get_block_size(gnutls_cipher_algorithm_t cipher)
...@@ -327,7 +332,7 @@ static ALG_ID schannel_get_mac_algid(gnutls_mac_algorithm_t mac) ...@@ -327,7 +332,7 @@ static ALG_ID schannel_get_mac_algid(gnutls_mac_algorithm_t mac)
} }
} }
static ALG_ID schannel_get_kx_algid(gnutls_kx_algorithm_t kx) static ALG_ID schannel_get_kx_algid(int kx)
{ {
switch (kx) switch (kx)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment