fix bug when enable mysql need libcrypto