2 * Copyright (C) 2006-2008 Stig Venaas <venaas@uninett.no>
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
9 #include <openssl/ssl.h>
23 X509_VERIFY_PARAM *vpm;
28 #if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
30 struct tls *tlsgettls(char *alt1, char *alt2);
31 SSL_CTX *tlsgetctx(uint8_t type, struct tls *t);
32 X509 *verifytlscert(SSL *ssl);
33 int verifyconfcert(X509 *cert, struct clsrvconf *conf);
34 int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *val);
35 int addmatchcertattr(struct clsrvconf *conf);
38 /* Local Variables: */
39 /* c-file-style: "stroustrup" */