projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove redundant check from SSL_shutdown
[openssl.git]
/
ssl
/
ssl_lib.c
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 0674cb44af7fd49dfb6c272057e4adf8caee4050..ec852569b1994bd2909c53312f1d7d47a3e61920 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-990,7
+990,7
@@
int SSL_shutdown(SSL *s)
return -1;
}
- if (
(s != NULL) &&
!SSL_in_init(s))
+ if (!SSL_in_init(s))
return (s->method->ssl_shutdown(s));
else
return (1);