|
22 | 22 | #include "caremote.h" |
23 | 23 | #include "castore.h" |
24 | 24 | #include "casync.h" |
| 25 | +#include "def.h" |
25 | 26 | #include "gc.h" |
26 | 27 | #include "notify.h" |
27 | 28 | #include "parse-util.h" |
@@ -299,7 +300,7 @@ static int dump_with_flags(void) { |
299 | 300 | _cleanup_free_ char *s = NULL; |
300 | 301 | uint64_t flag = UINT64_C(1) << i; |
301 | 302 |
|
302 | | - if (!(flag & CA_FORMAT_WITH_MASK)) |
| 303 | + if (!(flag & SUPPORTED_WITH_MASK)) |
303 | 304 | continue; |
304 | 305 |
|
305 | 306 | r = ca_with_feature_flags_format(flag, &s); |
@@ -1268,7 +1269,7 @@ static int verb_make(int argc, char *argv[]) { |
1268 | 1269 | return log_error_errno(r, "Failed to set store: %m"); |
1269 | 1270 | } |
1270 | 1271 |
|
1271 | | - r = load_feature_flags(s, operation == MAKE_BLOB_INDEX ? 0 : CA_FORMAT_WITH_MASK); |
| 1272 | + r = load_feature_flags(s, operation == MAKE_BLOB_INDEX ? 0 : SUPPORTED_WITH_MASK); |
1272 | 1273 | if (r < 0) |
1273 | 1274 | return r; |
1274 | 1275 |
|
@@ -1583,7 +1584,7 @@ static int verb_extract(int argc, char *argv[]) { |
1583 | 1584 | if (r < 0) |
1584 | 1585 | return r; |
1585 | 1586 |
|
1586 | | - r = load_feature_flags(s, CA_FORMAT_WITH_MASK); |
| 1587 | + r = load_feature_flags(s, SUPPORTED_WITH_MASK); |
1587 | 1588 | if (r < 0) |
1588 | 1589 | return r; |
1589 | 1590 |
|
@@ -2191,7 +2192,7 @@ static int verb_list(int argc, char *argv[]) { |
2191 | 2192 | if (r < 0) |
2192 | 2193 | return r; |
2193 | 2194 |
|
2194 | | - r = load_feature_flags(s, CA_FORMAT_WITH_MASK); |
| 2195 | + r = load_feature_flags(s, SUPPORTED_WITH_MASK); |
2195 | 2196 | if (r < 0) |
2196 | 2197 | return r; |
2197 | 2198 |
|
@@ -2500,7 +2501,7 @@ static int verb_digest(int argc, char *argv[]) { |
2500 | 2501 | if (r < 0) |
2501 | 2502 | return r; |
2502 | 2503 |
|
2503 | | - r = load_feature_flags(s, IN_SET(operation, DIGEST_BLOB, DIGEST_BLOB_INDEX) ? 0 : CA_FORMAT_WITH_MASK); |
| 2504 | + r = load_feature_flags(s, IN_SET(operation, DIGEST_BLOB, DIGEST_BLOB_INDEX) ? 0 : SUPPORTED_WITH_MASK); |
2504 | 2505 | if (r < 0) |
2505 | 2506 | return r; |
2506 | 2507 |
|
|
0 commit comments