Fix missing include of string.h in apps/lib/engine.c for strcmp.
authorRandall S. Becker <rsbecker@nexbridge.com>
Fri, 9 Oct 2020 15:27:20 +0000 (09:27 -0600)
committerMatt Caswell <matt@openssl.org>
Fri, 16 Oct 2020 07:23:35 +0000 (08:23 +0100)
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)

apps/lib/engine.c

index e6682f5e8fae9ad33eb400e2209fbfba756c43c5..f47c94fbce0c6eb9f2e95f05fb9a72def80128a0 100644 (file)
@@ -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>