index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:14:10 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:14:10 +0000 |
commit | da648bc24cebcf3fff9073693871183fd95d4c92 (patch) | |
tree | 3fbea3f6f396b981f7d4bd3958d0147025d4a191 /lib/libalpm/sha1.c | |
parent | 195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (diff) |
-rw-r--r-- | lib/libalpm/sha1.c | 4 |
diff --git a/lib/libalpm/sha1.c b/lib/libalpm/sha1.c index a2caa72b..cf1831ea 100644 --- a/lib/libalpm/sha1.c +++ b/lib/libalpm/sha1.c @@ -27,6 +27,8 @@ #endif #include <libintl.h> +#include "alpm.h" +#include "log.h" #include "util.h" #include "sha1.h" @@ -390,6 +392,8 @@ char* _alpm_SHAFile(char *filename) { unsigned char buffer[1024], digest[20]; char *ret; + ALPM_LOG_FUNC; + if((file = fopen(filename, "rb")) == NULL) { fprintf(stderr, _("%s can't be opened\n"), filename); } else { |