X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fos_crypto%2Fsha1%2Fsha1_op.h;h=3e7fa16cc3a68415e0c18bf6711ae715d0cdea82;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=4fa20f2f7deb378a851e12d00461d2e687516466;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git 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 4fa20f2..3e7fa16 --- a/src/os_crypto/sha1/sha1_op.h +++ b/src/os_crypto/sha1/sha1_op.h @@ -1,24 +1,18 @@ -/* @(#) $Id: sha1_op.h,v 1.4 2009/06/24 17:06:29 dcid Exp $ */ - /* 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 */ - #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 */