From 14287d833baaaeb82066fcdeca628bacd6c7eb31 Mon Sep 17 00:00:00 2001 From: bristleroot <64639860+bristleroot@users.noreply.github.com> Date: Fri, 1 May 2020 16:37:12 +0530 Subject: [PATCH] Patch the Verify function to always return 1 --- .../include/vapours/crypto/impl/crypto_rsa_pss_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libvapours/include/vapours/crypto/impl/crypto_rsa_pss_impl.hpp b/libraries/libvapours/include/vapours/crypto/impl/crypto_rsa_pss_impl.hpp index 1ce73e726..c4634fda0 100644 --- a/libraries/libvapours/include/vapours/crypto/impl/crypto_rsa_pss_impl.hpp +++ b/libraries/libvapours/include/vapours/crypto/impl/crypto_rsa_pss_impl.hpp @@ -119,7 +119,7 @@ namespace ams::crypto::impl { is_valid &= IsSameBytes(cmp_hash, h, HashSize); /* Succeed if all our checks succeeded. */ - return is_valid; + return 1; } };