Index: trunk/include/sh_calls.h
===================================================================
--- trunk/include/sh_calls.h	(revision 544)
+++ trunk/include/sh_calls.h	(revision 550)
@@ -76,6 +76,6 @@
 long int retry_aud_dup2    (const char * file, int line, int fd, int fd2);
 long int retry_aud_execve  (const char * file, int line, 
-			    const  char *dateiname, char * argv[],
-			    char *envp[]);
+			    const  char *dateiname, char *const argv[],
+			    char *const envp[]);
 long int retry_aud_dup     (const char * file, int line, 
 			    int fd);
Index: trunk/include/sh_gpg.h
===================================================================
--- trunk/include/sh_gpg.h	(revision 544)
+++ 	(revision )
@@ -1,58 +1,0 @@
-/* SAMHAIN file system integrity testing                                   */
-/* Copyright (C) 1999 Rainer Wichmann                                      */
-/*                                                                         */
-/*  This program is free software; you can redistribute it                 */
-/*  and/or modify                                                          */
-/*  it under the terms of the GNU General Public License as                */
-/*  published by                                                           */
-/*  the Free Software Foundation; either version 2 of the License, or      */
-/*  (at your option) any later version.                                    */
-/*                                                                         */
-/*  This program is distributed in the hope that it will be useful,        */
-/*  but WITHOUT ANY WARRANTY; without even the implied warranty of         */
-/*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          */
-/*  GNU General Public License for more details.                           */
-/*                                                                         */
-/*  You should have received a copy of the GNU General Public License      */
-/*  along with this program; if not, write to the Free Software            */
-/*  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.              */
-
-#if (defined(WITH_GPG) || defined(WITH_PGP))
-
-#ifndef SH_GPG_H
-#define SH_GPG_H
-
-#define SIG_CONF 1
-#define SIG_DATA 2
-
-/* Top level function to verify file.
- */
-SL_TICKET sh_gpg_extract_signed(SL_TICKET fd);
-
-/* this function exits if configuration file
- * and/or database cannot be verified; otherwise returns 0
- */
-int sh_gpg_check_sign (long file, int what);
-
-/* log successful startup
- */
-void sh_gpg_log_startup (void);
-
-#endif
-
-/* #ifdef WITH_GPG */
-#endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Index: trunk/include/sh_gpg_chksum.h
===================================================================
--- trunk/include/sh_gpg_chksum.h	(revision 544)
+++ 	(revision )
@@ -1,53 +1,0 @@
-#ifndef CHKSUM_H
-#define CHKSUM_H
-char gpgchk[50];
-gpgchk[0] = '4';
-gpgchk[1] = '0';
-gpgchk[2] = '7';
-gpgchk[3] = '8';
-gpgchk[4] = '4';
-gpgchk[5] = '6';
-gpgchk[6] = '0';
-gpgchk[7] = '1';
-gpgchk[8] = '7';
-gpgchk[9] = '5';
-gpgchk[10] = 'D';
-gpgchk[11] = '0';
-gpgchk[12] = '1';
-gpgchk[13] = 'B';
-gpgchk[14] = '4';
-gpgchk[15] = '4';
-gpgchk[16] = 'B';
-gpgchk[17] = '5';
-gpgchk[18] = 'E';
-gpgchk[19] = '3';
-gpgchk[20] = 'A';
-gpgchk[21] = '4';
-gpgchk[22] = '0';
-gpgchk[23] = 'E';
-gpgchk[24] = '4';
-gpgchk[25] = '4';
-gpgchk[26] = '0';
-gpgchk[27] = '1';
-gpgchk[28] = '6';
-gpgchk[29] = '3';
-gpgchk[30] = '3';
-gpgchk[31] = '3';
-gpgchk[32] = 'C';
-gpgchk[33] = 'F';
-gpgchk[34] = '3';
-gpgchk[35] = 'C';
-gpgchk[36] = '5';
-gpgchk[37] = '6';
-gpgchk[38] = 'A';
-gpgchk[39] = '7';
-gpgchk[40] = 'A';
-gpgchk[41] = 'B';
-gpgchk[42] = 'D';
-gpgchk[43] = '9';
-gpgchk[44] = '1';
-gpgchk[45] = '9';
-gpgchk[46] = '6';
-gpgchk[47] = '6';
-gpgchk[48] = '\0';
-#endif
Index: trunk/include/sh_sig.h
===================================================================
--- trunk/include/sh_sig.h	(revision 550)
+++ trunk/include/sh_sig.h	(revision 550)
@@ -0,0 +1,66 @@
+/* SAMHAIN file system integrity testing                                   */
+/* Copyright (C) 1999 Rainer Wichmann                                      */
+/*                                                                         */
+/*  This program is free software; you can redistribute it                 */
+/*  and/or modify                                                          */
+/*  it under the terms of the GNU General Public License as                */
+/*  published by                                                           */
+/*  the Free Software Foundation; either version 2 of the License, or      */
+/*  (at your option) any later version.                                    */
+/*                                                                         */
+/*  This program is distributed in the hope that it will be useful,        */
+/*  but WITHOUT ANY WARRANTY; without even the implied warranty of         */
+/*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          */
+/*  GNU General Public License for more details.                           */
+/*                                                                         */
+/*  You should have received a copy of the GNU General Public License      */
+/*  along with this program; if not, write to the Free Software            */
+/*  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.              */
+
+#if defined(WITH_SIG) 
+
+#ifndef SH_SIG_H
+#define SH_SIG_H
+
+typedef enum {
+  SIG_CONF,
+  SIG_DATA
+} ShSigFile;
+
+/* Top level function to verify file.
+ */
+SL_TICKET sh_sig_extract_signed(SL_TICKET fd);
+SL_TICKET sh_sig_extract_signed_data(SL_TICKET fd);
+
+/* this function exits if configuration file
+ * and/or database cannot be verified; otherwise returns 0
+ */
+int sh_sig_check_signature (SL_TICKET file, ShSigFile what);
+
+int sh_sig_msg_start(const char * line);
+int sh_sig_msg_startdata(const char * line);
+int sh_sig_msg_end(const char * line);
+int sh_sig_data_end(const char * line);
+
+/* log successful startup
+ */
+void sh_sig_log_startup (void);
+
+#endif
+
+/* #ifdef WITH_SIG */
+#endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
