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

Unified Diff: net/third_party/nss/ssl/sslerrstrs.c

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
« no previous file with comments | « net/third_party/nss/ssl/sslerr.c ('k') | net/third_party/nss/ssl/sslgathr.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/sslerrstrs.c
diff --git a/net/third_party/nss/ssl/sslerrstrs.c b/net/third_party/nss/ssl/sslerrstrs.c
deleted file mode 100644
index 4e3db6d73c37dc095d97fa8ff0f6cf60bd683309..0000000000000000000000000000000000000000
--- a/net/third_party/nss/ssl/sslerrstrs.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#include "prerror.h"
-#include "sslerr.h"
-#include "prinit.h"
-#include "nssutil.h"
-#include "ssl.h"
-
-#define ER3(name, value, str) { #name, str },
-
-static const struct PRErrorMessage ssltext[] = {
-#include "SSLerrs.h"
- { 0, 0 }
-};
-
-static const struct PRErrorTable ssl_et = {
- ssltext, "sslerr", SSL_ERROR_BASE,
- (sizeof ssltext) / (sizeof ssltext[0])
-};
-
-static PRStatus
-ssl_InitializePRErrorTableOnce(void)
-{
- return PR_ErrorInstallTable(&ssl_et);
-}
-
-static PRCallOnceType once;
-
-SECStatus
-ssl_InitializePRErrorTable(void)
-{
- return (PR_SUCCESS == PR_CallOnce(&once, ssl_InitializePRErrorTableOnce))
- ? SECSuccess
- : SECFailure;
-}
« no previous file with comments | « net/third_party/nss/ssl/sslerr.c ('k') | net/third_party/nss/ssl/sslgathr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698