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

Issue 2534773002: Set OPENSSL_EC_NAMED_CURVE explicitly on EC key so that certificate has ASN1 OID and NIST curve inf… (Closed)

Created:
4 years ago by ssaroha
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc, henrika_webrtc, Henrik Grunell WebRTC, pthatcher1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Set OPENSSL_EC_NAMED_CURVE explicitly on EC key so that certificate has ASN1 OID and NIST curve info. Without this openSSL handshake negotiation fails throwing NO_SHARED_CIPHER error. the change made is along the lines of openssl behavior documented here: https://wiki.openssl.org/index.php/Elliptic_Curve_Diffie_Hellman#ECDH_and_Named_Curves tested with openssl 1.0.2j BUG=webrtc:6763 Committed: https://crrev.com/bbfed52cf2912d5088abeb017049241e4d37d21f Cr-Commit-Position: refs/heads/master@{#15536}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixes BUG=webrtc:6763 Set OPENSSL_EC_NAMED_CURVE explicitly on EC key so that curve name is include… #

Total comments: 2

Patch Set 3 : Fixes BUG=webrtc:6763 Set OPENSSL_EC_NAMED_CURVE explicitly on EC key so that curve name is include… #

Patch Set 4 : Fixes BUG=webrtc:6763 Set OPENSSL_EC_NAMED_CURVE explicitly on EC key so that curve name is include… #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 1 comment Download
M webrtc/base/opensslidentity.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/base/opensslstreamadapter.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
mattdr-at-webrtc.org
https://codereview.webrtc.org/2534773002/diff/1/webrtc/base/opensslidentity.cc File webrtc/base/opensslidentity.cc (right): https://codereview.webrtc.org/2534773002/diff/1/webrtc/base/opensslidentity.cc#newcode68 webrtc/base/opensslidentity.cc:68: EC_KEY_set_asn1_flag(ec_key, OPENSSL_EC_NAMED_CURVE); Let's change this comment to offer a ...
4 years ago (2016-11-29 23:52:11 UTC) #3
ssaroha
On 2016/11/29 23:52:11, mattdr-at-webrtc.org wrote: > https://codereview.webrtc.org/2534773002/diff/1/webrtc/base/opensslidentity.cc > File webrtc/base/opensslidentity.cc (right): > > https://codereview.webrtc.org/2534773002/diff/1/webrtc/base/opensslidentity.cc#newcode68 > ...
4 years ago (2016-12-02 16:16:35 UTC) #4
mattdr-at-webrtc.org
Thanks for the patch. Just some cosmetic stuff and it will be ok to submit. ...
4 years ago (2016-12-02 19:10:29 UTC) #5
ssaroha
On 2016/12/02 19:10:29, mattdr-at-webrtc.org wrote: > Thanks for the patch. Just some cosmetic stuff and ...
4 years ago (2016-12-03 01:38:47 UTC) #6
mattdr-at-webrtc.org
lgtm
4 years ago (2016-12-07 21:56:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2534773002/60001
4 years ago (2016-12-07 21:58:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/11172)
4 years ago (2016-12-07 22:05:47 UTC) #11
mattdr-at-webrtc.org
added pthatcher for OWNERS
4 years ago (2016-12-07 23:08:52 UTC) #13
pthatcher1
Looks good to me. I just want to make sure we have the correct contributor ...
4 years ago (2016-12-08 02:24:55 UTC) #14
ssaroha
On 2016/12/08 02:24:55, pthatcher1 wrote: > Looks good to me. I just want to make ...
4 years ago (2016-12-08 03:03:33 UTC) #15
pthatcher1
lgtm
4 years ago (2016-12-10 02:01:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2534773002/60001
4 years ago (2016-12-12 02:07:51 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-12 02:42:11 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-12 02:42:19 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bbfed52cf2912d5088abeb017049241e4d37d21f
Cr-Commit-Position: refs/heads/master@{#15536}

Powered by Google App Engine
This is Rietveld 408576698