updates.
authorPekka Riikonen <priikone@silcnet.org>
Fri, 13 Apr 2001 08:46:28 +0000 (08:46 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Fri, 13 Apr 2001 08:46:28 +0000 (08:46 +0000)
lib/silccore/silcpacket.c
prepare

index 0911ca06a52d165505aea26c51f3b2c09ff62b53..caa26ca25bb624c749c92148c74348300d820656 100644 (file)
@@ -477,7 +477,6 @@ static int silc_packet_check_mac(SilcHmac hmac, SilcBuffer buffer)
     /* Compare the HMAC's (buffer->tail has the packet's HMAC) */
     if (memcmp(mac, buffer->tail, mac_len)) {
       SILC_LOG_ERROR(("MAC failed"));
-      assert(FALSE);
       return FALSE;
     }
     
diff --git a/prepare b/prepare
index 6489892365e293840c391b960ea023efab9b1912..4ca291179bb091df8623150432e5b6911272d3b1 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -30,7 +30,7 @@ echo "Preparing SILC source tree for configuration and compilation..."
 version=`date +%Y%m%d`
 
 # Replace version string and create configure.in
-sed -e "1,/YYYYMMDD/s//$version/" configure.in.pre >configure.in
+sed -e "/YYYYMMDD/s//$version/" configure.in.pre >configure.in
 
 aclocal
 autoconf