From fa93508af9779c2f13a923d149add971198272b7 Mon Sep 17 00:00:00 2001 From: Jon Ribbens Date: Fri, 8 May 2015 18:46:57 +0100 Subject: [PATCH] fix typo in error message --- sslexpiry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sslexpiry.py b/sslexpiry.py index 486f738..45e3193 100755 --- a/sslexpiry.py +++ b/sslexpiry.py @@ -205,7 +205,7 @@ def check_server(server, certs_file, days, timeout, verbose): expiry.strftime("%d %b %Y"), signature.decode("iso-8859-1")) now = datetime.datetime.now() if expiry <= now: - return "Certificated expired on {}!".format(expiry.strftime("%d %b %Y")) + return "Certificate expired on {}!".format(expiry.strftime("%d %b %Y")) remaining = expiry - now if remaining.days <= days: return "Expiry date is {} - {} day(s) from now".format(