Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: extensions/browser/api/cast_channel/logger.cc

Issue 687733004: Implement crypto signature verification routines using OpenSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix const truncation warning (raised by Win builds.) Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/cast_channel/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index bddf53971c24515792cbe689486390e8a7905159..c174af27112adab1664442556ba94db197e1bd3b 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -46,14 +46,14 @@ proto::ChallengeReplyErrorType ChallegeReplyErrorToProto(
return proto::CHALLENGE_REPLY_ERROR_NO_RESPONSE;
case AuthResult::ERROR_FINGERPRINT_NOT_FOUND:
return proto::CHALLENGE_REPLY_ERROR_FINGERPRINT_NOT_FOUND;
- case AuthResult::ERROR_NSS_CERT_PARSING_FAILED:
- return proto::CHALLENGE_REPLY_ERROR_NSS_CERT_PARSING_FAILED;
- case AuthResult::ERROR_NSS_CERT_NOT_SIGNED_BY_TRUSTED_CA:
- return proto::CHALLENGE_REPLY_ERROR_NSS_CERT_NOT_SIGNED_BY_TRUSTED_CA;
- case AuthResult::ERROR_NSS_CANNOT_EXTRACT_PUBLIC_KEY:
- return proto::CHALLENGE_REPLY_ERROR_NSS_CANNOT_EXTRACT_PUBLIC_KEY;
- case AuthResult::ERROR_NSS_SIGNED_BLOBS_MISMATCH:
- return proto::CHALLENGE_REPLY_ERROR_NSS_SIGNED_BLOBS_MISMATCH;
+ case AuthResult::ERROR_CERT_PARSING_FAILED:
+ return proto::CHALLENGE_REPLY_ERROR_CERT_PARSING_FAILED;
+ case AuthResult::ERROR_CERT_NOT_SIGNED_BY_TRUSTED_CA:
+ return proto::CHALLENGE_REPLY_ERROR_CERT_NOT_SIGNED_BY_TRUSTED_CA;
+ case AuthResult::ERROR_CANNOT_EXTRACT_PUBLIC_KEY:
+ return proto::CHALLENGE_REPLY_ERROR_CANNOT_EXTRACT_PUBLIC_KEY;
+ case AuthResult::ERROR_SIGNED_BLOBS_MISMATCH:
+ return proto::CHALLENGE_REPLY_ERROR_SIGNED_BLOBS_MISMATCH;
default:
NOTREACHED();
return proto::CHALLENGE_REPLY_ERROR_NONE;
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket.cc ('k') | extensions/browser/api/cast_channel/logger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698