Skip to content

Commit 341b581

Browse files
committed
Small spell / syntax fixes
1 parent 0ae50f3 commit 341b581

9 files changed

+16
-11
lines changed

CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ authors:
266266
given-names: "Дилян"
267267
website: https://github.com/dilyanpalauzov
268268
title: "check_ssl_cert"
269-
version: 2.81.0
270-
date-released: 2024-03-27
269+
version: 2.81.1
270+
date-released: 2024-05-28
271271
url: "https://github.com/matteocorti/check_ssl_cert"
272272
repository-code: "https://github.com/matteocorti/check_ssl_cert"
273273
keywords:

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as
66
contributors and maintainers pledge to making participation in our project and
77
our community a harassment-free experience for everyone, regardless of age, body
88
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
9+
level of experience, education, socioeconomic status, nationality, personal
1010
appearance, race, religion, or sexual identity and orientation.
1111

1212
## Our Standards

NEWS.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* Better error handling in subroutines
44

5+
* 2024-05-28 Version 2.81.1
6+
* Fix in the Icinga2 configuration file
57
* 2024-03-27 Version 2.81.0
68
* Support for SNI with nmap
79
* Added the ```--fingerprint-alg``` option to specify which algorithm to be used with --fingerprint.

RELEASE_NOTES.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* Support for SNI with nmap
2-
* Added the ```--fingerprint-alg``` option to specify which algorithm to be used with --fingerprint.
1+
Fix in the Icinga2 configuration file

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.81.0
1+
2.81.1

check_ssl_cert

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
################################################################################
2727
# Constants
2828

29-
VERSION=2.81.0
29+
VERSION=2.81.1
3030
SHORTNAME="SSL_CERT"
3131

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

46994699
if grep -q '"Status":0' "${DNS_OVER_HTTP}" ; then
4700-
debuglog "Reolved via HTTP"
4700+
debuglog "Resolved via HTTP"
47014701
else
47024702
critical "${SHORTNAME} CRITICAL: Cannot resolve ${HOST} over HTTP using ${RESOLVE_OVER_HTTP}"
47034703
fi

check_ssl_cert.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" Process this file with
22
.\" groff -man -Tascii check_ssl_cert.1
33
.\"
4-
.TH "check_ssl_cert" 1 "March, 2024" "2.81.0" "USER COMMANDS"
4+
.TH "check_ssl_cert" 1 "May, 2024" "2.81.1" "USER COMMANDS"
55
.SH NAME
66
check_ssl_cert \- checks the validity of X.509 certificates
77
.SH SYNOPSIS

check_ssl_cert.spec

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%global version 2.81.0
1+
%global version 2.81.1
22
%global release 0
33
%global sourcename check_ssl_cert
44
%global packagename nagios-plugins-check_ssl_cert
@@ -54,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
5454
%endif
5555

5656
%changelog
57+
* Tue May 28 2024 Matteo Corti <[email protected]> - 2.81.1-0
58+
- Updated to 2.81.1
59+
5760
* Sun Mar 17 2024 Matteo Corti <[email protected]> - 2.81.0-0
5861
- Updated to 2.81.0
5962

test/unit_tests.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ testMissingArgument2() {
361361

362362
testGroupedVariables() {
363363
# shellcheck disable=SC2086
364-
${SCRIPT} ${TEST_DEBUG} --rootcert-file cabundle.crt -H www.google.com -vvv >/dev/null 2>&1
364+
${SCRIPT} ${TEST_DEBUG} --rootcert-file cabundle.crt -H www.google.com -vvv
365+
# >/dev/null 2>&1
365366
EXIT_CODE=$?
366367
assertEquals "wrong exit code" "${NAGIOS_OK}" "${EXIT_CODE}"
367368
}

0 commit comments

Comments
 (0)