diff options
author | Lingmo Zhu <zlm2006@gmail.com> | 2017-08-02 14:55:40 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-03 11:14:46 +0200 |
commit | 5bd05e579994c756cd994b5e0ff5f395aae6bfff (patch) | |
tree | cc8e9789d75206e1e32be2336b39e9fdb7c0c432 /ssl/ssl_sess.c | |
parent | Remove the obsolete misleading comment and code related to it. (diff) | |
download | openssl-5bd05e579994c756cd994b5e0ff5f395aae6bfff.tar.xz openssl-5bd05e579994c756cd994b5e0ff5f395aae6bfff.zip |
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 'ssl/ssl_sess.c')
-rw-r--r-- | ssl/ssl_sess.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index a291ead92a..805a3d75f4 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -549,10 +549,7 @@ int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello, int *al) * interrupt the session resumption process. The return * value is intentionally ignored. */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-result" SSL_CTX_add_session(s->session_ctx, ret); -#pragma GCC diagnostic pop } } } |