Fix for memcpy() and strcmp() being undefined.
authorBjoern D. Rasmussen <contact@bearware.dk>
Sun, 10 May 2015 05:51:29 +0000 (07:51 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 11 May 2015 11:05:53 +0000 (12:05 +0100)
clang says: "s_cb.c:958:9: error: implicitly declaring library function
'memcpy'"

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 8f744cceff5bce8cb00a6ddd739c1bbb85c142ea)

Conflicts:
apps/s_cb.c

apps/s_cb.c

index 9ab11cf0544db7008a4b07df615f3372dc820fe1..fabf9cfb22223a7998dd89b1056ac580e387ea38 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h> /* for memcpy() */
 #define USE_SOCKETS
 #define NON_MAIN
 #include "apps.h"