summaryrefslogtreecommitdiff
path: root/libextra/gnutls_extra.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-16 11:49:40 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-16 11:49:40 +0000
commitb929e5b3cde43482d4f502260c06cf1270079755 (patch)
treef1e7884e55bd5c83ab53038fe67eecc9770b3ef2 /libextra/gnutls_extra.c
parent36b34cea246de4ffa74d2ec55040747ead89ea2c (diff)
downloadgnutls-b929e5b3cde43482d4f502260c06cf1270079755.tar.gz
* The error codes GNUTLS_E_NO_TEMPORARY_DH_PARAMS and GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
are no longer returned by the handshake function. Ciphersuites that require temporary parameters are removed when such parameters do not exist. * Several internal changes to allow adding the callback function to retrieve the certificate and the private key.
Diffstat (limited to 'libextra/gnutls_extra.c')
-rw-r--r--libextra/gnutls_extra.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libextra/gnutls_extra.c b/libextra/gnutls_extra.c
index 2e2c27c3a8..30e52c0187 100644
--- a/libextra/gnutls_extra.c
+++ b/libextra/gnutls_extra.c
@@ -75,6 +75,8 @@ int i;
_gnutls_kx_algorithms[i].name = "SRP";
_gnutls_kx_algorithms[i].algorithm = GNUTLS_KX_SRP;
_gnutls_kx_algorithms[i].auth_struct = &srp_auth_struct;
+ _gnutls_kx_algorithms[i].needs_dh_params = 0;
+ _gnutls_kx_algorithms[i].needs_rsa_params = 0;
_gnutls_kx_algorithms[i+1].name = 0;
}
i++;
@@ -83,6 +85,8 @@ int i;
_gnutls_kx_algorithms[i].name = "SRP RSA";
_gnutls_kx_algorithms[i].algorithm = GNUTLS_KX_SRP_RSA;
_gnutls_kx_algorithms[i].auth_struct = &srp_rsa_auth_struct;
+ _gnutls_kx_algorithms[i].needs_dh_params = 0;
+ _gnutls_kx_algorithms[i].needs_rsa_params = 0;
_gnutls_kx_algorithms[i+1].name = 0;
}
i++;
@@ -91,6 +95,8 @@ int i;
_gnutls_kx_algorithms[i].name = "SRP DSS";
_gnutls_kx_algorithms[i].algorithm = GNUTLS_KX_SRP_DSS;
_gnutls_kx_algorithms[i].auth_struct = &srp_dss_auth_struct;
+ _gnutls_kx_algorithms[i].needs_dh_params = 0;
+ _gnutls_kx_algorithms[i].needs_rsa_params = 0;
_gnutls_kx_algorithms[i+1].name = 0;
return 0; /* ok */