diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-09 15:05:46 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-02-17 10:28:00 +0000 |
commit | 53d1d07d303f8f482600aafe7bd983a9ee70936d (patch) | |
tree | 8c1e0f0bea40cda543cf7f2f839ddd1f812d93da /ssl | |
parent | 9412b3ad3411a2106e87f0570e5f021af071ab8b (diff) |
Add a SSL_get_key_update_type() function
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2609)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 0ca04bd96e..927d70a6a6 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1743,6 +1743,11 @@ int SSL_key_update(SSL *s, SSL_KEY_UPDATE updatetype) return 1; } +SSL_KEY_UPDATE SSL_get_key_update_type(SSL *s) +{ + return s->key_update; +} + int SSL_renegotiate(SSL *s) { if (SSL_IS_TLS13(s)) { |