summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-22 15:13:53 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-22 15:14:36 +0100
commit7f444afa1b62920265fec99a61cb4dc53d521956 (patch)
tree963e8f569b862daee12bb9ceb35740c78720c111 /src/shared
parente0ea94c1e2ab3930c85c6057189a2a829a13a800 (diff)
import: rename --verify=sum to --verify=checksum
This is how we call it internally, and also a bit more descriptive.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/import-util.c2
-rw-r--r--src/shared/import-util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/import-util.c b/src/shared/import-util.c
index 46671e8c99..660d92ac5d 100644
--- a/src/shared/import-util.c
+++ b/src/shared/import-util.c
@@ -76,7 +76,7 @@ int import_url_change_last_component(const char *url, const char *suffix, char *
static const char* const import_verify_table[_IMPORT_VERIFY_MAX] = {
[IMPORT_VERIFY_NO] = "no",
- [IMPORT_VERIFY_SUM] = "sum",
+ [IMPORT_VERIFY_CHECKSUM] = "checksum",
[IMPORT_VERIFY_SIGNATURE] = "signature",
};
diff --git a/src/shared/import-util.h b/src/shared/import-util.h
index da87a4012b..ff155b0ff2 100644
--- a/src/shared/import-util.h
+++ b/src/shared/import-util.h
@@ -27,7 +27,7 @@
typedef enum ImportVerify {
IMPORT_VERIFY_NO,
- IMPORT_VERIFY_SUM,
+ IMPORT_VERIFY_CHECKSUM,
IMPORT_VERIFY_SIGNATURE,
_IMPORT_VERIFY_MAX,
_IMPORT_VERIFY_INVALID = -1,