Skip to content

Commit

Permalink
Small spell / syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocorti committed May 28, 2024
1 parent 0ae50f3 commit 341b581
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ authors:
given-names: "Дилян"
website: https://github.com/dilyanpalauzov
title: "check_ssl_cert"
version: 2.81.0
date-released: 2024-03-27
version: 2.81.1
date-released: 2024-05-28
url: "https://github.com/matteocorti/check_ssl_cert"
repository-code: "https://github.com/matteocorti/check_ssl_cert"
keywords:
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
level of experience, education, socioeconomic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

* Better error handling in subroutines

* 2024-05-28 Version 2.81.1
* Fix in the Icinga2 configuration file
* 2024-03-27 Version 2.81.0
* Support for SNI with nmap
* Added the ```--fingerprint-alg``` option to specify which algorithm to be used with --fingerprint.
Expand Down
3 changes: 1 addition & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* Support for SNI with nmap
* Added the ```--fingerprint-alg``` option to specify which algorithm to be used with --fingerprint.
Fix in the Icinga2 configuration file
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.81.0
2.81.1
4 changes: 2 additions & 2 deletions check_ssl_cert
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
################################################################################
# Constants

VERSION=2.81.0
VERSION=2.81.1
SHORTNAME="SSL_CERT"

VALID_ATTRIBUTES=",startdate,enddate,subject,issuer,modulus,serial,hash,email,ocsp_uri,fingerprint,"
Expand Down Expand Up @@ -4697,7 +4697,7 @@ main() {
fi

if grep -q '"Status":0' "${DNS_OVER_HTTP}" ; then
debuglog "Reolved via HTTP"
debuglog "Resolved via HTTP"
else
critical "${SHORTNAME} CRITICAL: Cannot resolve ${HOST} over HTTP using ${RESOLVE_OVER_HTTP}"
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 "March, 2024" "2.81.0" "USER COMMANDS"
.TH "check_ssl_cert" 1 "May, 2024" "2.81.1" "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.81.0
%global version 2.81.1
%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
* Tue May 28 2024 Matteo Corti <matteo@corti.li> - 2.81.1-0
- Updated to 2.81.1

* Sun Mar 17 2024 Matteo Corti <matteo@corti.li> - 2.81.0-0
- Updated to 2.81.0

Expand Down
3 changes: 2 additions & 1 deletion test/unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ testMissingArgument2() {

testGroupedVariables() {
# shellcheck disable=SC2086
${SCRIPT} ${TEST_DEBUG} --rootcert-file cabundle.crt -H www.google.com -vvv >/dev/null 2>&1
${SCRIPT} ${TEST_DEBUG} --rootcert-file cabundle.crt -H www.google.com -vvv
# >/dev/null 2>&1
EXIT_CODE=$?
assertEquals "wrong exit code" "${NAGIOS_OK}" "${EXIT_CODE}"
}
Expand Down

0 comments on commit 341b581

Please sign in to comment.