This commit is the result of the squash of the following main commits:
Author: Eric Bollengier <eric@baculasystems.com>
Date: Thu Mar 28 17:50:03 2019 +0100
Fix #4792 about incorrect FileSet { Options {} } not detected (accurate, basejob and verify)
/*
* Loop over options supplied by user and verify the
* fields he requests.
+ *
+ * If an option is added, make sure to update dird/inc_conf.c and BWeb as well.
*/
for (char *p=opts; !stat && *p; p++) {
char ed1[30], ed2[30];
* to NULL and not used.
*/
if (ff_pkt->flags & FO_MD5) {
- digest = crypto_digest_new(jcr, CRYPTO_DIGEST_MD5);
+ digest = crypto_digest_new(jcr, CRYPTO_DIGEST_MD5); /* TODO: With FIPS, MD5 is disabled */
digest_stream = STREAM_MD5_DIGEST;
} else if (ff_pkt->flags & FO_SHA1) {