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: master-post-reformat~403 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be0bd11d698677bb7dde14cde73af098da94da18;p=oweals%2Fopenssl.git RT3108: OPENSSL_NO_SOCK should imply OPENSSL_NO_DGRAM Reviewed-by: Dr. Stephen Henson --- diff --git a/e_os.h b/e_os.h index ced9483ab0..27b18256b6 100644 --- a/e_os.h +++ b/e_os.h @@ -499,6 +499,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 */