diff --git a/src/common/crypto.cpp b/src/common/crypto.cpp index ed6e32f..04d2e2f 100644 --- a/src/common/crypto.cpp +++ b/src/common/crypto.cpp @@ -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_,