projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ededc88
)
Remove some logically dead code
author
Matt Caswell
<matt@openssl.org>
Mon, 23 Apr 2018 08:01:49 +0000
(09:01 +0100)
committer
Matt Caswell
<matt@openssl.org>
Tue, 24 Apr 2018 08:16:20 +0000
(09:16 +0100)
This dead code should have been removed as part of #5874 but got missed.
Found by Coverity.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6049)
ssl/statem/statem_lib.c
patch
|
blob
|
history
diff --git
a/ssl/statem/statem_lib.c
b/ssl/statem/statem_lib.c
index 6d0778db3f79c2bfcaa1576cc0ffe7860ddcc7cc..269ba859970482a30a8b269ef1638efe9b1215f1 100644
(file)
--- a/
ssl/statem/statem_lib.c
+++ b/
ssl/statem/statem_lib.c
@@
-1073,9
+1073,6
@@
WORK_STATE tls_finish_handshake(SSL *s, WORK_STATE wst, int clearbufs, int stop)
&discard, s->session_ctx->lock);
}
- if (cb != NULL)
- cb(s, SSL_CB_HANDSHAKE_DONE, 1);
-
if (SSL_IS_DTLS(s)) {
/* done with handshaking */
s->d1->handshake_read_seq = 0;