Home
last modified time | relevance | path

Searched refs:digestbuf (Results 1 – 2 of 2) sorted by relevance

/dragonfly/usr.sbin/mtree/
HDcompare.c131 char *digestbuf; in compare() local
418 if ((digestbuf = dohash(F_MD5, p->fts_accpath)) == NULL) { in compare()
424 if (strcmp(s->md5digest, digestbuf)) { in compare()
429 tab, MD5KEY, s->md5digest, digestbuf); in compare()
432 free(digestbuf); in compare()
438 if ((digestbuf = dohash(F_RMD160, p->fts_accpath)) == NULL) { in compare()
444 if (strcmp(s->rmd160digest, digestbuf)) { in compare()
449 tab, RMD160KEY, s->rmd160digest, digestbuf); in compare()
452 free(digestbuf); in compare()
458 if ((digestbuf = dohash(F_SHA1, p->fts_accpath)) == NULL) { in compare()
[all …]
HDcreate.c167 char *digestbuf = NULL; in dosum() local
173 digestbuf = (*func)(p->fts_accpath, NULL); in dosum()
176 digestbuf = dohash(flag, p->fts_accpath); in dosum()
178 if (digestbuf != NULL) { in dosum()
179 output(fp, indent, offset, "%s=%s", key, digestbuf); in dosum()
180 free(digestbuf); in dosum()