secur32: Define missing gnutls_kx_algorithm_t constants for gnutls versions < 3.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
92defc736e
commit
e6c85e8436
|
@ -82,6 +82,11 @@ MAKE_FUNCPTR(gnutls_transport_set_push_function);
|
|||
#define GNUTLS_CIPHER_AES_192_CBC 92
|
||||
#define GNUTLS_CIPHER_AES_128_GCM 93
|
||||
#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
|
||||
|
||||
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)
|
|||
}
|
||||
}
|
||||
|
||||
static ALG_ID schannel_get_kx_algid(gnutls_kx_algorithm_t kx)
|
||||
static ALG_ID schannel_get_kx_algid(int kx)
|
||||
{
|
||||
switch (kx)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue