# HG changeset patch # User Matthias Förste # Date 1546862712 -3600 # Node ID aeb27519c4739ab864476f8f9c2a6adbbd174463 # Parent a68b32758059d47e2e09ae226a8a9b18d8680571 fix daylight saving time related bug diff -r a68b32758059 -r aeb27519c473 check_cert.pl --- a/check_cert.pl Mon Jan 07 13:00:25 2019 +0100 +++ b/check_cert.pl Mon Jan 07 13:05:12 2019 +0100 @@ -22,6 +22,8 @@ $opt_b = "/usr/bin/openssl"; $opt_s = "md5WithRSAEncryption"; +my $revision = '1.2.2'; + Getopt::Long::Configure('bundling'); GetOptions( "V" => \$opt_V, @@ -41,7 +43,7 @@ ); if ($opt_V) { - print_revision( $ME, "1.2" ); + print_revision( $ME, $revision ); exit $ERRORS{"OK"}; } @@ -207,8 +209,9 @@ } sub print_help() { - print_revision( $ME, "1.2" ); - print "Copyright (c) 2010 Christian Arnold\n\n"; + print_revision( $ME, $revision ); + print "Copyright (c) 2010 Christian Arnold\n"; + print "Copyright (c) 2019 Matthias Förste\n\n"; print "This plugin checks the expire date for openssl certificates.\n\n"; print_usage(); print "\n";