[gnutls-dev] [patch] nits in 0.3.1

Simon Josefsson simon+gnutls-dev at josefsson.org
Wed Jan 2 23:31:01 CET 2002


gnutls_check_version() in the header file changed, but the source code
of the function and the autoconf macros wasn't updated.  Reverting to
the old definition of gnutls_check_version() make it work.  Also, the
autoconf macro didn't delete the temp file in all cases.

Index: lib/gnutls.h.in.in
===================================================================
RCS file: /cvs/gnutls/gnutls/lib/gnutls.h.in.in,v
retrieving revision 2.4
diff -u -r2.4 gnutls.h.in.in
--- lib/gnutls.h.in.in  2001/12/19 20:02:00     2.4
+++ lib/gnutls.h.in.in  2002/01/02 22:25:53
@@ -146,7 +146,7 @@
 void gnutls_handshake_set_max_data_buffer_size( GNUTLS_STATE state, int max);
 
 /* returns libgnutls version */
-const char* gnutls_check_version(void);
+const char* gnutls_check_version(const char *req_version);
 
 /* Functions for setting/clearing credentials */
 int gnutls_clear_creds( GNUTLS_STATE state);
Index: lib/libgnutls.m4
===================================================================
RCS file: /cvs/gnutls/gnutls/lib/libgnutls.m4,v
retrieving revision 2.4
diff -u -r2.4 libgnutls.m4
--- lib/libgnutls.m4    2001/11/26 10:50:38     2.4
+++ lib/libgnutls.m4    2002/01/02 22:25:53
@@ -152,8 +152,8 @@
      LIBGNUTLS_CFLAGS=""
      LIBGNUTLS_LIBS=""
      ifelse([$3], , :, [$3])
-     rm -f conf.libngnutlstest
   fi
+  rm -f conf.libgnutlstest
   AC_SUBST(LIBGNUTLS_CFLAGS)
   AC_SUBST(LIBGNUTLS_LIBS)
 ])





More information about the Gnutls-devel mailing list