mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Fix dependencies on X509_CRT_C in tests
This commit is contained in:
		
							parent
							
								
									43b29861fe
								
							
						
					
					
						commit
						fea3102dcb
					
				@ -52,7 +52,6 @@
 | 
			
		||||
#define POLARSSL_SHA1_C
 | 
			
		||||
#define POLARSSL_SHA256_C
 | 
			
		||||
#define POLARSSL_X509_USE_C // !!!
 | 
			
		||||
#define POLARSSL_X509_CRT_PARSE_C // !!!
 | 
			
		||||
 | 
			
		||||
#include "check_config.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -142,7 +142,7 @@ void x509_verify( char *crt_file, char *ca_file, char *crl_file,
 | 
			
		||||
}
 | 
			
		||||
/* END_CASE */
 | 
			
		||||
 | 
			
		||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_USE_C */
 | 
			
		||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_C */
 | 
			
		||||
void x509_dn_gets( char *crt_file, char *entity, char *result_str )
 | 
			
		||||
{
 | 
			
		||||
    x509_crt   crt;
 | 
			
		||||
@ -169,7 +169,7 @@ void x509_dn_gets( char *crt_file, char *entity, char *result_str )
 | 
			
		||||
}
 | 
			
		||||
/* END_CASE */
 | 
			
		||||
 | 
			
		||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_USE_C */
 | 
			
		||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_C */
 | 
			
		||||
void x509_time_expired( char *crt_file, char *entity, int result )
 | 
			
		||||
{
 | 
			
		||||
    x509_crt   crt;
 | 
			
		||||
@ -189,7 +189,7 @@ void x509_time_expired( char *crt_file, char *entity, int result )
 | 
			
		||||
}
 | 
			
		||||
/* END_CASE */
 | 
			
		||||
 | 
			
		||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_USE_C */
 | 
			
		||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_C */
 | 
			
		||||
void x509_time_future( char *crt_file, char *entity, int result )
 | 
			
		||||
{
 | 
			
		||||
    x509_crt   crt;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user