See T1697: Wrong if conditional check may lead to dereferencing of a NULL pointer in file cipher/md.c on line 1267