openssl.h 336 B

12345678910111213141516171819202122
  1. #ifndef _OPENSSL_H_
  2. #define _OPENSSL_H_
  3. #ifdef HAVE_CONFIG_H
  4. # include "config.h"
  5. #endif
  6. #include "common.h"
  7. #include <bdlib/src/String.h>
  8. #include "libssl.h"
  9. #include "libcrypto.h"
  10. #ifdef EGG_SSL_EXT
  11. extern SSL_CTX *ssl_ctx;
  12. extern char *tls_rand_file;
  13. #endif
  14. extern int ssl_use;
  15. int init_openssl();
  16. int uninit_openssl();
  17. #endif