lib3mf 2.5 :
- aggiornamento versione - utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
@@ -200,7 +200,10 @@ void Lib3MF::Impl::CReader::AddKeyWrappingCallback(const std::string &sConsumerI
|
||||
if (result == 0)
|
||||
throw ELib3MFInterfaceException(LIB3MF_ERROR_CALCULATIONABORTED);
|
||||
|
||||
plain.resize(needed, 0);
|
||||
if (needed > LIB3MF_READER_MAXKEYSIZE)
|
||||
throw ELib3MFInterfaceException(LIB3MF_ERROR_INVALIDKEYSIZE);
|
||||
|
||||
plain.resize((size_t)needed, 0);
|
||||
|
||||
result = 0;
|
||||
(*pTheCallback)(entityHandle, cipher.size(), cipher.data(),
|
||||
|
||||
Reference in New Issue
Block a user