From e0c9e33cc484025e2b80bec19f7130554e9e3781 Mon Sep 17 00:00:00 2001 From: venaas Date: Mon, 22 Dec 2008 13:14:41 +0000 Subject: moved more code to tlscommon, fixed a couple of minor lint warnings git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@447 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'radsecproxy.h') diff --git a/radsecproxy.h b/radsecproxy.h index 1c3135f..5bba34a 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -8,6 +8,7 @@ #include "tlv11.h" #include "radmsg.h" +#include "gconfig.h" #define DEBUG_LEVEL 3 @@ -106,6 +107,8 @@ struct clsrvconf { struct server *servers; }; +#include "tlscommon.h" + struct client { struct clsrvconf *conf; int sock; @@ -204,8 +207,5 @@ void freebios(struct queue *q); struct request *newrequest(); void freerq(struct request *rq); int radsrv(struct request *rq); -X509 *verifytlscert(SSL *ssl); -int verifyconfcert(X509 *cert, struct clsrvconf *conf); void replyh(struct server *server, unsigned char *buf); -SSL_CTX *tlsgetctx(uint8_t type, struct tls *t); struct addrinfo *resolve_hostport_addrinfo(uint8_t type, char *hostport); -- cgit v1.2.3