2006-08-03 Richard Hult <richard@imendio.com>
* loudmouth/lm-sha.c: Make the sha functions static so they are
not exposed to apps/libraries using loudmout.
--- a/ChangeLog Mon Jul 31 23:14:32 2006 +0000
+++ b/ChangeLog Thu Aug 03 22:09:08 2006 +0000
@@ -1,3 +1,14 @@
+2006-08-03 Richard Hult <richard@imendio.com>
+
+ * loudmouth/lm-sha.c: Make the sha functions static so they are
+ not exposed to apps/libraries using loudmout.
+
+2006-08-01 Mikael Hallendal <micke@imendio.com>
+
+ * loudmouth/lm-ssl-gnutls.c: (_lm_ssl_read):
+ - EOF on 0 bytes read.
+ - Fixes LM-45.
+
2006-06-27 Mikael Hallendal <micke@imendio.com>
* Release 1.0.4
--- a/loudmouth/lm-sha.c Mon Jul 31 23:14:32 2006 +0000
+++ b/loudmouth/lm-sha.c Thu Aug 03 22:09:08 2006 +0000
@@ -67,9 +67,9 @@
extern "C" {
#endif
-void SHA1Init (SHA1Context *sc);
-void SHA1Update (SHA1Context *sc, const void *udata, guint32 len);
-void SHA1Final (SHA1Context *sc, guint8 hash[SHA1_HASH_SIZE]);
+static void SHA1Init (SHA1Context *sc);
+static void SHA1Update (SHA1Context *sc, const void *udata, guint32 len);
+static void SHA1Final (SHA1Context *sc, guint8 hash[SHA1_HASH_SIZE]);
#ifdef __cplusplus
}
@@ -182,7 +182,7 @@
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
-void
+static void
SHA1Init (SHA1Context *sc)
{
#ifdef RUNTIME_ENDIAN
@@ -490,7 +490,7 @@
sc->hash[4] += e;
}
-void
+static void
SHA1Update (SHA1Context *sc, const void *udata, guint32 len)
{
guint32 bufferBytesLeft;
@@ -566,7 +566,7 @@
burnStack (sizeof (guint32[86]) + sizeof (guint32 *[5]) + sizeof (int));
}
-void
+static void
SHA1Final (SHA1Context *sc, guint8 hash[SHA1_HASH_SIZE])
{
guint32 bytesToPad;