mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
crypto: make EVPCTXPointer waste less visual space
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
+3
-14
@@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user