diff options
author | TJ Saunders <tj@castaglia.org> | 2016-05-31 14:09:17 -0700 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-31 17:16:29 -0400 |
commit | 80c630f6574a33b1c633815a174110d10ec37c60 (patch) | |
tree | 927ecff08731a5b16c712222857737bbdf217cb5 /ssl/ssl_sess.c | |
parent | 73271290fe2fe47f122a80f7b67fde556d873a47 (diff) | |
download | openssl-new-80c630f6574a33b1c633815a174110d10ec37c60.tar.gz |
Remove null check, per review feedback. Note this in the docs.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1135)
Diffstat (limited to 'ssl/ssl_sess.c')
-rw-r--r-- | ssl/ssl_sess.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 128d2d7942..f13e466d2c 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -830,8 +830,6 @@ long SSL_SESSION_set_time(SSL_SESSION *s, long t) int SSL_SESSION_get_protocol_version(const SSL_SESSION *s) { - if (s == NULL) - return (0); return s->ssl_version; } |