summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/messages.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/messages.c b/utils/messages.c
index 5525e18cc..418276ec3 100644
--- a/utils/messages.c
+++ b/utils/messages.c
@@ -445,6 +445,10 @@ const char *messages_get_sslcode(ssl_cert_err code)
/* Common name is invalid */
return messages_get_ctx("SSLCertErrHostnameMismatch", messages_hash);
+ case SSL_CERT_ERR_CERT_MISSING:
+ /* Common name is invalid */
+ return messages_get_ctx("SSLCertErrCertMissing", messages_hash);
+
}
/* The switch has no default, so the compiler should tell us when we