ea00485367
Took some time to do this release, and the fixes are numerous, an upgrade is highly recommended. Major changes include an increased header limit, which fixes inter-operation with some versions of lynx; a fix for a crash when trying to access user pages of people who do not actually exist (ie, /~badusername). On the new features front, the -U option now accepts usernames too, not just user ids.
33 lines
1,003 B
Text
33 lines
1,003 B
Text
$NetBSD: patch-aa,v 1.1 2005/09/06 15:19:31 adam Exp $
|
|
|
|
--- src/tls.c.orig 2005-09-06 17:06:05.000000000 +0000
|
|
+++ src/tls.c
|
|
@@ -453,10 +453,6 @@ _thy_tls_session_create (void)
|
|
|
|
gnutls_handshake_set_private_extensions (session, 1);
|
|
|
|
- if (cert_type == THY_TLS_CERT_TYPE_X509)
|
|
- gnutls_certificate_server_set_select_function
|
|
- (session, (gnutls_certificate_server_select_function *)
|
|
- _thy_tls_session_cert_select);
|
|
|
|
return session;
|
|
}
|
|
@@ -502,7 +498,7 @@ thy_rsa_params_generate (void)
|
|
bhc_exit (3);
|
|
}
|
|
|
|
- gnutls_certificate_set_rsa_params (cred, rsa_params);
|
|
+ gnutls_certificate_set_rsa_export_params (cred, rsa_params);
|
|
|
|
return 0;
|
|
}
|
|
@@ -794,7 +790,7 @@ thy_tls_reinit (int dh_gen)
|
|
thy_rsa_params_generate ();
|
|
|
|
gnutls_certificate_set_dh_params (cred, dh_params);
|
|
- gnutls_certificate_set_rsa_params (cred, rsa_params);
|
|
+ gnutls_certificate_set_rsa_export_params (cred, rsa_params);
|
|
}
|
|
|
|
/** @internal Wrapper around gnutls_cipher_suite_get_name().
|