1324714Scy/* 2324714Scy * SSL/TLS interface functions for OpenSSL 3324714Scy * Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> 4324714Scy * 5324714Scy * This software may be distributed under the terms of the BSD license. 6324714Scy * See README for more details. 7324714Scy */ 8324714Scy 9324714Scy#ifndef TLS_OPENSSL_H 10324714Scy#define TLS_OPENSSL_H 11324714Scy 12324714Scyenum ocsp_result { 13324714Scy OCSP_GOOD, OCSP_REVOKED, OCSP_NO_RESPONSE, OCSP_INVALID 14324714Scy}; 15324714Scy 16324714Scyenum ocsp_result check_ocsp_resp(SSL_CTX *ssl_ctx, SSL *ssl, X509 *cert, 17324714Scy X509 *issuer, X509 *issuer_issuer); 18324714Scy 19324714Scy#endif /* TLS_OPENSSL_H */ 20