This commit is contained in:
Ali 2021-07-04 18:51:49 +04:00
parent 648e414f69
commit 58217226c0

View File

@ -504,7 +504,7 @@ static NSData *encryptRSAModernPadding(id<EncryptionProvider> encryptionProvider
}
[bignumContext assignBinTo:bignumKeyAesEncrypted value:keyAesEncrypted];
int compareResult = [bignumContext compare:rsaModule with:bignumKeyAesEncrypted];
if (compareResult < 0) {
if (compareResult <= 0) {
continue;
}