]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #7165 About incorrect JSON output for SHA256/SHA512 option
authorEric Bollengier <eric@baculasystems.com>
Thu, 10 Dec 2020 12:14:49 +0000 (13:14 +0100)
committerEric Bollengier <eric@baculasystems.com>
Sat, 12 Dec 2020 15:35:44 +0000 (16:35 +0100)
bacula/src/dird/inc_conf.c

index cde6465daad3f3435fa2a36f41356d0ae15e8247..902d0b224aad32002201d84ce2a875c28d0492b4 100644 (file)
@@ -188,9 +188,9 @@ s_kw FS_option_kw[] = {
  */
 struct s_fs_opt FS_options[] = {
    {"Md5",      INC_KW_DIGEST,        "M"},
-   {"Sha1",     INC_KW_DIGEST,        "S"},
    {"Sha256",   INC_KW_DIGEST,       "S2"},
    {"Sha512",   INC_KW_DIGEST,       "S3"},
+   {"Sha1",     INC_KW_DIGEST,        "S"},
    {"Gzip",     INC_KW_COMPRESSION,  "Z6"},
    {"Gzip1",    INC_KW_COMPRESSION,  "Z1"},
    {"Gzip2",    INC_KW_COMPRESSION,  "Z2"},