Files
pkgsrc-ng/www/lhs/patches/patch-ab
2016-11-18 22:39:22 +01:00

24 lines
520 B
Plaintext

$NetBSD: patch-ab,v 1.3 2016/03/26 23:05:10 joerg Exp $
--- lhs.h.orig 2001-02-25 14:48:00.000000000 +0000
+++ lhs.h
@@ -7,14 +7,17 @@
#define VERSION "lhs/0.1"
+#ifndef DEFAULT_ROOT_DIR
#define DEFAULT_ROOT_DIR "/home/httpd/html"
+#endif
+
#define DEFAULT_HTTP_PORT 8000
#define DEFAULT_HTTPS_PORT 8001
#define DEFAULT_MAX_SOCKS 50
#ifdef USE_SSL
#include <openssl/ssl.h>
-#define DEFAULT_SSL_PROTOCOL SSL2_VERSION
+#define DEFAULT_SSL_PROTOCOL TLS1_VERSION
#define DEFAULT_CERT_FILE "lhs.pem"
#endif