mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 11:11:12 -04:00 
			
		
		
		
	- Fixed selftest of X509parse code
This commit is contained in:
		
							parent
							
								
									ea9778f798
								
							
						
					
					
						commit
						1973e4c582
					
				| @ -2486,7 +2486,7 @@ int x509_self_test( int verbose ) | ||||
|     if( verbose != 0 ) | ||||
|         printf( "passed\n  X.509 signature verify: "); | ||||
| 
 | ||||
|     ret = x509parse_verify( &clicert, &cacert, NULL, "Joe User", &i ); | ||||
|     ret = x509parse_verify( &clicert, &cacert, NULL, "PolarSSL Client 2", &i ); | ||||
|     if( ret != 0 ) | ||||
|     { | ||||
|         if( verbose != 0 ) | ||||
|  | ||||
| @ -117,7 +117,7 @@ int main( int argc, char *argv[] ) | ||||
|         return( ret ); | ||||
| #endif | ||||
| 
 | ||||
| #if defined(POLARSSL_X509_C) | ||||
| #if defined(POLARSSL_X509_PARSE_C) | ||||
|     if( ( ret = x509_self_test( v ) ) != 0 ) | ||||
|         return( ret ); | ||||
| #endif | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Paul Bakker
						Paul Bakker