projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename the Elliptic Curves extension to supported_groups
[openssl.git]
/
include
/
openssl
/
tls1.h
diff --git
a/include/openssl/tls1.h
b/include/openssl/tls1.h
index d0cce092635f09823ffb8425d0494252507ee06e..1fd578893688d6faee6c8eb8f24e3dfc39502dbd 100644
(file)
--- a/
include/openssl/tls1.h
+++ b/
include/openssl/tls1.h
@@
-128,9
+128,15
@@
extern "C" {
# define TLSEXT_TYPE_cert_type 9
/* ExtensionType values from RFC4492 */
# define TLSEXT_TYPE_cert_type 9
/* ExtensionType values from RFC4492 */
-# define TLSEXT_TYPE_elliptic_curves 10
+/*
+ * Prior to TLSv1.3 the supported_groups extension was known as
+ * elliptic_curves
+ */
+# define TLSEXT_TYPE_supported_groups 10
+# define TLSEXT_TYPE_elliptic_curves TLSEXT_TYPE_supported_groups
# define TLSEXT_TYPE_ec_point_formats 11
# define TLSEXT_TYPE_ec_point_formats 11
+
/* ExtensionType value from RFC5054 */
# define TLSEXT_TYPE_srp 12
/* ExtensionType value from RFC5054 */
# define TLSEXT_TYPE_srp 12