summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_internal.h
diff options
context:
space:
mode:
authorbeck <>2016-11-05 14:50:05 +0000
committerbeck <>2016-11-05 14:50:05 +0000
commit857e056d8e939aab5d14f1aadf80c28fe9a4f805 (patch)
treef8562aaa3f17de87e3eca50e4d128c22873832f0 /src/lib/libtls/tls_internal.h
parent31aa40a36a1a6abcd16ec90eba9325e1bdc5edc8 (diff)
downloadopenbsd-857e056d8e939aab5d14f1aadf80c28fe9a4f805.tar.gz
openbsd-857e056d8e939aab5d14f1aadf80c28fe9a4f805.tar.bz2
openbsd-857e056d8e939aab5d14f1aadf80c28fe9a4f805.zip
rename ocsp_ctx to ocsp
ok jsing@
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r--src/lib/libtls/tls_internal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index 4fe4ee7811..65b65371b2 100644
--- a/src/lib/libtls/tls_internal.h
+++ b/src/lib/libtls/tls_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_internal.h,v 1.48 2016/11/04 18:23:32 guenther Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.49 2016/11/05 14:50:05 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> 3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -106,7 +106,7 @@ struct tls_ocsp_result {
106 time_t revocation_time; 106 time_t revocation_time;
107}; 107};
108 108
109struct tls_ocsp_ctx { 109struct tls_ocsp {
110 /* responder location */ 110 /* responder location */
111 char *ocsp_url; 111 char *ocsp_url;
112 112
@@ -147,7 +147,7 @@ struct tls {
147 147
148 struct tls_conninfo *conninfo; 148 struct tls_conninfo *conninfo;
149 149
150 struct tls_ocsp_ctx *ocsp_ctx; 150 struct tls_ocsp *ocsp;
151 151
152 tls_read_cb read_cb; 152 tls_read_cb read_cb;
153 tls_write_cb write_cb; 153 tls_write_cb write_cb;
@@ -208,8 +208,8 @@ int tls_conninfo_populate(struct tls *ctx);
208void tls_conninfo_free(struct tls_conninfo *conninfo); 208void tls_conninfo_free(struct tls_conninfo *conninfo);
209 209
210int tls_ocsp_verify_cb(SSL *ssl, void *arg); 210int tls_ocsp_verify_cb(SSL *ssl, void *arg);
211void tls_ocsp_ctx_free(struct tls_ocsp_ctx *ctx); 211void tls_ocsp_free(struct tls_ocsp *ctx);
212struct tls_ocsp_ctx *tls_ocsp_setup_from_peer(struct tls *ctx); 212struct tls_ocsp *tls_ocsp_setup_from_peer(struct tls *ctx);
213 213
214__END_HIDDEN_DECLS 214__END_HIDDEN_DECLS
215 215