X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fsha1.c;h=b7dea1c2a577f4277455eaa0cfe9d2096aaab7c9;hp=cc481086c3aca6d443dfe249e6587e90755d3196;hb=71012e81098dce71cbd69479ecdee375a24db79c;hpb=2ce25b93a72b4a8d6daa5321f9ef7df0772a789f diff --git a/lib/sha1.c b/lib/sha1.c index cc481086..b7dea1c2 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Carl Worth */ @@ -50,7 +50,7 @@ _hex_of_sha1_digest (const unsigned char digest[SHA1_DIGEST_SIZE]) * should free() when finished. */ char * -notmuch_sha1_of_string (const char *str) +_notmuch_sha1_of_string (const char *str) { sha1_ctx sha1; unsigned char digest[SHA1_DIGEST_SIZE]; @@ -74,7 +74,7 @@ notmuch_sha1_of_string (const char *str) * file not found, etc.), this function returns NULL. */ char * -notmuch_sha1_of_file (const char *filename) +_notmuch_sha1_of_file (const char *filename) { FILE *file; #define BLOCK_SIZE 4096 @@ -112,4 +112,3 @@ notmuch_sha1_of_file (const char *filename) return result; } -