summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authordoug <>2017-08-27 02:58:04 +0000
committerdoug <>2017-08-27 02:58:04 +0000
commit6c75fbeb689a4a6974cf8563cfed0607f7f765f0 (patch)
treeaf98c801c4a8cf65f19c593a6d95424d151a7e8b /src/lib/libssl/ssl_tlsext.h
parent69baf63b5056297bd9125ea95453d12c33f78e64 (diff)
downloadopenbsd-6c75fbeb689a4a6974cf8563cfed0607f7f765f0.tar.gz
openbsd-6c75fbeb689a4a6974cf8563cfed0607f7f765f0.tar.bz2
openbsd-6c75fbeb689a4a6974cf8563cfed0607f7f765f0.zip
Rewrite SRTP extension using CBB/CBS and the new extension framework.
input + ok beck@, jsing@
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
-rw-r--r--src/lib/libssl/ssl_tlsext.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h
index 21f9bb1bf9..7c6250a7f7 100644
--- a/src/lib/libssl/ssl_tlsext.h
+++ b/src/lib/libssl/ssl_tlsext.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_tlsext.h,v 1.9 2017/08/26 20:23:46 doug Exp $ */ 1/* $OpenBSD: ssl_tlsext.h,v 1.10 2017/08/27 02:58:04 doug Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -72,6 +72,15 @@ int tlsext_sessionticket_serverhello_needs(SSL *s);
72int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb); 72int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb);
73int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert); 73int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert);
74 74
75#ifndef OPENSSL_NO_SRTP
76int tlsext_srtp_clienthello_needs(SSL *s);
77int tlsext_srtp_clienthello_build(SSL *s, CBB *cbb);
78int tlsext_srtp_clienthello_parse(SSL *s, CBS *cbs, int *alert);
79int tlsext_srtp_serverhello_needs(SSL *s);
80int tlsext_srtp_serverhello_build(SSL *s, CBB *cbb);
81int tlsext_srtp_serverhello_parse(SSL *s, CBS *cbs, int *alert);
82#endif
83
75int tlsext_clienthello_build(SSL *s, CBB *cbb); 84int tlsext_clienthello_build(SSL *s, CBB *cbb);
76int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, 85int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type,
77 int *alert); 86 int *alert);