[SCM] GNU gnutls branch, master, updated. gnutls_3_0_9-51-g07cd58a

"Nikos Mavrogiannopoulos" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.cvs
Message-ID <[email protected]>
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=07cd58a5b21bca3d59d62285fae68dd341433c43

The branch, master has been updated
       via  07cd58a5b21bca3d59d62285fae68dd341433c43 (commit)
       via  d7e446cc292403140f8462726a69d3e88c503481 (commit)
      from  10ce2625f2625149083e66232795e7b20e3609ad (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 07cd58a5b21bca3d59d62285fae68dd341433c43
Author: Nikos Mavrogiannopoulos <[email protected]>
Date:   Fri Dec 30 23:30:02 2011 +0200

    verify signatures on download

commit d7e446cc292403140f8462726a69d3e88c503481
Author: Nikos Mavrogiannopoulos <[email protected]>
Date:   Fri Dec 30 21:47:47 2011 +0200

    _gnutls_is_secure_memory is no more.

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

Summary of changes:
 cross.mk            |   18 ++++++++++++++++--
 lib/gnutls_global.c |    5 -----
 lib/gnutls_mem.c    |    9 ---------
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/cross.mk b/cross.mk
index d338b04..1fe0719 100644
--- a/cross.mk
+++ b/cross.mk
@@ -2,7 +2,7 @@
 GNUTLS_FILE:=gnutls-3.0.9.tar.xz
 GNUTLS_DIR:=gnutls-3.0.9
 
-GMP_FILE:=gmp-5.0.2.tar.lz
+GMP_FILE:=gmp-5.0.2.tar.bz2
 GMP_DIR:=gmp-5.0.2
 
 P11_KIT_FILE:=p11-kit-0.9.tar.gz
@@ -16,7 +16,10 @@ BIN_DIR:=$(CROSS_DIR)/bin
 LIB_DIR:=$(CROSS_DIR)/lib
 HEADERS_DIR:=$(LIB_DIR)/include
 
-all: gnutls-win32
+all: update-gpg-keys gnutls-win32
+
+update-gpg-keys:
+	gpg --recv-keys 96865171 B565716F D92765AF A8F4C2FD DB899F46
 
 $(GNUTLS_DIR)-win32.zip: $(LIB_DIR) $(BIN_DIR) $(GNUTLS_DIR)/.installed
 	cd $(CROSS_DIR) && zip -r $(PWD)/$@ *
@@ -38,6 +41,8 @@ CONFIG_FLAGS := --host=i686-w64-mingw32 --enable-shared --disable-static --bindi
 
 $(P11_KIT_DIR)/.configured:
 	test -f $(P11_KIT_FILE) || wget http://p11-glue.freedesktop.org/releases/$(P11_KIT_FILE)
+	test -f $(P11_KIT_FILE).sig || wget http://p11-glue.freedesktop.org/releases/$(P11_KIT_FILE).sig
+	gpg --verify $(P11_KIT_FILE).sig
 	test -d $(P11_KIT_DIR) || tar -xf $(P11_KIT_FILE)
 	cd $(P11_KIT_DIR) && ./configure $(CONFIG_FLAGS) && cd ..
 	touch $@
@@ -53,6 +58,8 @@ $(P11_KIT_DIR)/.installed: $(P11_KIT_DIR)/.configured
 
 $(GMP_DIR)/.configured: 
 	test -f $(GMP_FILE) || wget ftp://ftp.gmplib.org/pub/$(GMP_DIR)/$(GMP_FILE)
+	test -f $(GMP_FILE).sig || wget ftp://ftp.gmplib.org/pub/$(GMP_DIR)/$(GMP_FILE).sig
+	gpg --verify $(GMP_FILE).sig
 	test -d $(GMP_DIR) || tar -xf $(GMP_FILE)
 	cd $(GMP_DIR) && ./configure $(CONFIG_FLAGS) --enable-fat --exec-prefix=$(LIB_DIR) --oldincludedir=$(HEADERS_DIR) && cd ..
 	touch $@
@@ -64,6 +71,8 @@ $(GMP_DIR)/.installed: $(GMP_DIR)/.configured
 
 $(NETTLE_DIR)/.configured: $(GMP_DIR)/.installed
 	test -f $(NETTLE_FILE) || wget http://www.lysator.liu.se/~nisse/archive/$(NETTLE_FILE)
+	test -f $(NETTLE_FILE).sig || wget http://www.lysator.liu.se/~nisse/archive/$(NETTLE_FILE).sig
+	gpg --verify $(NETTLE_FILE).sig
 	test -d $(NETTLE_DIR) || tar -xf $(NETTLE_FILE)
 	cd $(NETTLE_DIR) && CFLAGS="-I$(HEADERS_DIR)" CXXFLAGS="-I$(HEADERS_DIR)" ./configure $(CONFIG_FLAGS) --with-lib-path=$(LIB_DIR) && cd ..
 	touch $@
@@ -85,6 +94,8 @@ $(GNUTLS_DIR)/.installed: $(GNUTLS_DIR)/.configured
 
 $(GNUTLS_DIR)/.configured: $(NETTLE_DIR)/.installed $(P11_KIT_DIR)/.installed
 	test -f $(GNUTLS_FILE) || wget ftp://ftp.gnu.org/gnu/gnutls/$(GNUTLS_FILE)
+	test -f $(GNUTLS_FILE).sig || wget ftp://ftp.gnu.org/gnu/gnutls/$(GNUTLS_FILE).sig
+	gpg --verify $(GNUTLS_FILE).sig
 	test -d $(GNUTLS_DIR) || tar -xf $(GNUTLS_FILE)
 	cd $(GNUTLS_DIR) && \
 		P11_KIT_CFLAGS="-I$(HEADERS_DIR)" \
@@ -97,3 +108,6 @@ $(GNUTLS_DIR)/.configured: $(NETTLE_DIR)/.installed $(P11_KIT_DIR)/.installed
 clean:
 	rm -rf $(CROSS_DIR) $(GNUTLS_DIR)/.installed $(NETTLE_DIR)/.installed $(GMP_DIR)/.installed $(P11_KIT_DIR)/.installed
 
+dirclean:
+	rm -rf $(CROSS_DIR) $(GNUTLS_DIR) $(NETTLE_DIR) $(GMP_DIR) $(P11_KIT_DIR)
+
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index e874abb..14fc212 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -151,11 +151,6 @@ gnutls_global_set_mem_functions (gnutls_alloc_function alloc_func,
   gnutls_realloc = realloc_func;
   gnutls_free = free_func;
 
-  if (is_secure_func != NULL)
-    _gnutls_is_secure_memory = is_secure_func;
-  else
-    _gnutls_is_secure_memory = _gnutls_is_secure_mem_null;
-
   /* if using the libc's default malloc
    * use libc's calloc as well.
    */
diff --git a/lib/gnutls_mem.c b/lib/gnutls_mem.c
index e780c3a..c1b6d65 100644
--- a/lib/gnutls_mem.c
+++ b/lib/gnutls_mem.c
@@ -34,15 +34,6 @@ gnutls_realloc_function gnutls_realloc = realloc;
 void *(*gnutls_calloc) (size_t, size_t) = calloc;
 char *(*gnutls_strdup) (const char *) = _gnutls_strdup;
 
-int
-_gnutls_is_secure_mem_null (const void *ign)
-{
-  return 0;
-}
-
-int (*_gnutls_is_secure_memory) (const void *) = _gnutls_is_secure_mem_null;
-
-
 void *
 _gnutls_calloc (size_t nmemb, size_t size)
 {


hooks/post-receive
-- 
GNU gnutls
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.