summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2020-10-09 09:27:20 -0600
committerMatt Caswell <matt@openssl.org>2020-10-16 08:23:35 +0100
commit192d4b9ca6d7603ace714f7a21111d35be311170 (patch)
tree412bdef15b852d9be477c30f57d83ea6b86f5e8b /apps
parentf4bd510503071e20472032dc9d053810a1937e95 (diff)
Fix missing include of string.h in apps/lib/engine.c for strcmp.
This include is required for c99 on the NonStop TNS/X platform. CLA: trivial Fixes #13102 Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13103)
Diffstat (limited to 'apps')
-rw-r--r--apps/lib/engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/lib/engine.c b/apps/lib/engine.c
index e6682f5e8f..f47c94fbce 100644
--- a/apps/lib/engine.c
+++ b/apps/lib/engine.c
@@ -14,6 +14,8 @@
*/
#define OPENSSL_SUPPRESS_DEPRECATED
+#include <string.h> /* strcmp */
+
#include <openssl/types.h> /* Ensure we have the ENGINE type, regardless */
#ifndef OPENSSL_NO_ENGINE
# include <openssl/engine.h>