projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a SSL_get_key_update_type() function
[openssl.git]
/
ssl
/
ssl_lib.c
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 0ca04bd96efe8e81ea778b4ee91169fa3ee6c0cb..927d70a6a6011c6928f27e883b907b0963d03aca 100644
(file)
--- 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)) {