blob: 7dc999e222f593b3a8434affd0106e81b7ba7459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef TLS_H
#define TLS_H
#include <openssl/ssl.h>
#include <openssl/err.h>
/*
* Always used when defined, SMTP has no truncation attacks.
*/
#ifndef SSL_OP_IGNORE_UNEXPECTED_EOF
#define SSL_OP_IGNORE_UNEXPECTED_EOF 0L
#endif
extern int smtps;
extern SSL *ssl;
void ssl_free(SSL *myssl);
void ssl_exit(int status);
# define _exit ssl_exit
const char *ssl_error();
const char *ssl_error_str();
#endif
|