]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 11 Sep 2002 17:43:03 +0000 (17:43 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 11 Sep 2002 17:43:03 +0000 (17:43 +0000)
NEWS
src/cli.c
tests/x509_test.c

diff --git a/NEWS b/NEWS
index 4b97eb7d4e3675f7a78f949b124b0125f8b26b88..716710220e492a8d25fc911fc53de4fada7feedb 100644 (file)
--- 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)
index 5c52feb8b4e6cdcd1fb4f74f80a6c3a3fa3d80ec..d8cef2a9124884e662e2b60e8ddc6c3723cd3342 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -344,7 +344,6 @@ int main(int argc, char **argv)
       } else {
         break;
       }
-
    }
 
 /* print some information */
index b1187221af1444355c5a54450182a0128e2f3b7d..10a5ef2dbe11f6711ff556b337b0e38280c8e997 100644 (file)
@@ -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;
 }