Sylvestre Ledru
9b414b6cd2
Bug 1617437 - ssltunnel.cpp: Fix some -Wnon-c-typedef-for-linkage warnings r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D63786
--HG--
extra : moz-landing-system : lando
2020-02-28 19:29:30 +00:00
Kevin Jacobs
ac1216ba9e
Bug 1592175 - Enable TLS session tickets in ssltunnel r=keeler
...
This patch updates ssltunnel to enable TLS session tickets. With the NSS change to update the TLS version default to 1.3 (where it was 1.2 prior), this is necessary to support resumption.
Differential Revision: https://phabricator.services.mozilla.com/D51129
--HG--
extra : moz-landing-system : lando
2019-10-30 21:26:38 +00:00
Dana Keeler
2e5c90833c
bug 1590888 - reinstate filtering of client certificate selection during the TLS handshake r=kjacobs
...
Bug 1267643
removed filtering of client certificates based on the
"certificate_authorities" list sent in the client certificate request from the
server in TLS handshakes because it is impossible to implement as specified
without false negatives (i.e. excluding certificates that could be usable but
don't seem to be according to the certificates the client is aware of). In
practice, however, it seems enough users rely on this behavior[0] that we
should add it back until the platform can save client certificate selections
across restarts and the "select one automatically" option is removed (see also
bug 634697).
[0] See e.g. bug 1588703, bug 1590297, bug 1590596, bug 1074195 comment 27,
and any other duplicates of this bug.
Differential Revision: https://phabricator.services.mozilla.com/D50355
--HG--
extra : moz-landing-system : lando
2019-10-25 17:11:25 +00:00
Kevin Jacobs
b93f23a66b
Bug 1535210 - Set SSL STATE_IS_BROKEN flag for TLS1.0 and TLS 1.1 connections. r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D29576
--HG--
extra : moz-landing-system : lando
2019-05-15 23:34:52 +00:00
Sylvestre Ledru
a1dce6440a
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28329
--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Bob Clary
e263e174bf
Bug 1544089 - Allow the configuration of the ssltunnel listening address, r=mayhemer.
...
Differential Revision: https://phabricator.services.mozilla.com/D27722
--HG--
extra : moz-landing-system : lando
2019-04-17 14:37:28 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Alex Gaynor
dda9947e2d
Bug 1508342 - fixed a deprecation warning due to including an old header; r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D12325
--HG--
extra : moz-landing-system : lando
2018-11-21 22:29:54 +00:00
Logan Smyth
dbcdeb19e0
Bug 1474895 - Only listen on loopback to avoid constant firewall warnings.
...
Differential Revision: https://phabricator.services.mozilla.com/D7233
--HG--
extra : moz-landing-system : lando
2018-10-05 02:01:37 +00:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Sylvestre Ledru
91704dc94a
Bug 1338086 - Remove useless else blocks in order to reduce complexity testing/mochitest/ssltunnel/ r=jmaher
...
MozReview-Commit-ID: sbiCAKDekh
--HG--
extra : rebase_source : 1145ab7ada71a0ac636acefebfb98858b20e18a8
2017-02-09 10:53:11 +01:00
Sylvestre Ledru
4e69d0dd54
Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in testing/mochitest/ r=jmaher
...
MozReview-Commit-ID: D0GA9NJPWfd
--HG--
extra : rebase_source : 820629f886f8d2f003949cc84a447d34bf55405d
2017-02-08 12:04:02 +01:00
Tooru Fujisawa
23c2bc22c1
Bug 1311319 - Part 3: Do not call PR_GetErrorText() when PR_GetErrorTextLength() is 0 in ssltunnel.cpp. r=jwalden
2016-10-23 01:46:34 +09:00
Cykesiopka
f80e8d8c28
Bug 1310411 - Stop using ScopedNSSTypes Scoped.h types in ssltunnel.cpp. r=ted
...
Scoped.h is deprecated.
MozReview-Commit-ID: 4a0A1Q1bCiq
--HG--
extra : rebase_source : a80fabb4d7b74f44cb876266645ef2c1a3791ae5
2016-10-18 17:39:22 +08:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Jonathan Kingston
11a106fd9b
Bug 1252068 - Adding in reset prefs button on SSLNetError page. r=gijs
...
MozReview-Commit-ID: BJQ0cYlrS6O
--HG--
extra : transplant_source : %C7%FA%195%1C%87%1BDp%04%1CZI%A3N%94%F5%1Ch%3B
2016-05-04 17:10:45 +01:00
Chris Peterson
3fee84300a
Bug 1235238 - Remove unnecessary switch fallthrough to fix -Wimplicit-fallthrough warning in ssltunnel. r=mayhemer
...
testing/mochitest/ssltunnel/ssltunnel.cpp:1387:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:17:50 -08:00
Ben Kelly
9fa183e323
Bug 1168129 Fix ssltunnel.cpp FAIL_ON_WARNING build errors on some platforms. r=ted
2015-05-27 14:10:10 -07:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Daniel Holbert
5f73d74062
Bug 1167249: Use delete[] instead of delete to deallocate some arrays in mochitest ssltunnel.cpp. r=ted
2015-05-22 12:47:02 -07:00
Ryan Nath
93343f53df
Bug 1142684 - Prevent |f| and |authoption| from being leaked in early return cases. r=ted
2015-05-20 20:44:00 -04:00
Geoff Brown
93c6c719d0
Bug 1084614 - Improve error message on bind failure in ssltunnel; r=ted
2015-02-26 14:56:47 -07:00
Mark Goodwin
3e0221da03
Bug 1096197
- Ensure SSL Error reports work when there is no failed certificate chain. r=keeler
...
--HG--
rename : browser/base/content/test/general/browser_bug846489.js => browser/base/content/test/general/browser_ssl_error_reports.js
rename : browser/base/content/test/general/browser_bug846489_content.js => browser/base/content/test/general/browser_ssl_error_reports_content.js
2015-01-07 02:28:00 -05:00
Masatoshi Kimura
c8b6471be5
Bug 1100917 - Add config options for SSL3/RC4 only servers to ssltunnel. r=ted
2014-11-26 20:37:18 +09:00
Birunthan Mohanathas
1e8f99fd01
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Ehsan Akhgari
c8443f0d24
Bug 928043 - Remove some prtypes.h inclusions from startupcache/, testing/ and toolkit/; r=bsmedberg
...
--HG--
extra : rebase_source : 5886932dda22ae179e8998ad92758e99495d09bd
2013-10-18 20:34:57 -04:00
Brian Smith
e4a4d92ee8
Bug 767241, Part 3: Replace uses of one-off Auto* classes with ScopedNSSTypes in ssltunnel, r=ted
...
--HG--
extra : rebase_source : d3d9c1e474bee2c0952d5d71cb3e7460d661a5aa
2012-11-12 09:42:33 -08:00
Brian Smith
b01adc0cab
Backed out changeset 329da1081148
...
--HG--
extra : rebase_source : 9efe319bbff8d9a3f55208686d238626bf6d0dc0
2012-11-30 19:36:08 -08:00
Brian Smith
06ad52cc6b
Bug 767241, Part 3: Replace uses of one-off Auto* classes with ScopedNSSTypes in ssltunnel, r=ted
2012-11-12 09:42:33 -08:00
Isaac Aggrey
d159f53557
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Honza Bambas
ae405385f0
Bug 761529 - ssltunnel broken in non-proxy mode, r=jgriffin
2012-06-07 18:10:21 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
60b5d7f292
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
5397f4846a
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Patrick McManus
637ad95bfd
bug 599295 r=jduell
...
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Honza Bambas
ec27d7b0f9
Bug 675613 - Increase limit for thread number in ssltunnel, r=ted.mielczarek
2011-08-03 23:36:49 +02:00
Ed Morley
3f49fdcb2a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Patrick McManus
5fd56cb6b8
bug 640003 - websockets, fixup tests for new server r=smaug r=biesi
2011-05-21 21:27:52 -04:00
Honza Bambas
486e7e3f56
Bug 542207 - ssltunnel: clean up and update logging and make it optional, r=ted, a=test-only-change
2010-10-25 18:47:23 +02:00
Robert Sayre
c9964e0a70
Backed out changeset e393b9673207. ( Bug 573803 - add SSL WebSocket support to mochitest. r=ted )
2010-07-29 13:13:11 -07:00
Jonathan Griffin
fd0b5e28d8
Bug 573803 - add SSL WebSocket support to mochitest. r=ted
2010-07-29 10:23:58 -07:00
Jonathan Griffin
49f25de186
Bug 572570 - allow ssltunnel to detect WebSocket traffic via header inspection. r=ted
2010-07-28 10:55:36 -07:00
Jonathan Griffin
df583f3699
Bug 572570 - backed out changeset 90ade0c197ed due to linux m0 oranges
2010-07-26 16:01:06 -07:00