mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
crypto_25519_openssl: no need to check for m_evp_pkey != nullptr before free
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
@@ -70,11 +70,8 @@ uint32 CEC25519KeyBase::GetRawData( void *pData ) const
|
||||
|
||||
void CEC25519KeyBase::Wipe()
|
||||
{
|
||||
if ( m_evp_pkey )
|
||||
{
|
||||
EVP_PKEY_free( (EVP_PKEY*)m_evp_pkey );
|
||||
m_evp_pkey = nullptr;
|
||||
}
|
||||
EVP_PKEY_free( (EVP_PKEY*)m_evp_pkey );
|
||||
m_evp_pkey = nullptr;
|
||||
}
|
||||
|
||||
bool CEC25519KeyBase::SetRawData( const void *pData, size_t cbData )
|
||||
|
||||
Reference in New Issue
Block a user