diff options
-rw-r--r-- | starttls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ int must_starttls(struct query *ctl) { #ifdef SSL_ENABLE return maybe_starttls(ctl) && (ctl->sslfingerprint || ctl->sslcertck - || (ctl->sslproto && !strcasecmp(ctl->sslproto, "tls1"))); + || (ctl->sslproto && ctl->sslproto[0])); #else (void)ctl; return 0; |