mirror of https://github.com/openssl/openssl.git
				
				
				
			Fix compilation with no-nextprotoneg
A guard was in the wrong place in the header file. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2212)
This commit is contained in:
		
							parent
							
								
									66ed24b162
								
							
						
					
					
						commit
						e3bc1305ec
					
				|  | @ -807,7 +807,6 @@ struct ssl_ctx_st { | ||||||
|         unsigned char *supportedgroups; |         unsigned char *supportedgroups; | ||||||
| # endif                         /* OPENSSL_NO_EC */ | # endif                         /* OPENSSL_NO_EC */ | ||||||
| 
 | 
 | ||||||
| # ifndef OPENSSL_NO_NEXTPROTONEG |  | ||||||
|         /*
 |         /*
 | ||||||
|          * ALPN information (we are in the process of transitioning from NPN to |          * ALPN information (we are in the process of transitioning from NPN to | ||||||
|          * ALPN.) |          * ALPN.) | ||||||
|  | @ -837,6 +836,7 @@ struct ssl_ctx_st { | ||||||
|         unsigned char *alpn; |         unsigned char *alpn; | ||||||
|         size_t alpn_len; |         size_t alpn_len; | ||||||
| 
 | 
 | ||||||
|  | # ifndef OPENSSL_NO_NEXTPROTONEG | ||||||
|         /* Next protocol negotiation information */ |         /* Next protocol negotiation information */ | ||||||
| 
 | 
 | ||||||
|         /*
 |         /*
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue