From 25af5a53dbaeb1fb0f3a3b4685f7f68525342687 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 17 Jul 2008 19:58:07 +0200 Subject: [PATCH] Fix typo where it would use md5 when you specified md4 --- backuppcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5