diff options
author | Sam Bingner <sam@bingner.com> | 2018-09-28 08:34:18 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-08-18 12:07:59 -1000 |
commit | 253a7b37f6dccf97dc12425f01dabe05f29bbb73 (patch) | |
tree | e8dec3763ff57fdd41bfcfb23eaacd1195e54bf2 /methods | |
parent | 1f16ab10356678e5b46a9c4a3c07e5bfa0564f97 (diff) |
Remove errors that we don't need
Diffstat (limited to 'methods')
-rw-r--r-- | methods/gpgv.cc | 2 | ||||
-rw-r--r-- | methods/http.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc index f66e3356f..91417f308 100644 --- a/methods/gpgv.cc +++ b/methods/gpgv.cc @@ -68,7 +68,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 d1f6026a3..647b35c6b 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -601,7 +601,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); } |