Variable: starttls-failure

starttls-failure is a customizable variable defined in starttls.el.gz.

Value

"\\*\\*\\* Handshake has failed"

Documentation

Regular expression indicating failed TLS handshake.

The default is what GnuTLS's "gnutls-cli" outputs.

This variable was added, or its default value changed, in Emacs 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/starttls.el.gz
(defcustom starttls-failure "\\*\\*\\* Handshake has failed"
  "Regular expression indicating failed TLS handshake.
The default is what GnuTLS's \"gnutls-cli\" outputs."
  ;; GnuTLS cli.c:do_handshake() prints this string on failure.  If the
  ;; logic, or the string itself, is modified, this must be updated.
  :version "22.1"
  :type 'regexp)