summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libtls/tls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index f7c12920e0..3cb24f0ee5 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.18 2015/09/10 10:26:49 beck Exp $ */ 1/* $OpenBSD: tls.h,v 1.19 2015/09/11 11:28:01 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -99,6 +99,8 @@ ssize_t tls_read(struct tls *_ctx, void *_buf, size_t _buflen);
99ssize_t tls_write(struct tls *_ctx, const void *_buf, size_t _buflen); 99ssize_t tls_write(struct tls *_ctx, const void *_buf, size_t _buflen);
100int tls_close(struct tls *_ctx); 100int tls_close(struct tls *_ctx);
101 101
102int tls_peer_cert_hash(struct tls *_ctx, char **_hash);
103
102uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); 104uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password);
103 105
104#ifdef __cplusplus 106#ifdef __cplusplus