crypto: make EVPCTXPointer waste less visual space

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
Steven Noonan
2019-01-15 16:53:20 -08:00
parent 0dea0f6078
commit 2a511db0d4
+3 -14
View File
@@ -54,20 +54,9 @@ class EVPCTXPointer
public:
CTXType ctx;
EVPCTXPointer()
{
this->ctx = NULL;
}
EVPCTXPointer(CTXType ctx)
{
this->ctx = ctx;
}
~EVPCTXPointer()
{
CleanupFunc(ctx);
}
EVPCTXPointer() { this->ctx = NULL; }
EVPCTXPointer(CTXType ctx) { this->ctx = ctx; }
~EVPCTXPointer() { CleanupFunc(ctx); }
};
static bool SymmetricEncryptHelper( const uint8 *pubPlaintextData, const uint32 cubPlaintextData_,