Change version number to v2.6 for the release
[mech_eap.git] / src / crypto / tls_openssl.h
1 /*
2  * SSL/TLS interface functions for OpenSSL
3  * Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8
9 #ifndef TLS_OPENSSL_H
10 #define TLS_OPENSSL_H
11
12 enum ocsp_result {
13         OCSP_GOOD, OCSP_REVOKED, OCSP_NO_RESPONSE, OCSP_INVALID
14 };
15
16 enum ocsp_result check_ocsp_resp(SSL_CTX *ssl_ctx, SSL *ssl, X509 *cert,
17                                  X509 *issuer, X509 *issuer_issuer);
18
19 #endif /* TLS_OPENSSL_H */