]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected initializer
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 11 Mar 2014 20:48:52 +0000 (21:48 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 11 Mar 2014 20:48:52 +0000 (21:48 +0100)
lib/algorithms/kx.c

index 7302da2967f589f70ae11c4c5337a43588b249fd..587ec532680337573a2d1a4cbeb18445620b3e08 100644 (file)
@@ -98,7 +98,7 @@ static const gnutls_kx_algo_entry _gnutls_kx_algorithms[] = {
 #if defined(ENABLE_ANON) && defined(ENABLE_ECDHE)
        {"ANON-ECDH", GNUTLS_KX_ANON_ECDH, &anon_ecdh_auth_struct, 0, GNUTLS_PK_UNKNOWN},
 #endif
-       {"RSA", GNUTLS_KX_RSA, &rsa_auth_struct, GNUTLS_PK_RSA},
+       {"RSA", GNUTLS_KX_RSA, &rsa_auth_struct, 0, GNUTLS_PK_RSA},
 #ifdef ENABLE_DHE
        {"DHE-RSA", GNUTLS_KX_DHE_RSA, &dhe_rsa_auth_struct, 1, GNUTLS_PK_RSA},
        {"DHE-DSS", GNUTLS_KX_DHE_DSS, &dhe_dss_auth_struct, 1, GNUTLS_PK_DSA},
@@ -124,7 +124,7 @@ static const gnutls_kx_algo_entry _gnutls_kx_algorithms[] = {
        {"ECDHE-PSK", GNUTLS_KX_ECDHE_PSK, &ecdhe_psk_auth_struct, 0, GNUTLS_PK_UNKNOWN},
 #endif
 #endif
-       {0, 0, 0, 0}
+       {0, 0, 0, 0, 0}
 };
 
 #define GNUTLS_KX_LOOP(b) \