mirror of https://github.com/openssl/openssl.git
				
				
				
			Replace snprintf with BIO_snprintf
Updated snprintf to BIO_snprintf for consistency with previous changes. #24008 CLA: trivial Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26749)
This commit is contained in:
		
							parent
							
								
									b175b94e11
								
							
						
					
					
						commit
						aa6b7ac875
					
				| 
						 | 
				
			
			@ -222,7 +222,7 @@ BIO *http_server_init_bio(const char *prog, const char *port)
 | 
			
		|||
    int asock;
 | 
			
		||||
    char name[40];
 | 
			
		||||
 | 
			
		||||
    snprintf(name, sizeof(name), "[::]:%s", port); /* port may be "0" */
 | 
			
		||||
    BIO_snprintf(name, sizeof(name), "[::]:%s", port); /* port may be "0" */
 | 
			
		||||
    bufbio = BIO_new(BIO_f_buffer());
 | 
			
		||||
    if (bufbio == NULL)
 | 
			
		||||
        goto err;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue