summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-22 16:06:34 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-22 16:06:34 +0300
commit5375efac1af6488f8af5063fab243fe844334f05 (patch)
tree70d3a4c22f45f4960276de6261e967fe8b5d1045 /src/apk_defines.h
parent23582a0ec5e52489c22c15a1a77f32de514cf5d9 (diff)
downloadapk-tools-5375efac1af6488f8af5063fab243fe844334f05.tar.gz
apk-tools-5375efac1af6488f8af5063fab243fe844334f05.tar.bz2
apk-tools-5375efac1af6488f8af5063fab243fe844334f05.tar.xz
apk-tools-5375efac1af6488f8af5063fab243fe844334f05.zip
apk: allow-untrusted option
to not make hard error of untrusted or missing signatures
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 8cfb62b..7e66ada 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -59,6 +59,7 @@ extern unsigned int apk_flags;
#define APK_RECURSIVE 0x0020
#define APK_PREFER_AVAILABLE 0x0040
#define APK_UPDATE_CACHE 0x0080
+#define APK_ALLOW_UNTRUSTED 0x0100
#define apk_error(args...) do { apk_log("ERROR: ", args); } while (0)
#define apk_warning(args...) do { if (apk_verbosity > 0) { apk_log("WARNING: ", args); } } while (0)