b252856d10
Remove all uses of the HAVE_CONFIG_H define.
...
BUG=
R=henrik.lundin@webrtc.org , pthatcher@google.com , stefan@webrtc.org , tommi@webrtc.org
Review URL: https://codereview.webrtc.org/1820023004 .
Cr-Commit-Position: refs/heads/master@{#12141}
2016-03-29 15:47:28 +00:00
a3dc79e072
Move SSLIdentity Generate() implementations from .h to .cc file.
...
This amends https://codereview.webrtc.org/1683193003/
BUG=
R=hbos@webrtc.org , tommi@webrtc.org
Review URL: https://codereview.webrtc.org/1701953002 .
Cr-Commit-Position: refs/heads/master@{#11632}
2016-02-16 12:34:04 +00:00
e8dc081c35
Implement certificate lifetime parameter as required by WebRTC RFC.
...
BUG=chromium:569005
Review URL: https://codereview.webrtc.org/1683193003
Cr-Commit-Position: refs/heads/master@{#11629}
2016-02-15 17:36:01 +00:00
46c9cc0190
Provide method for returning certificate expiration time stamp.
...
We convert ASN1 time via std::tm to int64_t representing milliseconds-since-epoch. We do not use time_t since that cannot store milliseconds, and expires for 32-bit platforms in 2038 also for seconds.
Conversion via std::tm might might seem silly, but actually doesn't add any complexity.
One would expect tm -> seconds-since-epoch to already exist on the standard library. There is mktime, but it uses localtime (and sets an environment variable, and has the 2038 problem).
The ASN1 TIME parsing is limited to what is required by RFC 5280.
BUG=webrtc:5150
R=hbos@webrtc.org , nisse@webrtc.org , tommi@webrtc.org
Review URL: https://codereview.webrtc.org/1468273004 .
Cr-Commit-Position: refs/heads/master@{#10854}
2015-12-01 12:06:46 +00:00
4e572470a3
Provide RSA2048 as per RFC
...
Original CL here:
https://codereview.webrtc.org/1329493005
That CL is in patch set #1 of this CL.
This CL resolves a method collision in Chrome.
BUG=webrtc:4972
Review URL: https://codereview.webrtc.org/1394223002
Cr-Commit-Position: refs/heads/master@{#10222}
2015-10-08 16:43:03 +00:00
335204c550
Revert of Provide RSA2048 as per RFC (patchset #9 id:200001 of https://codereview.webrtc.org/1329493005/ )
...
Reason for revert:
Breaks chrome.
Original issue's description:
> provide RSA2048 as per RFC
>
> BUG=webrtc:4972
>
> Committed: https://crrev.com/0df3eb03c9a6a8299d7e18c8c314ca58c2f0681e
> Cr-Commit-Position: refs/heads/master@{#10209}
TBR=hbos@webrtc.org ,juberti@google.com ,jbauch@webrtc.org ,henrikg@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4972
Review URL: https://codereview.webrtc.org/1397703002
Cr-Commit-Position: refs/heads/master@{#10210}
2015-10-08 09:30:21 +00:00
0df3eb03c9
provide RSA2048 as per RFC
...
BUG=webrtc:4972
Review URL: https://codereview.webrtc.org/1329493005
Cr-Commit-Position: refs/heads/master@{#10209}
2015-10-08 09:06:20 +00:00
172f009be2
Get rid of SCHANNEL code.
...
BUG=webrtc:5045
Review URL: https://codereview.webrtc.org/1383253002
Cr-Commit-Position: refs/heads/master@{#10199}
2015-10-07 11:58:00 +00:00
07d09364b0
Purge nss files and dependencies.
...
This replaces https://codereview.webrtc.org/1313233005
which was reverted after triggering Chromium issues.
The only difference is that we're cleaned up dependencies
on use_openssl from the gyp file.
Since https://codereview.chromium.org/1358913003 landed,
this CL should cause no Chromium issues.
BUG=webrtc:4497
Review URL: https://codereview.webrtc.org/1351503004
Cr-Commit-Position: refs/heads/master@{#10019}
2015-09-22 18:58:13 +00:00
9b5476de9a
sslidentity.cc/IntKeyTypeFamilyToKeyType function added, converting from int to KeyType.
...
Added to prevent Chromium from breaking if KeyType (now an enum) starts being used in Chromium before KeyType changes to a parameterizable class. When enum -> class change happens, IntKeyTypeFamilyToKeyType will be updated at the same time.
Once Chromium starts using class KeyType with parameters this function can be removed.
R=tommi@webrtc.org
Review URL: https://codereview.webrtc.org/1363543002 .
Cr-Commit-Position: refs/heads/master@{#10013}
2015-09-22 12:13:23 +00:00
9eb1365939
Revert of purge nss files and dependencies (patchset #1 id:1 of https://codereview.webrtc.org/1313233005/ )
...
Reason for revert:
It looks like this broke the FYI bots. I tried updating libjingle_nacl.gyp, but the IOS build still failed because in Chrome it's configured to use NSS. See https://codereview.chromium.org/1316863012/ .
Original issue's description:
> purge nss files and dependencies
>
> BUG=webrtc:4497
>
> Committed: https://crrev.com/5647a2cf3db888195c928a1259d98f72f6ecbc15
> Cr-Commit-Position: refs/heads/master@{#9862}
TBR=tommi@webrtc.org ,kjellander@webrtc.org ,torbjorng@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4497
Review URL: https://codereview.webrtc.org/1311843006
Cr-Commit-Position: refs/heads/master@{#9867}
2015-09-05 11:39:24 +00:00
5647a2cf3d
purge nss files and dependencies
...
BUG=webrtc:4497
Review URL: https://codereview.webrtc.org/1313233005
Cr-Commit-Position: refs/heads/master@{#9862}
2015-09-04 15:12:00 +00:00
b6d4ec4185
Support generation of EC keys using P256 curve and support ECDSA certs.
...
This CL started life here: https://webrtc-codereview.appspot.com/51189004
BUG=webrtc:4685, webrtc:4686
R=hbos@webrtc.org , juberti@webrtc.org
Review URL: https://codereview.webrtc.org/1189583002 .
Cr-Commit-Position: refs/heads/master@{#9718}
2015-08-17 12:09:10 +00:00
67186fe00c
Fix clang style warnings in webrtc/base
...
Mostly this consists of marking functions with override when
applicable, and moving function bodies from .h to .cc files.
Not inlining virtual functions with simple bodies such as
{ return false; }
strikes me as probably losing more in readability than we gain in
binary size and compilation time, but I guess it's just like any other
case where enabling a generally good warning forces us to write
slightly worse code in a couple of places.
BUG=163
R=kjellander@webrtc.org , tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/47429004
Cr-Commit-Position: refs/heads/master@{#8656}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8656 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-09 22:24:25 +00:00
f048872e91
Adds a modified copy of talk/base to webrtc/base. It is the first step in
...
migrating talk/base to webrtc/base.
BUG=N/A
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/17479005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6129 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 18:00:26 +00:00
e9a604accd
Revert 6107 "Adds a modified copy of talk/base to webrtc/base. I..."
...
This breaks Chromium FYI builds and prevent roll of webrtc/libjingle to Chrome.
http://chromegw.corp.google.com/i/chromium.webrtc.fyi/builders/Win%20Builder/builds/457
> Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base.
>
> BUG=N/A
> R=andrew@webrtc.org , wu@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/12199004
TBR=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6116 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 08:15:48 +00:00
2c7d1b39b9
Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base.
...
BUG=N/A
R=andrew@webrtc.org , wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/12199004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6107 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 18:03:09 +00:00