diff options
author | jsing <> | 2018-11-05 20:41:30 +0000 |
---|---|---|
committer | jsing <> | 2018-11-05 20:41:30 +0000 |
commit | cc6841304de92627d97efb8864bf697cea3c3c11 (patch) | |
tree | 0dcb778a3611a7834d75d19cbaf3ab20c8778177 /src/lib/libssl/ssl_tlsext.h | |
parent | 10fbcf441c789825e293dcdf108f5d3a6066e929 (diff) | |
download | openbsd-cc6841304de92627d97efb8864bf697cea3c3c11.tar.gz openbsd-cc6841304de92627d97efb8864bf697cea3c3c11.tar.bz2 openbsd-cc6841304de92627d97efb8864bf697cea3c3c11.zip |
Rename the TLS Supported Elliptic Curves extension to Supported Groups.
RFC 7919 renamed the Supported Elliptic Curves TLS extension to Supported
Groups and redefined it to include finite field DH (FFDH) in addition to
elliptic curve DH (ECDH). As such, rename the TLS extension and change the
associated code to refer to groups rather than curves.
ok beck@ tb@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/ssl_tlsext.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h index 4248932fb2..974ab929ec 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.12 2018/02/08 11:30:30 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.h,v 1.13 2018/11/05 20:41:30 jsing 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> |
@@ -44,12 +44,12 @@ int tlsext_sni_serverhello_needs(SSL *s); | |||
44 | int tlsext_sni_serverhello_build(SSL *s, CBB *cbb); | 44 | int tlsext_sni_serverhello_build(SSL *s, CBB *cbb); |
45 | int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert); | 45 | int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert); |
46 | 46 | ||
47 | int tlsext_ec_clienthello_needs(SSL *s); | 47 | int tlsext_supportedgroups_clienthello_needs(SSL *s); |
48 | int tlsext_ec_clienthello_build(SSL *s, CBB *cbb); | 48 | int tlsext_supportedgroups_clienthello_build(SSL *s, CBB *cbb); |
49 | int tlsext_ec_clienthello_parse(SSL *s, CBS *cbs, int *alert); | 49 | int tlsext_supportedgroups_clienthello_parse(SSL *s, CBS *cbs, int *alert); |
50 | int tlsext_ec_serverhello_needs(SSL *s); | 50 | int tlsext_supportedgroups_serverhello_needs(SSL *s); |
51 | int tlsext_ec_serverhello_build(SSL *s, CBB *cbb); | 51 | int tlsext_supportedgroups_serverhello_build(SSL *s, CBB *cbb); |
52 | int tlsext_ec_serverhello_parse(SSL *s, CBS *cbs, int *alert); | 52 | int tlsext_supportedgroups_serverhello_parse(SSL *s, CBS *cbs, int *alert); |
53 | 53 | ||
54 | int tlsext_ecpf_clienthello_needs(SSL *s); | 54 | int tlsext_ecpf_clienthello_needs(SSL *s); |
55 | int tlsext_ecpf_clienthello_build(SSL *s, CBB *cbb); | 55 | int tlsext_ecpf_clienthello_build(SSL *s, CBB *cbb); |