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