Commit a555cb87 authored by Juanma Barranquero's avatar Juanma Barranquero

src/gnutls.c: Remove bogus references to :verify-error.

* gnutls.c (Fgnutls_boot): Don't mention :verify-error.
  (syms_of_gnutls): Remove duplicate DEFSYM for
  Qgnutls_bootprop_verify_hostname_error, an error for
  Qgnutls_bootprop_verify_error (which is no longer used).
parent bb9e218d
2011-07-04 Juanma Barranquero <lekktu@gmail.com>
* gnutls.c (Fgnutls_boot): Don't mention :verify-error.
(syms_of_gnutls): Remove duplicate DEFSYM for
Qgnutls_bootprop_verify_hostname_error, an error for
Qgnutls_bootprop_verify_error (which is no longer used).
* eval.c (find_handler_clause): Remove parameters `sig' and `data',
unused since 2011-01-26T20:02:07Z!monnier@iro.umontreal.ca. All callers changed.
Also (re)move comments that are misplaced or no longer relevant.
......
......@@ -638,9 +638,6 @@ certificates for `gnutls-x509pki'.
:verify-flags is a bitset as per GnuTLS'
gnutls_certificate_set_verify_flags.
:verify-error, if non-nil, makes failure of the certificate validation
an error. Otherwise it will be just a series of warnings.
:verify-hostname-error, if non-nil, makes a hostname mismatch an
error. Otherwise it will be just a warning.
......@@ -1100,36 +1097,35 @@ syms_of_gnutls (void)
{
gnutls_global_initialized = 0;
DEFSYM(Qgnutls_dll, "gnutls");
DEFSYM(Qgnutls_log_level, "gnutls-log-level");
DEFSYM(Qgnutls_code, "gnutls-code");
DEFSYM(Qgnutls_anon, "gnutls-anon");
DEFSYM(Qgnutls_x509pki, "gnutls-x509pki");
DEFSYM(Qgnutls_bootprop_hostname, ":hostname");
DEFSYM(Qgnutls_bootprop_priority, ":priority");
DEFSYM(Qgnutls_bootprop_trustfiles, ":trustfiles");
DEFSYM(Qgnutls_bootprop_keylist, ":keylist");
DEFSYM(Qgnutls_bootprop_crlfiles, ":crlfiles");
DEFSYM(Qgnutls_bootprop_callbacks, ":callbacks");
DEFSYM(Qgnutls_bootprop_callbacks_verify, "verify");
DEFSYM(Qgnutls_bootprop_loglevel, ":loglevel");
DEFSYM(Qgnutls_bootprop_verify_flags, ":verify-flags");
DEFSYM(Qgnutls_bootprop_verify_hostname_error, ":verify-error");
DEFSYM(Qgnutls_bootprop_verify_hostname_error, ":verify-hostname-error");
DEFSYM(Qgnutls_e_interrupted, "gnutls-e-interrupted");
DEFSYM (Qgnutls_dll, "gnutls");
DEFSYM (Qgnutls_log_level, "gnutls-log-level");
DEFSYM (Qgnutls_code, "gnutls-code");
DEFSYM (Qgnutls_anon, "gnutls-anon");
DEFSYM (Qgnutls_x509pki, "gnutls-x509pki");
DEFSYM (Qgnutls_bootprop_hostname, ":hostname");
DEFSYM (Qgnutls_bootprop_priority, ":priority");
DEFSYM (Qgnutls_bootprop_trustfiles, ":trustfiles");
DEFSYM (Qgnutls_bootprop_keylist, ":keylist");
DEFSYM (Qgnutls_bootprop_crlfiles, ":crlfiles");
DEFSYM (Qgnutls_bootprop_callbacks, ":callbacks");
DEFSYM (Qgnutls_bootprop_callbacks_verify, "verify");
DEFSYM (Qgnutls_bootprop_loglevel, ":loglevel");
DEFSYM (Qgnutls_bootprop_verify_flags, ":verify-flags");
DEFSYM (Qgnutls_bootprop_verify_hostname_error, ":verify-hostname-error");
DEFSYM (Qgnutls_e_interrupted, "gnutls-e-interrupted");
Fput (Qgnutls_e_interrupted, Qgnutls_code,
make_number (GNUTLS_E_INTERRUPTED));
DEFSYM(Qgnutls_e_again, "gnutls-e-again");
DEFSYM (Qgnutls_e_again, "gnutls-e-again");
Fput (Qgnutls_e_again, Qgnutls_code,
make_number (GNUTLS_E_AGAIN));
DEFSYM(Qgnutls_e_invalid_session, "gnutls-e-invalid-session");
DEFSYM (Qgnutls_e_invalid_session, "gnutls-e-invalid-session");
Fput (Qgnutls_e_invalid_session, Qgnutls_code,
make_number (GNUTLS_E_INVALID_SESSION));
DEFSYM(Qgnutls_e_not_ready_for_handshake, "gnutls-e-not-ready-for-handshake");
DEFSYM (Qgnutls_e_not_ready_for_handshake, "gnutls-e-not-ready-for-handshake");
Fput (Qgnutls_e_not_ready_for_handshake, Qgnutls_code,
make_number (GNUTLS_E_APPLICATION_ERROR_MIN));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment