aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-28 23:20:14 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-28 23:20:14 +0000
commit3ae3e700704f3cd9bc44451a41dd59d0c2871784 (patch)
tree44b8bb8ff63b76f95984bbd286b40cfa88381c55
parent425462d5f6e65f2754f18be01e2c9a944fee4e7a (diff)
Move the SHA-1 code and header into epan, and give them RCS IDs.
svn path=/trunk/; revision=12125
-rw-r--r--Makefile.common1
-rw-r--r--epan/Makefile.common3
-rw-r--r--epan/sha1.c (renamed from sha1.c)4
-rw-r--r--epan/sha1.h (renamed from sha1.h)2
4 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index 65f826bfc8..b254e53034 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -54,7 +54,6 @@ DISSECTOR_SUPPORT_INCLUDES = \
rpc_defrag.h \
rtp_pt.h \
sctpppids.h \
- sha1.h \
smb.h \
t35.h \
tap.h \
diff --git a/epan/Makefile.common b/epan/Makefile.common
index 56413c5b79..18c558024b 100644
--- a/epan/Makefile.common
+++ b/epan/Makefile.common
@@ -52,6 +52,7 @@ LIBETHEREAL_SRC = \
prefs.c \
proto.c \
range.c \
+ sha1.c \
sna-utils.c \
strutil.c \
timestamp.c \
@@ -98,6 +99,7 @@ LIBETHEREAL_INCLUDES = \
proto.h \
range.h \
report_err.h \
+ sha1.h \
slab.h \
sna-utils.h \
strutil.h \
@@ -117,7 +119,6 @@ DISSECTOR_SUPPORT_SRC = \
../ptvcursor.c \
../reassemble.c \
../req_resp_hdrs.c \
- ../sha1.c \
../t35.c \
../tap.c \
../xdlc.c \
diff --git a/sha1.c b/epan/sha1.c
index 7f68debebf..bd06b0278c 100644
--- a/sha1.c
+++ b/epan/sha1.c
@@ -1,6 +1,8 @@
/*
* FIPS-180-1 compliant SHA-1 implementation
*
+ * $Id$
+ *
* Copyright (C) 2001-2003 Christophe Devine
*
* This program is free software; you can redistribute it and/or modify
@@ -25,7 +27,7 @@
#include <string.h>
#include <glib.h>
-#include "sha1.h"
+#include <epan/sha1.h>
#define GET_UINT32(n,b,i) \
{ \
diff --git a/sha1.h b/epan/sha1.h
index 8863bab527..4b7e7d4c8b 100644
--- a/sha1.h
+++ b/epan/sha1.h
@@ -1,6 +1,8 @@
/*
* FIPS-180-1 compliant SHA-1 implementation
*
+ * $Id$
+ *
* Copyright (C) 2001-2003 Christophe Devine
*
* This program is free software; you can redistribute it and/or modify