-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathssl.h
More file actions
31 lines (26 loc) · 714 Bytes
/
ssl.h
File metadata and controls
31 lines (26 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifdef HAVE_LIBSSL
#include <openssl/ssl.h>
#include <openssl/err.h>
#define SRV_SSL_V23 0
#define SRV_SSL_V2 1
#define SRV_SSL_V3 2
#define SRV_SSL_TLS1 3
#define OCSP_RESP_MAX 10000
extern char ssl_compat;
extern char require_peer_cert;
extern char ssl_protocol;
extern char *certfile;
extern char *keyfile;
extern char *cacert_dir;
extern char *cacert_file;
extern char *ssl_sni_path;
extern SSL_CTX *ssl_context;
extern long ssl_options;
extern char *ssl_ciphers;
extern int ssl_session_id_context;
extern int ssl_client_renegotiation_interval;
extern unsigned char ocsp_resp_data[OCSP_RESP_MAX];
extern long ocsp_resp_len;
extern char *ocsp_resp_file;
extern int ssl_init(void);
#endif /* HAVE_LIBSSL */