[GCrypt] Fix PK verification for ECDSA
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2017 10:27:13 +0000 (10:27 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2017 10:27:13 +0000 (10:27 +0000)
commit9428f05dab4d2093c5c840fc5e3783aa8b8a15be
tree939c0c76a53ebfff4c9c45eb175cf42f0527b5c9
parent580d49f3373bc13ee4d43a46c30be1d5c4560b6a
[GCrypt] Fix PK verification for ECDSA
https://bugs.webkit.org/show_bug.cgi?id=172857

Reviewed by Michael Catanzaro.

No new tests -- covered by existing tests.

* crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp:
(WebCore::gcryptVerify): Return `true` if the verification succeeded or `false`
in any other case, avoiding spilling information about the exact cause of
verification failure.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp