mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Ooops ... add required configure support.
The previous commit assumed we have a configure probe for SSL_CTX_set_cert_cb. v15 lacks that, so add it now. (Details borrowed from 36f40ce2d.) Reported-by: Thomas Munro <thomas.munro@gmail.com> Author: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/CA+hUKG+fLqyweHqFSBcErueUVT0vDuSNWui-ySz3+d_APmq7dw@mail.gmail.com Backpatch-through: 15 only
This commit is contained in:
		@@ -515,6 +515,9 @@
 | 
			
		||||
/* Define to 1 if you have spinlocks. */
 | 
			
		||||
#undef HAVE_SPINLOCKS
 | 
			
		||||
 | 
			
		||||
/* Define to 1 if you have the `SSL_CTX_set_cert_cb' function. */
 | 
			
		||||
#undef HAVE_SSL_CTX_SET_CERT_CB
 | 
			
		||||
 | 
			
		||||
/* Define to 1 if you have the `SSL_CTX_set_num_tickets' function. */
 | 
			
		||||
#undef HAVE_SSL_CTX_SET_NUM_TICKETS
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -364,6 +364,7 @@ sub GenerateFiles
 | 
			
		||||
		HAVE_SHM_OPEN                            => undef,
 | 
			
		||||
		HAVE_SOCKLEN_T                           => 1,
 | 
			
		||||
		HAVE_SPINLOCKS                           => 1,
 | 
			
		||||
		HAVE_SSL_CTX_SET_CERT_CB                 => 1,
 | 
			
		||||
		HAVE_SSL_CTX_SET_NUM_TICKETS             => undef,
 | 
			
		||||
		HAVE_STDINT_H                            => 1,
 | 
			
		||||
		HAVE_STDLIB_H                            => 1,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user