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

Unified Diff: net/socket/ssl_server_socket_unittest.cc

Issue 2113143004: Switch to OpenSSL's |EVP_PKEY_up_ref| signature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « crypto/rsa_private_key.cc ('k') | net/ssl/openssl_client_key_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_server_socket_unittest.cc
diff --git a/net/socket/ssl_server_socket_unittest.cc b/net/socket/ssl_server_socket_unittest.cc
index 92481a8e782f335232c1941abf1a72fab19993ef..702f3d08959d0b0fdd37cac0d7f442978442a035 100644
--- a/net/socket/ssl_server_socket_unittest.cc
+++ b/net/socket/ssl_server_socket_unittest.cc
@@ -450,8 +450,9 @@ class SSLServerSocketTest : public PlatformTest {
ReadTestKey(private_key_file_name);
ASSERT_TRUE(key);
- client_ssl_config_.client_private_key = WrapOpenSSLPrivateKey(
- crypto::ScopedEVP_PKEY(EVP_PKEY_up_ref(key->key())));
+ EVP_PKEY_up_ref(key->key());
+ client_ssl_config_.client_private_key =
+ WrapOpenSSLPrivateKey(crypto::ScopedEVP_PKEY(key->key()));
}
void ConfigureClientCertsForServer() {
« no previous file with comments | « crypto/rsa_private_key.cc ('k') | net/ssl/openssl_client_key_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698