fix #1253 handle incorrect values of SIGNATURE_TYPE and CRYPTO_TYPE
fix #1253 handle incorrect values of SIGNATURE_TYPE and CRYPTO_TYPE

brain5lug/i2pd,PurpleI2P/i2pd,brain5lug/i2pd,PurpleI2P/i2pd,brain5lug/i2pd,PurpleI2P/i2pd,PurpleI2P/i2pd,brain5lug/i2pd