summaryrefslogtreecommitdiffstats
path: root/lib/utils_base.h
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-03-12 11:14:41 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-04-17 22:32:43 (GMT)
commit7c98e2b345b91d8ef3fb1f7a1bcf74194d54c966 (patch)
tree15930ae208f7354ffd7989f68fcbcfc3d4e0bdce /lib/utils_base.h
parent8700f497160cfc2cce8918c8cd8922b7320c510a (diff)
downloadmonitoring-plugins-7c98e2b345b91d8ef3fb1f7a1bcf74194d54c966.tar.gz
Use default OPENSSL sha functions if available
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r--lib/utils_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h
index 5906550..9cb4276 100644
--- a/lib/utils_base.h
+++ b/lib/utils_base.h
@@ -2,7 +2,9 @@
2#define _UTILS_BASE_ 2#define _UTILS_BASE_
3/* Header file for Monitoring Plugins utils_base.c */ 3/* Header file for Monitoring Plugins utils_base.c */
4 4
5#include "sha256.h" 5#ifndef USE_OPENSSL
6# include "sha256.h"
7#endif
6 8
7/* This file holds header information for thresholds - use this in preference to 9/* This file holds header information for thresholds - use this in preference to
8 individual plugin logic */ 10 individual plugin logic */