summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-09-28 08:34:18 -1000
committerSam Bingner <sam@bingner.com>2018-09-28 10:02:56 -1000
commit35f80ea571b726ae77bcabab4e896b85e541bf04 (patch)
tree359f51506354ea0a6f6c469d294f5adb5df6031a /methods
parent2aa218273eb6009880e987f90d3e24b8efb04642 (diff)
Remove errors that we don't need
Diffstat (limited to 'methods')
-rw-r--r--methods/gpgv.cc2
-rw-r--r--methods/http.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index 95a86f890..2ea9fdb0c 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -67,7 +67,7 @@ struct Digest {
static constexpr Digest Digests[] = {
{Digest::State::Untrusted, "Invalid digest"},
{Digest::State::Untrusted, "MD5"},
- {Digest::State::Untrusted, "SHA1"},
+ {Digest::State::Trusted, "SHA1"},
{Digest::State::Untrusted, "RIPE-MD/160"},
{Digest::State::Trusted, "Reserved digest"},
{Digest::State::Trusted, "Reserved digest"},
diff --git a/methods/http.cc b/methods/http.cc
index 4703584cf..35a7d9d3a 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -603,7 +603,7 @@ int main(int, const char *argv[])
if (UniqueID_ == NULL)
if (void *lockdown = lockdown_connect()) {
- UniqueID_ = lockdown_copy_value(lockdown, NULL, kLockdownUniqueDeviceIDKey);
+ UniqueID_ = (CFStringRef)lockdown_copy_value(lockdown, NULL, kLockdownUniqueDeviceIDKey);
lockdown_disconnect(lockdown);
}