X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=ssl%2Fstatem%2Fstatem.c;h=29660d59c422d811576bd8d3f546158d09f81403;hb=e1dd8fa00a1e06d27c8b024dac7657a8d8a9b451;hp=0cacc4acb73d703e5a78b5714dcbf06701b8ffd1;hpb=8e7677aeacea0657846df444553680fdd3391f8c;p=openssl.git diff --git a/ssl/statem/statem.c b/ssl/statem/statem.c index 0cacc4acb7..29660d59c4 100644 --- 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)