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

Issue 474663002: Remove manual CRYPTO_add calls. (Closed)

Created:
6 years, 4 months ago by davidben
Modified:
6 years, 4 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, dcheng, awong
Project:
chromium
Visibility:
Public.

Description

Remove manual CRYPTO_add calls. Use X509_chain_up_ref, EVP_PKEY_dup, and newly-added X509_up_ref instead. Also RAII OpenSSLClientKeyStore. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289498

Patch Set 1 #

Total comments: 2

Patch Set 2 : scoped_ptr silliness #

Patch Set 3 : speling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -57 lines) Patch
M net/base/openssl_private_key_store_memory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/x509_certificate_openssl.cc View 1 chunk +1 line, -7 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 3 chunks +4 lines, -20 lines 0 comments Download
M net/ssl/openssl_client_key_store.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/ssl/openssl_client_key_store.cc View 1 2 3 chunks +16 lines, -27 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
davidben
6 years, 4 months ago (2014-08-13 22:33:52 UTC) #1
Ryan Sleevi
Adding dcheng@ as an FYI on this gotcha, but if you feel so motivated, you ...
6 years, 4 months ago (2014-08-13 22:49:39 UTC) #2
davidben
https://codereview.chromium.org/474663002/diff/1/net/ssl/openssl_client_key_store.cc File net/ssl/openssl_client_key_store.cc (right): https://codereview.chromium.org/474663002/diff/1/net/ssl/openssl_client_key_store.cc#newcode55 net/ssl/openssl_client_key_store.cc:55: private_key.reset(EVP_PKEY_dup(other.private_key.get())); On 2014/08/13 22:49:38, Ryan Sleevi wrote: > Are ...
6 years, 4 months ago (2014-08-13 23:41:39 UTC) #3
Ryan Sleevi
On 2014/08/13 23:41:39, David Benjamin wrote: > https://codereview.chromium.org/474663002/diff/1/net/ssl/openssl_client_key_store.cc > File net/ssl/openssl_client_key_store.cc (right): > > https://codereview.chromium.org/474663002/diff/1/net/ssl/openssl_client_key_store.cc#newcode55 ...
6 years, 4 months ago (2014-08-14 00:37:52 UTC) #4
Ryan Sleevi
lgtm
6 years, 4 months ago (2014-08-14 00:38:26 UTC) #5
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 4 months ago (2014-08-14 00:48:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/474663002/40001
6 years, 4 months ago (2014-08-14 00:55:31 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 09:31:09 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (40001) as 289498

Powered by Google App Engine
This is Rietveld 408576698