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>
11 #if defined (__cplusplus)
27 X509_VERIFY_PARAM *vpm;
32 #if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
34 struct tls *tlsgettls(char *alt1, char *alt2);
35 SSL_CTX *tlsgetctx(uint8_t type, struct tls *t);
36 X509 *verifytlscert(SSL *ssl);
37 int verifyconfcert(X509 *cert, struct clsrvconf *conf);
38 int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *val);
39 int addmatchcertattr(struct clsrvconf *conf);
42 #if defined (__cplusplus)
46 /* Local Variables: */
47 /* c-file-style: "stroustrup" */