diff options
| author | doug <> | 2017-08-27 02:58:04 +0000 |
|---|---|---|
| committer | doug <> | 2017-08-27 02:58:04 +0000 |
| commit | 306dd0800e7f4fdbc7f1f0d0610cbcf42263e6d8 (patch) | |
| tree | af98c801c4a8cf65f19c593a6d95424d151a7e8b /src/lib/libssl/ssl_tlsext.h | |
| parent | a2f3c5ccdf113b1ab98dfd659053c47f63db82ec (diff) | |
| download | openbsd-306dd0800e7f4fdbc7f1f0d0610cbcf42263e6d8.tar.gz openbsd-306dd0800e7f4fdbc7f1f0d0610cbcf42263e6d8.tar.bz2 openbsd-306dd0800e7f4fdbc7f1f0d0610cbcf42263e6d8.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.h | 11 |
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); | |||
| 72 | int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb); | 72 | int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb); |
| 73 | int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert); | 73 | int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert); |
| 74 | 74 | ||
| 75 | #ifndef OPENSSL_NO_SRTP | ||
| 76 | int tlsext_srtp_clienthello_needs(SSL *s); | ||
| 77 | int tlsext_srtp_clienthello_build(SSL *s, CBB *cbb); | ||
| 78 | int tlsext_srtp_clienthello_parse(SSL *s, CBS *cbs, int *alert); | ||
| 79 | int tlsext_srtp_serverhello_needs(SSL *s); | ||
| 80 | int tlsext_srtp_serverhello_build(SSL *s, CBB *cbb); | ||
| 81 | int tlsext_srtp_serverhello_parse(SSL *s, CBS *cbs, int *alert); | ||
| 82 | #endif | ||
| 83 | |||
| 75 | int tlsext_clienthello_build(SSL *s, CBB *cbb); | 84 | int tlsext_clienthello_build(SSL *s, CBB *cbb); |
| 76 | int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, | 85 | int tlsext_clienthello_parse_one(SSL *s, CBS *cbs, uint16_t tlsext_type, |
| 77 | int *alert); | 86 | int *alert); |
