diff options
author | Matt Caswell <matt@openssl.org> | 2017-08-02 13:32:56 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-08-09 13:37:06 +1000 |
commit | 07927bedf3667f9a9148fb5670fb06124ae8fa59 (patch) | |
tree | 7592a7292011164e5ac2c8b5d4a86650f229fc6f /include | |
parent | 402f26e6ee56ec295e053d1f6455e910ac398149 (diff) | |
download | openssl-07927bedf3667f9a9148fb5670fb06124ae8fa59.tar.gz |
Add an SSL_SESSION_dup() function
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4072)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index a2d13bf3d7..b4c66441c2 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1545,6 +1545,7 @@ __owur int SSL_SESSION_set1_id(SSL_SESSION *s, const unsigned char *sid, __owur int SSL_SESSION_is_resumable(const SSL_SESSION *s); __owur SSL_SESSION *SSL_SESSION_new(void); +__owur SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src); const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, unsigned int *len); const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s, |