docmd1.c: only enable encryption if we have crypt