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

Unified Diff: content/child/webcrypto/openssl/sha_openssl.cc

Issue 803173010: Implement HKDF for webcrypto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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: content/child/webcrypto/openssl/sha_openssl.cc
diff --git a/content/child/webcrypto/openssl/sha_openssl.cc b/content/child/webcrypto/openssl/sha_openssl.cc
index e7ee049fefd1c66853c73442124a71882445483d..54e5682cd17f34bbe8300b62f92ae945f54a24f3 100644
--- a/content/child/webcrypto/openssl/sha_openssl.cc
+++ b/content/child/webcrypto/openssl/sha_openssl.cc
@@ -73,7 +73,7 @@ class DigestorOpenSsl : public blink::WebCryptoDigestor {
const EVP_MD* digest_algorithm = GetDigest(algorithm_id_);
if (!digest_algorithm)
- return Status::ErrorUnexpected();
+ return Status::ErrorUnsupported();
if (!digest_context_.get())
return Status::OperationError();

Powered by Google App Engine
This is Rietveld 408576698