diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-06-29 14:53:41 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-22 11:32:40 +0200 |
commit | 71ebd84debcea72d5b86861aca33553eb435126c (patch) | |
tree | e61bffba7f9a307dc63f5aee5e2fd87e13392bb7 /error.c | |
parent | 9fb45319cba1f99ffe5538243a4e735191504cc8 (diff) | |
download | openvpn-71ebd84debcea72d5b86861aca33553eb435126c.tar.gz openvpn-71ebd84debcea72d5b86861aca33553eb435126c.tar.xz openvpn-71ebd84debcea72d5b86861aca33553eb435126c.zip |
Refactored: made M_SSL dependent on USE_OPENSSL
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>
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,8 +37,10 @@ #include "ps.h" #ifdef USE_CRYPTO +#ifdef USE_OPENSSL #include <openssl/err.h> #endif +#endif #include "memdbg.h" @@ -244,6 +246,7 @@ void x_msg (const unsigned int flags, const char *format, ...) } #ifdef USE_CRYPTO +#ifdef USE_OPENSSL if (flags & M_SSL) { int nerrs = 0; @@ -262,6 +265,7 @@ void x_msg (const unsigned int flags, const char *format, ...) } } #endif +#endif if (flags & M_OPTERR) { |