diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/ssl.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -26,7 +26,7 @@ BINDIR := $(DESTDIR)$(PREFIX)/sbin MODS := astmanproxy config config_perms common proxyfunc log ssl md5 HANDLERS := xml standard csv http SOBJS := $(HANDLERS:%=%.so) -LIBS := ssl +LIBS := -lssl ifeq (${OSARCH},Darwin) LIBS+=-lresolv @@ -59,7 +59,7 @@ VPATH = src # Add -g below for debug/GDB symbols #CFLAGS+= $(DEFINES) -Wall -O2 -dynamic -D_REENTRANT -fPIC -CFLAGS+= $(DEFINES) -Wall -O2 -D_REENTRANT -fPIC -Isrc/include -I- +CFLAGS+= $(DEFINES) -Wall -O2 -D_REENTRANT -fPIC -Isrc/include -I/usr/include/openssl -I- # For printing only SRCS := $(MODS:%=%.c) @@ -289,12 +289,12 @@ int is_encrypt_request(int sslclhellotimeout, int fd) if ((buf[0x00] == 0x16) && (buf[0x01] == 0x03) && /* for tls buf[0x02] = 0x01 and ssl v3 buf[0x02] = 0x02 */ ((buf[0x02] == 0x00) || (buf[0x02] == 0x01))) { - if (option_debug > 1) + if (debug) debugmsg("Received a SSL request\n"); return 1; /* check for sslv23_client_method */ } else if ((buf[0x02] == 0x01) && (buf[0x03] == 0x03) && (buf[0x04] == 0x01)) { - if (option_debug > 1) + if (debug) debugmsg("Received a SSL request for SSLv23_client_method()\n"); return 1; } |