mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-10 01:07:31 +09:00
Update NSS to 3.48 while keeping vc2013 hackfix and no-sslkeylogfile intact.
This commit is contained in:
parent
0b9855b841
commit
171849c8e5
351 changed files with 115185 additions and 57946 deletions
|
|
@ -11,10 +11,13 @@
|
|||
#include "sslexp.h"
|
||||
|
||||
struct ScopedDeleteSSL {
|
||||
void operator()(SSLAeadContext* ctx) { SSL_DestroyAead(ctx); }
|
||||
void operator()(SSLAntiReplayContext* ctx) {
|
||||
SSL_ReleaseAntiReplayContext(ctx);
|
||||
}
|
||||
void operator()(SSLResumptionTokenInfo* token) {
|
||||
SSL_DestroyResumptionTokenInfo(token);
|
||||
}
|
||||
void operator()(SSLAeadContext* ctx) { SSL_DestroyAead(ctx); }
|
||||
};
|
||||
|
||||
template <class T>
|
||||
|
|
@ -29,8 +32,9 @@ struct ScopedMaybeDeleteSSL {
|
|||
|
||||
#define SCOPED(x) typedef std::unique_ptr<x, ScopedMaybeDeleteSSL<x> > Scoped##x
|
||||
|
||||
SCOPED(SSLResumptionTokenInfo);
|
||||
SCOPED(SSLAeadContext);
|
||||
SCOPED(SSLAntiReplayContext);
|
||||
SCOPED(SSLResumptionTokenInfo);
|
||||
|
||||
#undef SCOPED
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue