TLS upgrades we don't really care about the identity of the peer.
(proto-stream-open-network): Force starttls.el to use gnutls-cli, since
that what we've checked for.
+ (proto-stream-always-use-starttls): Only default to t if
+ open-gnutls-stream exists.
+ (proto-stream-open-network): If STARTTLS failed, then just open a
+ normal connection.
* nntp.el (nntp-open-connection): Report what the connection error is.
* nntp.el (nntp-open-connection): Use proto-streams for the relevant
connections types.
- (nntp-open-network-stream): Removed.
- (nntp-open-ssl-stream): Removed.
- (nntp-open-tls-stream): Removed.
- (nntp-ssl-program): Removed.
+ (nntp-open-network-stream): Remove.
+ (nntp-open-ssl-stream): Remove.
+ (nntp-open-tls-stream): Remove.
+ (nntp-ssl-program): Remove.
* nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.