--TEST-- hash_init() function - errors test --SKIPIF-- --FILE-- --EXPECTF-- *** Testing hash_init(): error conditions *** -- Testing hash_init() function with no parameters -- Warning: hash_init() expects at least 1 parameter, 0 given in %s on line %d NULL -- Testing hash_init() function with unknown algorithms -- Warning: hash_init(): Unknown hashing algorithm: dummy in %s on line %d bool(false) -- Testing hash_init() function with HASH_HMAC and non-cryptographic algorithms -- Warning: hash_init(): HMAC requested with a non-cryptographic hashing algorithm: crc32 in %s on line %d bool(false) -- Testing hash_init() function with HASH_HMAC and no key -- Warning: hash_init(): HMAC requested without a key %s on line %d bool(false) Warning: hash_init(): HMAC requested without a key %s on line %d bool(false)