tls_config_set_error
tls_config_set_error(config, TLS_ERROR_UNKNOWN,
int tls_config_set_error(struct tls_config *cfg, int code, const char *fmt, ...)