diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libtls/tls.h | 11 |
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); |
| 107 | int tls_config_set_keypair_mem(struct tls_config *_config, const uint8_t *_cert, | 107 | int 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); |
| 109 | int tls_config_set_ocsp_staple_mem(struct tls_config *_config, char *_staple, size_t _len); | 109 | int tls_config_set_ocsp_staple_mem(struct tls_config *_config, char *_staple, |
| 110 | int tls_config_set_ocsp_staple_file(struct tls_config *_config, const char *_staple_file); | 110 | size_t _len); |
| 111 | int tls_config_set_ocsp_staple_file(struct tls_config *_config, | ||
| 112 | const char *_staple_file); | ||
| 111 | int tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); | 113 | int tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); |
| 112 | int tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); | 114 | int 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 | ||
| 167 | uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); | 169 | uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); |
| 168 | 170 | ||
| 169 | int tls_ocsp_process_response(struct tls *_ctx, const unsigned char *_response, size_t _size); | 171 | int tls_ocsp_process_response(struct tls *_ctx, const unsigned char *_response, |
| 172 | size_t _size); | ||
| 170 | int tls_peer_ocsp_cert_status(struct tls *_ctx); | 173 | int tls_peer_ocsp_cert_status(struct tls *_ctx); |
| 171 | int tls_peer_ocsp_crl_reason(struct tls *_ctx); | 174 | int tls_peer_ocsp_crl_reason(struct tls *_ctx); |
| 172 | time_t tls_peer_ocsp_next_update(struct tls *_ctx); | 175 | time_t tls_peer_ocsp_next_update(struct tls *_ctx); |
