mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Fix compilation under MSVC(VS2019)
This commit is contained in:
@@ -634,11 +634,10 @@ void CPackedStore::Write( void )
|
||||
|
||||
// Do we plan on signing this thing and writing a signature?
|
||||
m_Signature.Purge();
|
||||
uint32 nExpectedSignatureSize = 0;
|
||||
if ( m_SignaturePrivateKey.Count() > 0 && m_SignaturePublicKey.Count() > 0 )
|
||||
{
|
||||
#ifdef VPK_ENABLE_SIGNING
|
||||
nExpectedSignatureSize = k_cubRSASignature;
|
||||
uint32 nExpectedSignatureSize = k_cubRSASignature;
|
||||
headerOut.m_nSignatureSize = sizeof(uint32) + m_SignaturePublicKey.Count() + sizeof(uint32) + nExpectedSignatureSize;
|
||||
#else
|
||||
Error( "VPK signing not implemented" );
|
||||
|
||||
Reference in New Issue
Block a user