1 /* Copyright (c) 2007-2009, UNINETT AS */
2 /* See LICENSE for licensing information. */
4 #include <netinet/in.h>
5 #include <openssl/ssl.h>
7 #if defined (__cplusplus)
23 X509_VERIFY_PARAM *vpm;
28 #if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
29 SSL_CTX *tlsgetctx(uint8_t type, struct tls *t);
30 X509 *verifytlscert(SSL *ssl);
31 int subjectaltnameaddr(X509 *cert, int family, const struct in6_addr *addr);
32 int subjectaltnameregexp(X509 *cert, int type, const char *exact, const regex_t *regex);
33 int cnregexp(X509 *cert, const char *exact, const regex_t *regex);
36 #if defined (__cplusplus)
40 /* Local Variables: */
41 /* c-file-style: "stroustrup" */