mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
79f483a3ad
ScopedAutoSECItem is useful for getting rid of this pattern: > ScopedSECItem item(SECITEM_AllocItem(nullptr, nullptr, 0)); While this pattern works, ScopedAutoSECItem is slightly superior in that it doesn't unnecessarily cause a SECItem to be allocated from the heap. Moreover, this moves us further away from Scoped.h, which is deprecated. MozReview-Commit-ID: B30MNTHzzTc --HG-- extra : rebase_source : 8d6dea205fc8800a46104b48c670eff250a4731a |
||
---|---|---|
.. | ||
test | ||
CryptoBuffer.cpp | ||
CryptoBuffer.h | ||
CryptoKey.cpp | ||
CryptoKey.h | ||
KeyAlgorithmProxy.cpp | ||
KeyAlgorithmProxy.h | ||
moz.build | ||
WebCryptoCommon.h | ||
WebCryptoTask.cpp | ||
WebCryptoTask.h | ||
WebCryptoThreadPool.cpp | ||
WebCryptoThreadPool.h |