summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2017-01-22 03:59:30 +0000
committerjsing <>2017-01-22 03:59:30 +0000
commit5a672ea523eafdd9e5e73b3167e915511ad393a4 (patch)
tree883dae0aaa4c93785a38e74c210e292e25524296 /src
parent06a1b54bd47c9b8d2594da71bb1a54f3463cfa88 (diff)
downloadopenbsd-5a672ea523eafdd9e5e73b3167e915511ad393a4.tar.gz
openbsd-5a672ea523eafdd9e5e73b3167e915511ad393a4.tar.bz2
openbsd-5a672ea523eafdd9e5e73b3167e915511ad393a4.zip
Wrap long lines.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libtls/tls.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index c30a8b1a62..645204a170 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.43 2016/11/11 14:03:33 jsing Exp $ */ 1/* $OpenBSD: tls.h,v 1.44 2017/01/22 03:59:30 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -106,8 +106,10 @@ int tls_config_set_keypair_file(struct tls_config *_config,
106 const char *_cert_file, const char *_key_file); 106 const char *_cert_file, const char *_key_file);
107int tls_config_set_keypair_mem(struct tls_config *_config, const uint8_t *_cert, 107int tls_config_set_keypair_mem(struct tls_config *_config, const uint8_t *_cert,
108 size_t _cert_len, const uint8_t *_key, size_t _key_len); 108 size_t _cert_len, const uint8_t *_key, size_t _key_len);
109int tls_config_set_ocsp_staple_mem(struct tls_config *_config, char *_staple, size_t _len); 109int tls_config_set_ocsp_staple_mem(struct tls_config *_config, char *_staple,
110int tls_config_set_ocsp_staple_file(struct tls_config *_config, const char *_staple_file); 110 size_t _len);
111int tls_config_set_ocsp_staple_file(struct tls_config *_config,
112 const char *_staple_file);
111int tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); 113int tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols);
112int tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); 114int tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth);
113 115
@@ -166,7 +168,8 @@ const char *tls_conn_version(struct tls *_ctx);
166 168
167uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); 169uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password);
168 170
169int tls_ocsp_process_response(struct tls *_ctx, const unsigned char *_response, size_t _size); 171int tls_ocsp_process_response(struct tls *_ctx, const unsigned char *_response,
172 size_t _size);
170int tls_peer_ocsp_cert_status(struct tls *_ctx); 173int tls_peer_ocsp_cert_status(struct tls *_ctx);
171int tls_peer_ocsp_crl_reason(struct tls *_ctx); 174int tls_peer_ocsp_crl_reason(struct tls *_ctx);
172time_t tls_peer_ocsp_next_update(struct tls *_ctx); 175time_t tls_peer_ocsp_next_update(struct tls *_ctx);