src/ssl_sock.c
static int srv_parse_force_tlsv11(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err)
{
#if SSL_OP_NO_TLSv1_1
	newsrv->ssl_ctx.options |= SRV_SSL_O_USE_TLSV11;
	return 0;
#else
	if (err)
		memprintf(err, "'%s' : library does not support protocol TLSv1.1", args[*cur_arg]);
	return ERR_ALERT | ERR_FATAL;
#endif
}
/* parse the "force-tlsv11" server keyword */
parse the "force-tlsv11" server keyword
parse the " force - tlsv11 " server keyword
static int srv_parse_force_tlsv11(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err)
{
#if SSL_OP_NO_TLSv1_1
	newsrv->ssl_ctx.options |= SRV_SSL_O_USE_TLSV11;
	return 0;
#else
	if (err)
		memprintf(err, "'%s' : library does not support protocol TLSv1.1", args[*cur_arg]);
	return ERR_ALERT | ERR_FATAL;
#endif
}
static int srv_parse_force_tlsv11 ( char * * args , int * cur_arg , struct proxy * px , struct server * newsrv , char * * err ) { #if SSL_OP_NO_TLSv1_1 newsrv -> ssl_ctx . options |= SRV_SSL_O_USE_TLSV11 ; return 0 ; #else if ( err ) memprintf ( err , " " , args [ * cur_arg ] ) ; return ERR_ALERT | ERR_FATAL ; #endif }
parse the "force-tlsv11" server keyword
parse the " force - tlsv11 " server keyword