Calling strerror() with a negative value is an error. Besides fixing that, we streamline hx509_get_error_string(), making it much simpler and easier to read.
		
			
				
	
	
	
		
			5.8 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			5.8 KiB
		
	
	
	
	
	
	
	
Calling strerror() with a negative value is an error. Besides fixing that, we streamline hx509_get_error_string(), making it much simpler and easier to read.