Commit Graph
37 Commits
Author SHA1 Message Date
Mark Goodwin 8b3b5453df Bug 1390131 - Modify GenerateOCSPResponse.cpp to allow thisUpdate to be modified r=keeler
MozReview-Commit-ID: EL9E4UtZg17
2017-08-16 10:05:03 +01:00
Sergei Chernov 28c3fcf920 Bug 1275238 - Certificate Transparency support in mozilla::pkix; r=keeler
MozReview-Commit-ID: HZwzSgxarTw
2016-06-15 11:11:00 +03:00
Cykesiopka 21cc7a6032 Bug 1271496 - Stop using Scoped.h in non-exported PSM code. r=keeler
Scoped.h is deprecated in favour of the standardised UniquePtr.

This patch removes use of Scoped.h everywhere in PSM except ScopedNSSTypes.h,
which is exported. Other consumers of ScopedNSSTypes.h can move off Scoped.h
at their own pace.

This patch also changes parameters and return types of various functions to make
ownership more explicit.

MozReview-Commit-ID: BFbtCDjENzy
2016-05-23 19:50:26 -07:00
Cykesiopka 0bfd71da46 Bug 1260643 - Convert most uses of ScopedCERTCertificate in PSM to UniqueCERTCertificate. r=keeler
MozReview-Commit-ID: JnjoUd7d2M0
2016-04-20 01:14:22 -07:00
Cykesiopka 81666b03fa Bug 1260644 - Use UniquePLArenaPool to manage PLArenaPools in PSM. r=keeler
MozReview-Commit-ID: HyLXbWoHMGz
2016-04-04 17:35:24 -07:00
Cykesiopka 40e35edded Bug 1258298 - Switch more Scoped.h templates in PSM to UniquePtr equivalents. r=keeler
MozReview-Commit-ID: 8VOhiuNOlBX
2016-03-24 18:30:37 -07:00
Brian Smith 0fe42e0acd Bug 1153738: Make ScopedPtr a minimal proper subset of std::unique_ptr, r=keeler
Remove all features of ScopedPtr that aren't in std::unique_ptr, and
remove all currently-unused features of ScopedPtr. In particular,
replace |operator=(T*)| with |reset(T* p = nullptr)| and make
|operator bool| explicit.
2015-04-13 00:28:11 -10:00
Brian Smith c7e83aa65d Bug 1136278, Part 2: Refactor test SubjectPublicKeyInfo generation, r=keeler 2015-02-26 13:10:13 -08:00
Chris Peterson 4d73807bd9 Bug 1095926 - Fix -Wcomment warning in OCSP test and mark some OCSP tests as FAIL_ON_WARNINGS. r=briansmith 2014-10-11 20:13:45 -07:00
Brian Smith 25803176d9 Bug 1078108: Use a longer OCSP response validity period in tests, r=keeler 2014-10-05 17:18:11 -07:00
Carsten "Tomcat" Book 418128174d Backed out changeset b885a82dc02a (bug 1078108) for breaking B2g ICS Builds 2014-10-10 09:01:45 +02:00
Brian Smith a38aa4e505 Bug 1078108: Use a longer OCSP response validity period in tests, r=keeler 2014-10-05 17:18:11 -07:00
Brian Smith da0192899d Bug 1077859: Make ENCODING_FAILED safe to use in static initializers, r=mmc 2014-10-03 15:52:38 -07:00
Carsten "Tomcat" Book ea7dd6973e Backed out changeset 76000f9f12da (bug 1077859) for causing frequent Mac OSX XPCshell test failures 2014-10-07 12:53:42 +02:00
Brian Smith 686990fcc4 Bug 1077859: Make ENCODING_FAILED safe to use in static initializers, r=mmc 2014-10-03 15:52:38 -07:00
Brian Smith e2450dbc80 Bug 1063006: Centralize direct use of NSS for crypto in the mozilla::pkix test suite, r=keeler 2014-08-31 17:47:09 -07:00
Brian Smith aae4dbd598 Bug 1061021, Part 15: Stop using PLArenaPool in CreateEncodedOCSPResponse, r=keeler 2014-09-01 19:23:01 -07:00
Brian Smith ae136dd8c2 Bug 1061021, Part 14: Stop using PLArenaPool in CreateEncodedCertificate, r=keeler 2014-08-30 23:09:18 -07:00
Brian Smith 7c5acc302b Bug 1061021, Part 10: Stop using PLArenaPool for extension encoding, r=keeler 2014-08-30 19:16:24 -07:00
Brian Smith f3268ac7cd Bug 1053924: Remove dependencies on PRTime in mozilla::pkix's test code, r=keeler 2014-08-08 10:33:18 -07:00
Brian Smith 283b50862e Bug 1041186, Part 2: Rename Input to Reader and InputBuffer to Input, r=keeler 2014-07-31 12:17:31 -07:00
Brian Smith e855325092 Bug 1041186, Part 1: Improve buffer overflow protection in mozilla::pkix, r=keeler 2014-07-18 22:30:51 -07:00
Brian Smith b3b69397a7 Bug 1026261: Remove CERTCertificate from mozilla::pkix revocation checking API, r=keeler 2014-06-20 10:10:51 -07:00
David Keeler 7ee8a90672 bug 997509 - heed expired Revoked or Unknown OCSP responses r=briansmith 2014-06-20 09:01:57 -07:00
Camilo Viecco 07991bc0b0 Bug 991815 - Part 2/2 - Tests for OCSP responses up to 1 year old. r=keeler 2014-05-28 14:08:02 -07:00
Brian Smith 0dd0ac3171 Bug 1005198: Make it easy to create test certificates in GTest tests, r=keeler 2014-04-25 19:57:40 -07:00
David Keeler 17587a2fef bug 991898 - mozilla::pkix: temporarily allow empty Extensions in OCSP responses r=briansmith 2014-04-17 16:01:18 -07:00
David Keeler 59f043e1ea bug 972753 - OCSP testing: delegated responses and including multiple certificates r=cviecco 2014-04-16 09:31:27 -07:00
David Keeler 4b873081b1 bug 994932 - fix error checking in GetOCSPResponseForType r=retornam 2014-04-15 14:21:08 -07:00
David Keeler 30d9664377 bug 987295 - mozilla::pkix: test ocsp extension decoding r=cviecco 2014-03-31 10:54:53 -07:00
David Keeler d9c59033ea bug 985201 - rename insanity::pkix to mozilla::pkix r=cviecco r=briansmith 2014-03-20 14:29:21 -07:00
David Keeler 6310282c4c bug 984567 - insanity::pkix: handle/test malformed OCSP responses r=briansmith r=cviecco 2014-03-19 09:36:10 -07:00
David Keeler c9fa5226dc Bug 974715 - Create more flexible OCSP response generation code. r=briansmith, r=cviecco 2014-03-10 14:04:31 -07:00
David Keeler 682f55ab15 Bug 964493, Part 2: Test, r=briansmith 2014-01-31 11:32:48 -08:00
David Keeler fafba8fa65 bug 932519 - (3/3) add an optional additional cert name as a parameter to GetOCSPResponseForType r=cviecco r=briansmith 2013-11-11 13:36:29 -08:00
David Keeler 25337d82b2 bug 932519 - (2/3) rename OCSP response generation test code to remove "stapling" r=cviecco r=briansmith 2013-11-11 13:42:35 -08:00
David Keeler a4a4dd58ab bug 932519 - (1/3) move common OCSP response generation test code for refactoring r=cviecco r=briansmith 2013-11-11 13:43:04 -08:00