diff options
author | jsing <> | 2014-07-13 23:19:02 +0000 |
---|---|---|
committer | jsing <> | 2014-07-13 23:19:02 +0000 |
commit | 9204149e8dcfa869eae73506d9f7a857927c5109 (patch) | |
tree | 84007442e0ce23c7827cc64ba14098f2e0db6c68 /src/lib/libressl/ressl_internal.h | |
parent | 90b541a2592f0fcd2c02ac451cfbc1cbdc345888 (diff) | |
download | openbsd-9204149e8dcfa869eae73506d9f7a857927c5109.tar.gz openbsd-9204149e8dcfa869eae73506d9f7a857927c5109.tar.bz2 openbsd-9204149e8dcfa869eae73506d9f7a857927c5109.zip |
Tabs, not spaces.
Diffstat (limited to 'src/lib/libressl/ressl_internal.h')
-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); |