The secrect plan is to add it later using the ressl wrapper library.
-# $OpenBSD: Makefile,v 1.22 2014/07/31 09:23:53 florian Exp $
+# $OpenBSD: Makefile,v 1.23 2014/08/04 11:09:25 reyk Exp $
PROG= httpd
SRCS= parse.y
SRCS+= server.c server_http.c server_file.c server_fcgi.c
MAN= httpd.8 httpd.conf.5
-LDADD= -levent -lssl -lcrypto -lutil
-DPADD= ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
+LDADD= -levent -lutil
+DPADD= ${LIBEVENT} ${LIBUTIL}
#DEBUG= -g -DDEBUG=3
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-/* $OpenBSD: config.c,v 1.12 2014/08/03 11:16:10 reyk Exp $ */
+/* $OpenBSD: config.c,v 1.13 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <event.h>
#include <limits.h>
#include <stdint.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <netdb.h>
#include <string.h>
#include <ifaddrs.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
int config_getserver_config(struct httpd *, struct server *,
-/* $OpenBSD: control.c,v 1.2 2014/08/04 06:35:31 deraadt Exp $ */
+/* $OpenBSD: control.c,v 1.3 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
#include <unistd.h>
#include <signal.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
#define CONTROL_BACKLOG 5
-/* $OpenBSD: httpd.c,v 1.12 2014/08/02 09:54:13 reyk Exp $ */
+/* $OpenBSD: httpd.c,v 1.13 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
#include <sha1.h>
#include <md5.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
__dead void usage(void);
-/* $OpenBSD: log.c,v 1.1 2014/07/12 23:34:54 reyk Exp $ */
+/* $OpenBSD: log.c,v 1.2 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
#include <netdb.h>
#include <ctype.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
int debug;
-/* $OpenBSD: parse.y,v 1.19 2014/08/03 20:43:03 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.20 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <ifaddrs.h>
#include <syslog.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
#include "http.h"
-/* $OpenBSD: proc.c,v 1.2 2014/08/04 06:35:10 deraadt Exp $ */
+/* $OpenBSD: proc.c,v 1.3 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2010 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <pwd.h>
#include <event.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
void proc_open(struct privsep *, struct privsep_proc *,
-/* $OpenBSD: server.c,v 1.24 2014/08/03 20:43:03 reyk Exp $ */
+/* $OpenBSD: server.c,v 1.25 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <event.h>
#include <fnmatch.h>
-#include <openssl/dh.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
int server_dispatch_parent(int, struct privsep_proc *,
-/* $OpenBSD: server_fcgi.c,v 1.18 2014/08/03 22:06:51 florian Exp $ */
+/* $OpenBSD: server_fcgi.c,v 1.19 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
#include <err.h>
#include <event.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
#include "http.h"
-/* $OpenBSD: server_file.c,v 1.27 2014/08/03 22:47:25 reyk Exp $ */
+/* $OpenBSD: server_file.c,v 1.28 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <err.h>
#include <event.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
#include "http.h"
-/* $OpenBSD: server_http.c,v 1.35 2014/08/04 06:35:10 deraadt Exp $ */
+/* $OpenBSD: server_http.c,v 1.36 2014/08/04 11:09:25 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
#include <event.h>
#include <fnmatch.h>
-#include <openssl/ssl.h>
-
#include "httpd.h"
#include "http.h"