From b8b5308cae709adc7b92263ac61594c76949364e Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Thu, 22 Feb 2007 03:32:41 +0000 Subject: Add layer 7 functionality to hoststated used for layer 7 loadbalancing, SSL acceleration, general-purpose TCP relaying, and transparent proxying. see hoststated.conf(5) and my upcoming article on undeadly.org for details. ok to commit deraadt@ pyr@ --- usr.sbin/relayd/ssl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'usr.sbin/relayd/ssl.c') diff --git a/usr.sbin/relayd/ssl.c b/usr.sbin/relayd/ssl.c index ddac5c5974c..cf5016d69e7 100644 --- a/usr.sbin/relayd/ssl.c +++ b/usr.sbin/relayd/ssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.c,v 1.6 2007/02/08 13:32:24 reyk Exp $ */ +/* $OpenBSD: ssl.c,v 1.7 2007/02/22 03:32:40 reyk Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard @@ -32,6 +32,7 @@ #include #include +#include #include "hoststated.h" @@ -250,6 +251,10 @@ ssl_init(struct hoststated *env) { SSL_library_init(); SSL_load_error_strings(); + + /* Init hardware crypto engines. */ + ENGINE_load_builtin_engines(); + ENGINE_register_all_complete(); } void -- cgit v1.2.3