1 /* @(#) $Id: ./src/os_auth/auth.h, 2011/09/08 dcid Exp $
4 /* Copyright (C) 2009 Trend Micro Inc.
7 * This program is a free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General Public
9 * License (version 2) as published by the FSF - Free Software
12 * In addition, as a special exception, the copyright holders give
13 * permission to link the code of portions of this program with the
14 * OpenSSL library under certain conditions as described in each
15 * individual source file, and distribute linked combinations
18 * You must obey the GNU General Public License in all respects
19 * for all of the code used other than OpenSSL. If you modify
20 * file(s) with this exception, you may extend this exception to your
21 * version of the file(s), but you are not obligated to do so. If you
22 * do not wish to do so, delete this exception statement from your
23 * version. If you delete this exception statement from all source
24 * files in the program, then also delete it here.
33 #define ARGV0 "ossec-authd"
38 #include <sys/types.h>
43 void *os_ssl_keys(int isclient, char *dir);
45 #include <openssl/ssl.h>
46 #include <openssl/err.h>
47 #include <openssl/bio.h>
48 #include "os_net/os_net.h"
49 #include "addagent/manage_agents.h"
52 #define KEYFILE "/etc/sslmanager.key"
53 #define CERTFILE "/etc/sslmanager.cert"