X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fos_crypto%2Fsha1%2Fsha1_op.h;fp=src%2Fos_crypto%2Fsha1%2Fsha1_op.h;h=3e7fa16cc3a68415e0c18bf6711ae715d0cdea82;hp=3ebdb03240e7427bfab5e0cbbce839f7a7bfe6f8;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b diff --git a/src/os_crypto/sha1/sha1_op.h b/src/os_crypto/sha1/sha1_op.h old mode 100755 new mode 100644 index 3ebdb03..3e7fa16 --- a/src/os_crypto/sha1/sha1_op.h +++ b/src/os_crypto/sha1/sha1_op.h @@ -1,6 +1,3 @@ -/* @(#) $Id: ./src/os_crypto/sha1/sha1_op.h, 2011/09/08 dcid Exp $ - */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -10,16 +7,12 @@ * Foundation */ - #ifndef __SHA1_OP_H - #define __SHA1_OP_H - typedef char os_sha1[65]; -int OS_SHA1_File(char *fname, char * output); +int OS_SHA1_File(const char *fname, os_sha1 output, int mode) __attribute((nonnull)); #endif -/* EOF */