[DEV] update nullptr in null (specific etk)

This commit is contained in:
Edouard DUPIN 2018-06-19 22:15:52 +02:00
parent 0c6256e08b
commit be0d380308

View File

@ -178,7 +178,7 @@ void algue::Sha512::transform(const uint8_t* _data, uint32_t _blockNumber) {
}
void algue::Sha512::update(const uint8_t *_data, uint32_t _length) {
if ( _data == nullptr
if ( _data == null
|| _length == 0) {
return;
}