summaryrefslogtreecommitdiff
path: root/lib/auth_dhe.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-25 18:08:46 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-25 18:08:46 +0000
commitbd226dc2fa40de5a572786f40ceda21b80a79b0b (patch)
treeb5639ed9c8f2827f749f6c7d0f6439813d89f1d3 /lib/auth_dhe.c
parent05aa065905eaac98f788ef8cc5fb3454122e0d50 (diff)
downloadgnutls-bd226dc2fa40de5a572786f40ceda21b80a79b0b.tar.gz
Corrected bug in DHE key exchange which prevented from parsing the given certificates properly.
Diffstat (limited to 'lib/auth_dhe.c')
-rw-r--r--lib/auth_dhe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_dhe.c b/lib/auth_dhe.c
index e597b770b4..7bec8731c2 100644
--- a/lib/auth_dhe.c
+++ b/lib/auth_dhe.c
@@ -394,7 +394,7 @@ static int proc_dhe_server_kx(GNUTLS_STATE state, opaque * data,
case GNUTLS_CRT_X509:
if ((ret =
_gnutls_x509_cert2gnutls_cert( &peer_cert,
- info->raw_certificate_list[0], CERT_ONLY_PUBKEY|CERT_NO_COPY)) < 0) {
+ info->raw_certificate_list[0], CERT_NO_COPY)) < 0) {
gnutls_assert();
return ret;
}