Skip to content

Commit

Permalink
Hot fix for version 2.59 (bug fix for --ignore-host-name)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocorti committed Feb 15, 2023
1 parent 9856c0e commit 02414cc
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ authors:
given-names: "Дилян"
website: https://github.com/dilyanpalauzov
title: "check_ssl_cert"
version: 2.59.0
version: 2.60.0
date-released: 2023-02-15
url: "https://github.com/matteocorti/check_ssl_cert"
repository-code: "https://github.com/matteocorti/check_ssl_cert"
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-02-15 Matteo Corti <[email protected]>

* check_ssl_cert (main): Fixes --ignore-host-cn behaviour with --match

2023-01-27 Matteo Corti <[email protected]>

* check_ssl_cert (main): System info debugging right at the beginning
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# News

* 2023-02-15 Version 2.60.0
* Hot fix for version 2.59 (bug fix for ```--ignore-host-name```)
* 2023-02-15 Version 2.59.0
* Fixes ```--ignore-host-cn``` behaviour with ```--match```
* 2023-01-16 Version 2.58.0
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Release notes

Fixes ```--ignore-host-cn``` behaviour with ```--match```
Hot fix for version 2.59 (bug fix for ```--ignore-host-name```)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.59.0
2.60.0
4 changes: 2 additions & 2 deletions check_ssl_cert
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
################################################################################
# Constants

VERSION=2.59.0
VERSION=2.60.0
SHORTNAME="SSL_CERT"

VALID_ATTRIBUTES=",startdate,enddate,subject,issuer,modulus,serial,hash,email,ocsp_uri,fingerprint,"
Expand Down Expand Up @@ -4271,7 +4271,7 @@ main() {
esac
debuglog "NAMES_TO_BE_CHECKED = ${NAMES_TO_BE_CHECKED}"

if [ -n "${ALTNAMES}" ] && [ -z "${NAMES_TO_BE_CHECKED}" ] && [ "${HOST_IS_IP}" -eq 0 ]; then
if [ -n "${ALTNAMES}" ] && [ -z "${IGNORE_HOST_CN}" ] && [ -z "${NAMES_TO_BE_CHECKED}" ] && [ "${HOST_IS_IP}" -eq 0 ]; then
unknown "--altnames requires a common name to match (--cn or --host-cn)"
fi

Expand Down
2 changes: 1 addition & 1 deletion check_ssl_cert.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii check_ssl_cert.1
.\"
.TH "check_ssl_cert" 1 "February, 2023" "2.59.0" "USER COMMANDS"
.TH "check_ssl_cert" 1 "February, 2023" "2.60.0" "USER COMMANDS"
.SH NAME
check_ssl_cert \- checks the validity of X.509 certificates
.SH SYNOPSIS
Expand Down
5 changes: 4 additions & 1 deletion check_ssl_cert.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%global version 2.59.0
%global version 2.60.0
%global release 0
%global sourcename check_ssl_cert
%global packagename nagios-plugins-check_ssl_cert
Expand Down Expand Up @@ -54,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%endif

%changelog
* Wed Feb 15 2023 Matteo Corti <[email protected]> - 2.60.0-0
- Updated to 2.60.0

* Wed Feb 15 2023 Matteo Corti <[email protected]> - 2.59.0-0
- Updated to 2.59.0

Expand Down
Binary file modified varia/check_ssl_cert_stats.xlsx
Binary file not shown.

0 comments on commit 02414cc

Please sign in to comment.