From: Rich Salz Date: Thu, 4 Sep 2014 21:15:42 +0000 (-0400) Subject: RT3108: OPENSSL_NO_SOCK should imply OPENSSL_NO_DGRAM X-Git-Tag: OpenSSL_1_0_2-beta3~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45236ed6a4639ae8c33ce8e8a7dff33ad727e993;p=openssl RT3108: OPENSSL_NO_SOCK should imply OPENSSL_NO_DGRAM Reviewed-by: Dr. Stephen Henson (cherry picked from commit be0bd11d698677bb7dde14cde73af098da94da18) --- diff --git a/e_os.h b/e_os.h index bfd7e36a19..a7eb594858 100644 --- a/e_os.h +++ b/e_os.h @@ -496,6 +496,10 @@ static unsigned int _strlen31(const char *str) /*************/ +#if defined(OPENSSL_NO_SOCK) && !defined(OPENSSL_NO_DGRAM) +# define OPENSSL_NO_DGRAM +#endif + #ifdef USE_SOCKETS # if defined(WINDOWS) || defined(MSDOS) /* windows world */