summaryrefslogtreecommitdiff
path: root/lib/auth_dhe.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-11-12 11:11:35 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-11-12 11:11:35 +0000
commitfde1a373fb241cd203aa794a524f3dd14c5a7f90 (patch)
tree8107cee53051ae8d23454937a2eb7d8fd0f0c7a2 /lib/auth_dhe.c
parent265c994eef78c2f412b703af27fd461a3581f3d7 (diff)
downloadgnutls-fde1a373fb241cd203aa794a524f3dd14c5a7f90.tar.gz
The session->gnutls_key was renamed to session->key.
Diffstat (limited to 'lib/auth_dhe.c')
-rw-r--r--lib/auth_dhe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth_dhe.c b/lib/auth_dhe.c
index 795fdc04c7..9fb17edc76 100644
--- a/lib/auth_dhe.c
+++ b/lib/auth_dhe.c
@@ -96,7 +96,7 @@ static int gen_dhe_server_kx(gnutls_session session, opaque ** data)
CERTIFICATE_AUTH_INFO info;
const gnutls_certificate_credentials cred;
- cred = _gnutls_get_cred(session->gnutls_key, GNUTLS_CRD_CERTIFICATE, NULL);
+ cred = _gnutls_get_cred(session->key, GNUTLS_CRD_CERTIFICATE, NULL);
if (cred == NULL) {
gnutls_assert();
return GNUTLS_E_INSUFICIENT_CREDENTIALS;
@@ -268,7 +268,7 @@ GNUTLS_MPI p, g;
bits = _gnutls_dh_get_prime_bits( session);
- cred = _gnutls_get_cred(session->gnutls_key, GNUTLS_CRD_CERTIFICATE, NULL);
+ cred = _gnutls_get_cred(session->key, GNUTLS_CRD_CERTIFICATE, NULL);
if (cred == NULL) {
gnutls_assert();
return GNUTLS_E_INSUFICIENT_CREDENTIALS;