Use any instead of not all
This commit is contained in:
parent
ae0e9c0f3e
commit
1d5947f055
@ -166,7 +166,7 @@ verifyDigest params pk digest s
|
|||||||
| B.length s /= k = False
|
| B.length s /= k = False
|
||||||
| B.any (/= 0) pre = False
|
| B.any (/= 0) pre = False
|
||||||
| B.last em /= pssTrailerField params = False
|
| B.last em /= pssTrailerField params = False
|
||||||
| not (B.all (== 0) ps0) = False
|
| B.any (/= 0) ps0 = False
|
||||||
| b1 /= B.singleton 1 = False
|
| b1 /= B.singleton 1 = False
|
||||||
| otherwise = B.eq h h'
|
| otherwise = B.eq h h'
|
||||||
where -- parameters
|
where -- parameters
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user