summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-11 17:43:03 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-11 17:43:03 +0000
commita8e7eedbacb557f7b3c5f7a9d170355354c5fb71 (patch)
tree7f54c77125a0856f0bf1d100be381534d66fe59c /tests
parent9ae01344757b5cdfc35c1476f31590c7c8b2dabc (diff)
downloadgnutls-a8e7eedbacb557f7b3c5f7a9d170355354c5fb71.tar.gz
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/x509_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x509_test.c b/tests/x509_test.c
index b1187221af..10a5ef2dbe 100644
--- a/tests/x509_test.c
+++ b/tests/x509_test.c
@@ -47,7 +47,7 @@ static void print_res( int x)
printf("- certificate is NOT trusted\n");
else
printf("- certificate is trusted\n");
- if (x==GNUTLS_CERT_CORRUPTED)
+ if (x&GNUTLS_CERT_CORRUPTED)
printf("- Found a corrupted certificate.\n");
return;
}