Fix no-sm2 with clang
authorTodd Short <tshort@akamai.com>
Fri, 18 May 2018 18:54:01 +0000 (14:54 -0400)
committerMatt Caswell <matt@openssl.org>
Tue, 29 May 2018 16:03:14 +0000 (17:03 +0100)
commit47eaa32d2671c1b608200afb97cc2f0040053686
treeca981830b39ccff58a690618c19b84337f63e141
parentadf652436a42a5132e708f8003b7621647f0a404
Fix no-sm2 with clang

Return immediately upon discovery of bad message digest.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6298)
crypto/ec/ec_pmeth.c