mirror of https://github.com/redis/redis.git
				
				
				
			TLS: Fix build with SSL_OP_NO_CLIENT_RENEGOTIATION
There is no ssl in this scope, so the build breaks. All the other options are set directly on the ctx.
This commit is contained in:
		
							parent
							
								
									c49fb47fbe
								
							
						
					
					
						commit
						04f1a280e0
					
				| 
						 | 
				
			
			@ -160,7 +160,7 @@ int tlsConfigure(redisTLSContextConfig *ctx_config) {
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef SSL_OP_NO_CLIENT_RENEGOTIATION
 | 
			
		||||
    SSL_CTX_set_options(ssl->ctx, SSL_OP_NO_CLIENT_RENEGOTIATION);
 | 
			
		||||
    SSL_CTX_set_options(ctx, SSL_OP_NO_CLIENT_RENEGOTIATION);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    if (ctx_config->prefer_server_ciphers)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue