projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[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
c4b07f1
..
c7efe18
--- a/
src/os_crypto/md5/md5_op.h
+++ b/
src/os_crypto/md5/md5_op.h
@@
-1,5
+1,3
@@
-/* $OSSEC, os_crypto/md5_op.h, v0.1, 2004/08/09, Daniel B. Cid$ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-9,20
+7,17
@@
* 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 */