mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 12:11:27 -05:00 
			
		
		
		
	- Only include dependencies when required
This commit is contained in:
		
							parent
							
								
									12f5dbb8b4
								
							
						
					
					
						commit
						f654371b2b
					
				@ -32,9 +32,18 @@
 | 
			
		||||
#if defined(POLARSSL_CIPHER_C)
 | 
			
		||||
 | 
			
		||||
#include "polarssl/cipher_wrap.h"
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_AES_C)
 | 
			
		||||
#include "polarssl/aes.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_CAMELLIA_C)
 | 
			
		||||
#include "polarssl/camellia.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_DES_C)
 | 
			
		||||
#include "polarssl/des.h"
 | 
			
		||||
#endif;
 | 
			
		||||
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -32,12 +32,30 @@
 | 
			
		||||
#if defined(POLARSSL_MD_C)
 | 
			
		||||
 | 
			
		||||
#include "polarssl/md_wrap.h"
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_MD2_C)
 | 
			
		||||
#include "polarssl/md2.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_MD4_C)
 | 
			
		||||
#include "polarssl/md4.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_MD5_C)
 | 
			
		||||
#include "polarssl/md5.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_SHA1_C)
 | 
			
		||||
#include "polarssl/sha1.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_SHA2_C)
 | 
			
		||||
#include "polarssl/sha2.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(POLARSSL_SHA4_C)
 | 
			
		||||
#include "polarssl/sha4.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user