/* Load the key in memory depending on compile-time and user options. @Parameters private_key Load the key @Parameters length Load the key length @Returns result true or false  */
bool ICACHE_FLASH_ATTR ssl_set_default_private_key(const uint8 *private_key, uint16 length)
/* Load the key in memory depending on compile-time and user options. @Parameters private_key Load the key @Parameters length Load the key length @Returns result true or false  */
bool ICACHE_FLASH_ATTR ssl_set_default_private_key(const uint8 *private_key, uint16 length)
{
	if (private_key == NULL)
		return false;
	def_private_key = (uint8*) zalloc(length);
	if (def_private_key == NULL)
		return false;
	memcpy(def_private_key, private_key, length);
	def_private_key_len = length;
	return true;
}