take out assignment in conditional because windows is not happy about it

这个提交包含在:
Thom Wiggers 2019-02-27 17:08:59 +01:00
父节点 ea19211d21
当前提交 58aba49ca2
找不到此签名对应的密钥
GPG 密钥 ID: 001BB0A7CE26E363

查看文件

@ -114,9 +114,9 @@ static int test_wrong_pk(void) {
// By relying on m == sm we prevent having to allocate CRYPTO_BYTES
// twice
if (!(returncode = crypto_sign_open(sm, &mlen, sm, smlen, pk2))) {
printf("ERROR Signature did verify correctly under wrong public "
"key!\n");
returncode = crypto_sign_open(sm, &mlen, sm, smlen, pk2);
if (!returncode) {
printf("ERROR Signature did verify correctly under wrong public key!\n");
if (returncode > 0) {
puts("ERROR return code should be < 0");
}