src/ssl_sock.c
static int srv_parse_ciphers(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err)
{
	if (!*args[*cur_arg + 1]) {
		memprintf(err, "'%s' : missing cipher suite", args[*cur_arg]);
		return ERR_ALERT | ERR_FATAL;
	}

	free(newsrv->ssl_ctx.ciphers);
	newsrv->ssl_ctx.ciphers = strdup(args[*cur_arg + 1]);
	return 0;
}
/* parse the "ciphers" server keyword */
parse the "ciphers" server keyword
parse the " ciphers " server keyword
static int srv_parse_ciphers(char **args, int *cur_arg, struct proxy *px, struct server *newsrv, char **err)
{
	if (!*args[*cur_arg + 1]) {
		memprintf(err, "'%s' : missing cipher suite", args[*cur_arg]);
		return ERR_ALERT | ERR_FATAL;
	}
	free(newsrv->ssl_ctx.ciphers);
	newsrv->ssl_ctx.ciphers = strdup(args[*cur_arg + 1]);
	return 0;
}
static int srv_parse_ciphers ( char * * args , int * cur_arg , struct proxy * px , struct server * newsrv , char * * err ) { if ( ! * args [ * cur_arg + 1 ] ) { memprintf ( err , " " , args [ * cur_arg ] ) ; return ERR_ALERT | ERR_FATAL ; } free ( newsrv -> ssl_ctx . ciphers ) ; newsrv -> ssl_ctx . ciphers = strdup ( args [ * cur_arg + 1 ] ) ; return 0 ; }
parse the "ciphers" server keyword
parse the " ciphers " server keyword