BruceWind / AESJniEncrypt

🛡 Make safest code in Android. (基于libsodium实现chacha20算法,key在native中,防止被二次打包){长期维护,请star,勿fork}
Other
1k stars 164 forks source link

check_signature.c 中包名检查是否为 test 的判断有误 #44

Closed LandChanning closed 2 years ago

LandChanning commented 2 years ago

I had found a bug.

Issue description AESJniEncrypt/aesjni/src/main/jni/check_signature.c

48 行if (strcmp(package_name, app_pkg_test) != 0) //test does not need to check.

这个判断应该是 if (strcmp(package_name, app_pkg_test) == 0)才对吧

BruceWind commented 2 years ago

对,我会修改。 这个是2月份改出来的问题。我会改掉。

BruceWind commented 2 years ago

reopen it because its a bug.

BruceWind commented 2 years ago

已修复。