projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the check_fatal macro
[openssl.git]
/
ssl
/
statem
/
statem.c
diff --git
a/ssl/statem/statem.c
b/ssl/statem/statem.c
index 0cacc4acb73d703e5a78b5714dcbf06701b8ffd1..29660d59c422d811576bd8d3f546158d09f81403 100644
(file)
--- a/
ssl/statem/statem.c
+++ b/
ssl/statem/statem.c
@@
-135,7
+135,7
@@
void ossl_statem_fatal(SSL *s, int al, int func, int reason, const char *file,
#define check_fatal(s, f) \
do { \
if (!ossl_assert((s)->statem.in_init \
-
|| (s)->statem.state !
= MSG_FLOW_ERROR)) \
+
&& (s)->statem.state =
= MSG_FLOW_ERROR)) \
SSLfatal(s, SSL_AD_INTERNAL_ERROR, (f), \
SSL_R_MISSING_FATAL); \
} while (0)