cryptlib.c: fix logical error.