don't forward-declare SSL types any more
our current project structure precludes the clash between some indirect include of ssl.h and our definition of 'S' (or 'M', i don't remember) that happened on some system, so there is no need to avoid including it any more. this avoids complaints from some more picky compilers, as re-defining typedefs (even to the same thing) is illegal before C11.
This commit is contained in:
		
							parent
							
								
									c9cd1b59fb
								
							
						
					
					
						commit
						5aab050198
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -30,9 +30,7 @@
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_LIBSSL
 | 
					#ifdef HAVE_LIBSSL
 | 
				
			||||||
typedef struct ssl_st SSL;
 | 
					# include <openssl/ssl.h>
 | 
				
			||||||
typedef struct ssl_ctx_st SSL_CTX;
 | 
					 | 
				
			||||||
typedef struct stack_st _STACK;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum {
 | 
					enum {
 | 
				
			||||||
	SSLv3 = 2,
 | 
						SSLv3 = 2,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue