Changeset 1358
- Timestamp:
- 08/23/07 15:16:07 (1 year ago)
- Files:
-
- nepenthes/trunk/nepenthes-core/include/Utilities.hpp (modified) (1 diff)
- nepenthes/trunk/nepenthes-core/src/Utilities.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/trunk/nepenthes-core/include/Utilities.hpp
r836 r1358 131 131 void MD5Update(struct MD5Context *context, unsigned char const *buf,unsigned len); 132 132 void MD5Final(unsigned char digest[16], struct MD5Context *context); 133 /* 133 134 134 virtual void hexdump(byte *data, uint32_t len); 135 135 virtual void hexdump(uint32_t mask, byte *data, uint32_t len); 136 */ 136 137 137 virtual unsigned char *b64encode_alloc(unsigned char *in); 138 138 virtual unsigned char *b64encode_alloc(unsigned char *in, int32_t inlen); nepenthes/trunk/nepenthes-core/src/Utilities.cpp
r836 r1358 340 340 // ENDOF MD5Sum 341 341 342 /* 342 343 343 344 344 void Utilities::hexdump(byte *data, uint32_t len) … … 373 373 374 374 g_Nepenthes->getLogMgr()->logf(mask,"Stored Hexdump %s (0x%08x , 0x%08x).\n", md5.c_str(), (uint32_t)((intptr_t)data), len); 375 }else 376 { 377 g_Nepenthes->getLogMgr()->logf(l_crit, "Could not open %s (%s)\n", md5.c_str(), strerror(errno)); 375 378 } 376 379 … … 431 434 } 432 435 433 */ 436 434 437 435 438
