Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Harper <nharper@chromium.org>2016-06-15 04:14:35 +0300
committerDavid Benjamin <davidben@google.com>2016-06-22 00:43:40 +0300
commit1fd39d84cf616fb126a33b771830477fd321f39e (patch)
tree9411648376420416ee871ea48dc293f65e46433f /include/openssl/ssl.h
parentc9a43688780a7808d54a20283a3ee96d80adeb25 (diff)
Add TLS 1.3 record layer to go implementation.
This implements the cipher suite constraints in "fake TLS 1.3". It also makes bssl_shim and runner enable it by default so we can start adding MaxVersion: VersionTLS12 markers to tests as 1.2 vs. 1.3 differences begin to take effect. Change-Id: If1caf6e43938c8d15b0a0f39f40963b8199dcef5 Reviewed-on: https://boringssl-review.googlesource.com/8340 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl/ssl.h')
-rw-r--r--include/openssl/ssl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 5d214867..fd58e2d9 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1111,6 +1111,10 @@ OPENSSL_EXPORT int SSL_CIPHER_is_CECPQ1(const SSL_CIPHER *cipher);
* for |cipher|. */
OPENSSL_EXPORT uint16_t SSL_CIPHER_get_min_version(const SSL_CIPHER *cipher);
+/* SSL_CIPHER_get_max_version returns the maximum protocol version that
+ * supports |cipher|. */
+OPENSSL_EXPORT uint16_t SSL_CIPHER_get_max_version(const SSL_CIPHER *cipher);
+
/* SSL_CIPHER_get_name returns the OpenSSL name of |cipher|. */
OPENSSL_EXPORT const char *SSL_CIPHER_get_name(const SSL_CIPHER *cipher);