Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: James Yonan <james@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
#include "ps.h"
#ifdef USE_CRYPTO
+#ifdef USE_OPENSSL
#include <openssl/err.h>
#endif
+#endif
#include "memdbg.h"
}
#ifdef USE_CRYPTO
+#ifdef USE_OPENSSL
if (flags & M_SSL)
{
int nerrs = 0;
SWAP;
}
}
+#endif
#endif
if (flags & M_OPTERR)
#define M_ERRNO (1<<8) /* show errno description */
#define M_ERRNO_SOCK (1<<9) /* show socket errno description */
-#define M_SSL (1<<10) /* show SSL error */
+
+#ifdef USE_OPENSSL
+# define M_SSL (1<<10) /* show SSL error */
+#endif
+
#define M_NOMUTE (1<<11) /* don't do mute processing */
#define M_NOPREFIX (1<<12) /* don't show date/time prefix */
#define M_USAGE_SMALL (1<<13) /* fatal options error, call usage_small */