diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-06-10 14:49:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-10 14:49:33 +0200 |
| commit | f8aad020f7c0be604da8981663b6d815f94ffaa4 (patch) | |
| tree | e1c7bdeff275778b4dd324d26e826c861d143b48 /plugins/sslutils.c | |
| parent | 47b1b2d754d4809006f6dc1aa13ba9c80405975c (diff) | |
| download | monitoring-plugins-f8aad020f7c0be604da8981663b6d815f94ffaa4.tar.gz | |
Run clang-format on everything once again (#2275)
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
Diffstat (limited to 'plugins/sslutils.c')
| -rw-r--r-- | plugins/sslutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index bcfb08d6..9151f722 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
| @@ -410,7 +410,8 @@ retrieve_expiration_time_result np_net_ssl_get_cert_expiration(X509 *certificate | |||
| 410 | # endif /* MOPL_USE_OPENSSL */ | 410 | # endif /* MOPL_USE_OPENSSL */ |
| 411 | } | 411 | } |
| 412 | 412 | ||
| 413 | net_ssl_check_cert_result np_net_ssl_check_cert2(unsigned int days_till_exp_warn, unsigned int days_till_exp_crit) { | 413 | net_ssl_check_cert_result np_net_ssl_check_cert2(unsigned int days_till_exp_warn, |
| 414 | unsigned int days_till_exp_crit) { | ||
| 414 | # ifdef MOPL_USE_OPENSSL | 415 | # ifdef MOPL_USE_OPENSSL |
| 415 | X509 *certificate = NULL; | 416 | X509 *certificate = NULL; |
| 416 | certificate = SSL_get_peer_certificate(s); | 417 | certificate = SSL_get_peer_certificate(s); |
