gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_3_0_7-29-ge5d8a79


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_7-29-ge5d8a79
Date: Wed, 09 Nov 2011 07:30:00 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=e5d8a79fcc429902e8fb9b7cec91d66b965df5bb

The branch, master has been updated
       via  e5d8a79fcc429902e8fb9b7cec91d66b965df5bb (commit)
      from  c35922d2c14edb96bc40e34ba0a34553e9cee230 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e5d8a79fcc429902e8fb9b7cec91d66b965df5bb
Author: Simon Josefsson <address@hidden>
Date:   Wed Nov 9 08:29:56 2011 +0100

    Remove dead code.

-----------------------------------------------------------------------

Summary of changes:
 lib/debug.c |   21 +--------------------
 lib/debug.h |    1 -
 2 files changed, 1 insertions(+), 21 deletions(-)

diff --git a/lib/debug.c b/lib/debug.c
index 27dda9a..6aa2a09 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -1,6 +1,5 @@
 /*
- * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010
- * Free Software Foundation, Inc.
+ * Copyright (C) 2001-2011 Free Software Foundation, Inc.
  *
  * Author: Nikos Mavrogiannopoulos
  *
@@ -26,22 +25,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include "debug.h"
-#include <gnutls_mpi.h>
-
-void
-_gnutls_dump_mpi (const char *prefix, bigint_t a)
-{
-  char buf[400];
-  char buf_hex[2 * sizeof (buf)];
-  size_t n = sizeof buf;
-
-  if (_gnutls_mpi_print (a, buf, &n))
-    strcpy (buf, "[can't print value]");        /* Flawfinder: ignore */
-  _gnutls_debug_log ("MPI: length: %d\n\t%s%s\n", (int) n, prefix,
-                     _gnutls_bin2hex (buf, n, buf_hex, sizeof (buf_hex),
-                                      NULL));
-}
-
 
 const char *
 _gnutls_packet2str (content_type_t packet)
@@ -64,7 +47,6 @@ _gnutls_packet2str (content_type_t packet)
 const char *
 _gnutls_handshake2str (gnutls_handshake_description_t handshake)
 {
-
   switch (handshake)
     {
     case GNUTLS_HANDSHAKE_HELLO_REQUEST:
@@ -114,6 +96,5 @@ _gnutls_handshake2str (gnutls_handshake_description_t 
handshake)
       break;
     default:
       return "Unknown Handshake packet";
-
     }
 }
diff --git a/lib/debug.h b/lib/debug.h
index d0ad693..4d3d2b0 100644
--- a/lib/debug.h
+++ b/lib/debug.h
@@ -22,4 +22,3 @@
 
 const char *_gnutls_packet2str (content_type_t packet);
 const char *_gnutls_handshake2str (gnutls_handshake_description_t handshake);
-void _gnutls_dump_mpi (const char *prefix, bigint_t a);


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]