summaryrefslogtreecommitdiff
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
parent9ae01344757b5cdfc35c1476f31590c7c8b2dabc (diff)
downloadgnutls-a8e7eedbacb557f7b3c5f7a9d170355354c5fb71.tar.gz
*** empty log message ***
-rw-r--r--NEWS3
-rw-r--r--src/cli.c1
-rw-r--r--tests/x509_test.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 4b97eb7d4e..716710220e 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,8 @@ Version 0.5.7
- Some fixes in the memory allocation functions (realloc).
- Improved the string functions used in XML certificate generation.
- Removed dependency on libgdbm.
-- Corrected bug in gnutls_dh_params_set()
+- Corrected bug in gnutls_dh_params_set() which affected
+ gnutls_dh_params_deinit().
- Corrected bug in session resuming code in server side.
Version 0.5.6 (6/09/2002)
diff --git a/src/cli.c b/src/cli.c
index 5c52feb8b4..d8cef2a912 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -344,7 +344,6 @@ int main(int argc, char **argv)
} else {
break;
}
-
}
/* print some information */
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;
}