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

Unified Diff: net/cert/internal/verify_signed_data.cc

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing use_openssl (requires WebRTC change to compile) Created 4 years, 8 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: net/cert/internal/verify_signed_data.cc
diff --git a/net/cert/internal/verify_signed_data.cc b/net/cert/internal/verify_signed_data.cc
index eb0fd3ff2b6380e04d5eac1d5b3cd990425e768d..37a9a6a706511972ea05bd0ed09e894626764b57 100644
--- a/net/cert/internal/verify_signed_data.cc
+++ b/net/cert/internal/verify_signed_data.cc
@@ -7,28 +7,6 @@
#include "base/logging.h"
#include "net/der/parse_values.h"
-// TODO(eroman): There is no intention to implement this for non-OpenSSL. Remove
-// this branch once the migration is complete. This could have been done as a
-// conditional file (_openssl.cc) in the build file instead, but that is likely
-// not worth the effort at this point.
-
-#if !defined(USE_OPENSSL)
-
-namespace net {
-
-bool VerifySignedData(const SignatureAlgorithm& signature_algorithm,
- const der::Input& signed_data,
- const der::BitString& signature_value,
- const der::Input& public_key,
- const SignaturePolicy* policy) {
- NOTIMPLEMENTED();
- return false;
-}
-
-} // namespace net
-
-#else
-
#include <openssl/bytestring.h>
#include <openssl/digest.h>
#include <openssl/ec.h>
@@ -312,5 +290,3 @@ bool VerifySignedData(const SignatureAlgorithm& signature_algorithm,
}
} // namespace net
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698