diff options
author | Lingmo Zhu <zlm2006@gmail.com> | 2017-08-02 20:55:40 +0800 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-03 10:14:46 +0100 |
commit | 5bd05e579994c756cd994b5e0ff5f395aae6bfff (patch) | |
tree | cc8e9789d75206e1e32be2336b39e9fdb7c0c432 /include | |
parent | e29bb83479cc567b4bb414dc55148ec06a30a115 (diff) | |
download | openssl-5bd05e579994c756cd994b5e0ff5f395aae6bfff.tar.gz |
remove horrible pragma macro and remove __owur from SSL_CTX_add_session() declaration
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4014)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index c6349378c3..245f5eb172 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1559,7 +1559,7 @@ int SSL_SESSION_up_ref(SSL_SESSION *ses); void SSL_SESSION_free(SSL_SESSION *ses); __owur int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); __owur int SSL_set_session(SSL *to, SSL_SESSION *session); -__owur int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c); +int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c); int SSL_CTX_remove_session(SSL_CTX *, SSL_SESSION *c); __owur int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB); __owur int SSL_set_generate_session_id(SSL *, GEN_SESSION_CB); |