From: Tollef Fog Heen Date: Thu, 17 Jul 2008 17:58:07 +0000 (+0200) Subject: Fix typo where it would use md5 when you specified md4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25af5a53dbaeb1fb0f3a3b4685f7f68525342687;p=backuppcd Fix typo where it would use md5 when you specified md4 --- diff --git a/backuppcd.c b/backuppcd.c index 723b23f..0b7a270 100644 --- a/backuppcd.c +++ b/backuppcd.c @@ -1164,7 +1164,7 @@ static ssize_t backuppc_get_attr(struct backuppc_dirent *dent, char *outbuf, siz if ((options & BPC_OPT_MD4) == BPC_OPT_MD4) { md4_init_ctx(&md4_ctx); } - if ((options & BPC_OPT_MD4) == BPC_OPT_MD4) { + if ((options & BPC_OPT_MD5) == BPC_OPT_MD5) { md5_init_ctx(&md5_ctx); } if ((options & BPC_OPT_SHA1) == BPC_OPT_SHA1) {