fix common.h about crypt