summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2016-05-27 14:21:24 +0000
committerjsing <>2016-05-27 14:21:24 +0000
commit120e3c65fbf4c123167cf63e9cedc1500da60883 (patch)
tree7355f1426cb35d43b3410d0ac7322d9c42773467 /src/lib
parent4e7cd151ccb73c62b9b917fcb71eefbfe427c423 (diff)
downloadopenbsd-120e3c65fbf4c123167cf63e9cedc1500da60883.tar.gz
openbsd-120e3c65fbf4c123167cf63e9cedc1500da60883.tar.bz2
openbsd-120e3c65fbf4c123167cf63e9cedc1500da60883.zip
Fix function parameters that do not have an underscore prefix.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libtls/tls.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index 6994f1417b..75c46c1a1a 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.28 2016/04/28 17:05:59 jsing Exp $ */ 1/* $OpenBSD: tls.h,v 1.29 2016/05/27 14:21:24 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -107,17 +107,17 @@ ssize_t tls_read(struct tls *_ctx, void *_buf, size_t _buflen);
107ssize_t tls_write(struct tls *_ctx, const void *_buf, size_t _buflen); 107ssize_t tls_write(struct tls *_ctx, const void *_buf, size_t _buflen);
108int tls_close(struct tls *_ctx); 108int tls_close(struct tls *_ctx);
109 109
110int tls_peer_cert_provided(struct tls *ctx); 110int tls_peer_cert_provided(struct tls *_ctx);
111int tls_peer_cert_contains_name(struct tls *ctx, const char *name); 111int tls_peer_cert_contains_name(struct tls *_ctx, const char *_name);
112 112
113const char * tls_peer_cert_hash(struct tls *_ctx); 113const char *tls_peer_cert_hash(struct tls *_ctx);
114const char * tls_peer_cert_issuer(struct tls *ctx); 114const char *tls_peer_cert_issuer(struct tls *_ctx);
115const char * tls_peer_cert_subject(struct tls *ctx); 115const char *tls_peer_cert_subject(struct tls *_ctx);
116time_t tls_peer_cert_notbefore(struct tls *ctx); 116time_t tls_peer_cert_notbefore(struct tls *_ctx);
117time_t tls_peer_cert_notafter(struct tls *ctx); 117time_t tls_peer_cert_notafter(struct tls *_ctx);
118 118
119const char * tls_conn_version(struct tls *ctx); 119const char *tls_conn_version(struct tls *_ctx);
120const char * tls_conn_cipher(struct tls *ctx); 120const char *tls_conn_cipher(struct tls *_ctx);
121 121
122uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); 122uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password);
123 123