]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix some syntax-check errors.
authorSimon Josefsson <simon@josefsson.org>
Fri, 1 Oct 2010 09:26:50 +0000 (11:26 +0200)
committerSimon Josefsson <simon@josefsson.org>
Fri, 1 Oct 2010 09:26:50 +0000 (11:26 +0200)
17 files changed:
doc/cha-cert-auth.texi
doc/cha-internals.texi
doc/cha-library.texi
lib/ext_safe_renegotiation.c
lib/ext_server_name.c
lib/gcrypt/init.c
lib/gnutls_record.c
lib/gnutls_str.c
lib/locks.c
lib/nettle/egd.c
lib/nettle/init.c
lib/system.c
lib/system.h
libextra/ext_inner_application.c
src/certtool-common.h
src/common.c
src/pkcs11.c

index b447593854b37515aa2c1a678db91bdefab490e7..1c661169f8c88fde741972939476a5e2d85c3f93 100644 (file)
@@ -669,4 +669,3 @@ then use @ref{gnutls_x509_crt_get_signature_algorithm} to find out the
 signing algorithm used for each certificate.  If any of the
 intermediary certificates are using @code{GNUTLS_SIGN_RSA_MD2} or
 @code{GNUTLS_SIGN_RSA_MD5}, you could present a warning.
-
index fda6221699f2e7d2d9f24f6bb509943d8967aae5..117c0230698b7f33e1c4da26792c11ced738bcd5 100644 (file)
@@ -333,4 +333,3 @@ must be taken to use the same format.
 @end itemize
 
 If all of them are used then GnuTLS will no longer use libgcrypt.
-
index 9213ea69d79358eb34b8f1dd601d8bda726a63f1..ffce898ebdfb1336f267b06e857a856436315299 100644 (file)
@@ -185,4 +185,3 @@ should allocate and free memory using the functions shown below.
 @item @ref{gnutls_free}
 
 @end itemize
-
index 099402ce47d963a75b8c3a91a68f86c16e5dc102..24d425eb75f636e0672c3e3a30f6a7cbee0a76b2 100644 (file)
@@ -458,4 +458,3 @@ extension_priv_data_t epriv;
 
   return priv->connection_using_safe_renegotiation;
 }
-
index 7b2face4bb6f27e590149c7db9c301f4d6b60a5f..acda371c8d2eb3d8eb2a8f59e5a77c82200593fa 100644 (file)
@@ -462,4 +462,3 @@ error:
   gnutls_free(priv);
   return ret;
 }
-
index 175cbd0acd8d759eec0833a232453c2aacb5fd04..4566bc217d9a084358cc5e636e01e1d270f93866 100644 (file)
@@ -81,4 +81,3 @@ int gnutls_crypto_init(void)
 
    return 0;
 }
-
index 972c8ad617e80a3a1e32837b22acd59dfc19dcfb..afc7e327192aa6f77a00959abded827e2e0ed897 100644 (file)
@@ -1220,4 +1220,3 @@ gnutls_record_recv (gnutls_session_t session, void *data, size_t sizeofdata)
   return _gnutls_recv_int (session, GNUTLS_APPLICATION_DATA, -1, data,
                           sizeofdata);
 }
-
index 4975ddee03f94ef94d8cfffa0200b09470490fbe..2893cabb36d18388fcba1ce78858c5f4a7b8b78a 100644 (file)
@@ -629,4 +629,3 @@ int _gnutls_buffer_pop_data_prefix (gnutls_buffer_st * buf, void * data, size_t
     
     return 0;
 }
-
index ea967334ce25c6cb52ed55ee2597385e56580f65..e1ddfc6d79fa74dc14a03f4b4478dd0e60ca2bef 100644 (file)
@@ -59,4 +59,3 @@ void gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit,
   gnutls_mutex_lock = lock;
   gnutls_mutex_unlock = unlock;
 }
-
index 60467c681377050687922d70b9596b20e01e7c45..09c5ad8906f4af896b7eb0ff6e17d8acba42612d 100644 (file)
@@ -1,5 +1,5 @@
 /* rndegd.c  - interface to the EGD
- *     Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ *     Copyright (C) 1999, 2000, 2002, 2003, 2010 Free Software Foundation, Inc.
  *
  * This file is part of Libgcrypt.
  *
@@ -253,4 +253,3 @@ int _rndegd_read (int * fd, void* _output, size_t _length)
 
   return _length; /* success */
 }
-
index 799d27646f6230b011dfd3249a26fce33865775e..868ddc6898b76d9125b5fb6c8b0ad857f6393233 100644 (file)
@@ -35,4 +35,3 @@ int gnutls_crypto_init(void)
 {
    return 0;
 }
-
index 8e3309077658c1b011187cd289d2269e342f15d5..ec05590992aaf860a50245b9b6b6436bafa18fdc 100644 (file)
@@ -238,4 +238,3 @@ mutex_init_func gnutls_mutex_init = gnutls_system_mutex_init;
 mutex_deinit_func gnutls_mutex_deinit = gnutls_system_mutex_deinit;
 mutex_lock_func gnutls_mutex_lock = gnutls_system_mutex_lock;
 mutex_unlock_func gnutls_mutex_unlock = gnutls_system_mutex_unlock;
-
index e42e4853a3cf3f83a47bfa0ccb0b016a82b79b93..a8257d438232fc8cfa873d6cdd59dde06952b47e 100644 (file)
@@ -31,4 +31,3 @@ ssize_t system_read_peek(gnutls_transport_ptr ptr, void* data, size_t data_size)
 int _gnutls_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
 
 #endif /* SYSTEM_H */
-
index bad812e4a91cc18bec6ca920d204a57a13857d50..f0df0f36b715ad78468773fd77f3be2517efe60c 100644 (file)
@@ -253,4 +253,3 @@ error:
   gnutls_free(priv);
   return ret;
 }
-
index bf9da58e17575b4b17c419edf3e1857bb257a493..d8599c80542235c9fa827491046a0a0c3120b9ef 100644 (file)
@@ -69,4 +69,3 @@ int get_bits(gnutls_pk_algorithm_t);
 
 /* prime.c */
 int generate_prime (int how);
-
index 7590482d792ea9580d921aef7ab2f26d3027fd4d..808146749efe5e8440ec709da80ed4cac2530680 100644 (file)
@@ -920,7 +920,7 @@ static char cached_pin[32] = "";
        
        /* cache */
        strcpy(cached_pin, pin);
-       if (cached_url) free(cached_url);
+       free(cached_url);
        cached_url = strdup(token_url);
        
        return 0;
index c0d6239628a1b28dee11f6cf94a2915d04de404f..2912b97c31314f9ddc49e570c3543f5c3b60fe5f 100644 (file)
@@ -66,7 +66,7 @@ static char cached_pin[32] = "";
        
        /* cache */
        strcpy(cached_pin, pin);
-       if (cached_url) free(cached_url);
+       free(cached_url);
        cached_url = strdup(token_url);
        
        return 0;