diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libressl/ressl_internal.h | 24 | 
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libressl/ressl_internal.h b/src/lib/libressl/ressl_internal.h index 260ae8e1f9..c234153587 100644 --- a/src/lib/libressl/ressl_internal.h +++ b/src/lib/libressl/ressl_internal.h  | |||
| @@ -25,28 +25,28 @@ | |||
| 25 | #define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem" | 25 | #define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem" | 
| 26 | 26 | ||
| 27 | struct ressl_config { | 27 | struct ressl_config { | 
| 28 | const char *ca_file; | 28 | const char *ca_file; | 
| 29 | const char *ca_path; | 29 | const char *ca_path; | 
| 30 | const char *ciphers; | 30 | const char *ciphers; | 
| 31 | const char *server_name; | 31 | const char *server_name; | 
| 32 | int verify; | 32 | int verify; | 
| 33 | int verify_depth; | 33 | int verify_depth; | 
| 34 | }; | 34 | }; | 
| 35 | 35 | ||
| 36 | #define RESSL_CLIENT (1 << 0) | 36 | #define RESSL_CLIENT (1 << 0) | 
| 37 | #define RESSL_SERVER (1 << 1) | 37 | #define RESSL_SERVER (1 << 1) | 
| 38 | 38 | ||
| 39 | struct ressl { | 39 | struct ressl { | 
| 40 | struct ressl_config *config; | 40 | struct ressl_config *config; | 
| 41 | uint64_t flags; | 41 | uint64_t flags; | 
| 42 | 42 | ||
| 43 | int err; | 43 | int err; | 
| 44 | char *errmsg; | 44 | char *errmsg; | 
| 45 | 45 | ||
| 46 | int socket; | 46 | int socket; | 
| 47 | 47 | ||
| 48 | SSL *ssl_conn; | 48 | SSL *ssl_conn; | 
| 49 | SSL_CTX *ssl_ctx; | 49 | SSL_CTX *ssl_ctx; | 
| 50 | }; | 50 | }; | 
| 51 | 51 | ||
| 52 | struct ressl *ressl_new(void); | 52 | struct ressl *ressl_new(void); | 
