tls_openssl.h 477 B

12345678910111213141516171819
  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. #ifndef TLS_OPENSSL_H
  9. #define TLS_OPENSSL_H
  10. enum ocsp_result {
  11. OCSP_GOOD, OCSP_REVOKED, OCSP_NO_RESPONSE, OCSP_INVALID
  12. };
  13. enum ocsp_result check_ocsp_resp(SSL_CTX *ssl_ctx, SSL *ssl, X509 *cert,
  14. X509 *issuer, X509 *issuer_issuer);
  15. #endif /* TLS_OPENSSL_H */