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

Unified Diff: runtime/bin/security_context_macos.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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 | « runtime/bin/security_context_linux.cc ('k') | runtime/bin/security_context_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/security_context_macos.cc
diff --git a/runtime/bin/security_context_macos.cc b/runtime/bin/security_context_macos.cc
index 9a63738a0c542c848c328ef8039c603883fe9d1f..35013ca515ad8dcee3a6aff8c928349affa73005 100644
--- a/runtime/bin/security_context_macos.cc
+++ b/runtime/bin/security_context_macos.cc
@@ -72,7 +72,6 @@ static SecCertificateRef CreateSecCertificateFromX509(X509* cert) {
return auth_cert;
}
-
static int CertificateVerificationCallback(X509_STORE_CTX* ctx, void* arg) {
SSLCertContext* context = static_cast<SSLCertContext*>(arg);
@@ -163,13 +162,11 @@ static int CertificateVerificationCallback(X509_STORE_CTX* ctx, void* arg) {
return ctx->verify_cb(0, ctx);
}
-
void SSLCertContext::RegisterCallbacks(SSL* ssl) {
SSL_CTX* ctx = SSL_get_SSL_CTX(ssl);
SSL_CTX_set_cert_verify_callback(ctx, CertificateVerificationCallback, this);
}
-
void SSLCertContext::TrustBuiltinRoots() {
// First, try to use locations specified on the command line.
if (commandline_root_certs_file != NULL) {
« no previous file with comments | « runtime/bin/security_context_linux.cc ('k') | runtime/bin/security_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698