projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git]
/
src
/
os_crypto
/
md5
/
md5_op.h
diff --git
a/src/os_crypto/md5/md5_op.h
b/src/os_crypto/md5/md5_op.h
old mode 100755
(executable)
new mode 100644
(file)
index
3af94d7
..
c7efe18
--- a/
src/os_crypto/md5/md5_op.h
+++ b/
src/os_crypto/md5/md5_op.h
@@
-1,28
+1,23
@@
-/* $OSSEC, os_crypto/md5_op.h, v0.1, 2004/08/09, Daniel B. Cid$ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
* Foundation
*/
-/* OS_crypto/md5 Library.
- * APIs for many crypto operations.
+/* OS_crypto/md5 Library
+ * APIs for many crypto operations
*/
#ifndef __MD5_OP_H
*/
#ifndef __MD5_OP_H
-
#define __MD5_OP_H
typedef char os_md5[33];
#define __MD5_OP_H
typedef char os_md5[33];
-int OS_MD5_File(char *fname, char * output);
-
-int OS_MD5_Str(char * str, char * output);
+int OS_MD5_File(const char *fname, os_md5 output, int mode) __attribute((nonnull));
+int OS_MD5_Str(const char *str, os_md5 output) __attribute((nonnull));
#endif
#endif
-/* EOF */