- Notifications
You must be signed in to change notification settings - Fork28
Commitbde64eb
committed
Track new configure flags introduced for version 11 in pg_config.h.win32
The following set of flags mainly matter when building Postgres codewith MSVC and those have been forgotten with latest developments:- HAVE_LDAP_INITIALIZE, added by35c0754, and marked as disabled.ldap_initialize() is a non-standard extension that provides a way to use"ldaps" with OpenLDAP, but it is not supported on Windows, and insteadthe non-standard ldap_sslinit() is used if WIN32 is defined. Per inputfrom Thomas Munro.- HAVE_X509_GET_SIGNATURE_NID, added by054e8c6, which is used bySCRAM's channel binding tls-server-end-point. Having this flag disabledwould cause this channel binding type to be unsupported for Windowsbuilds.- HAVE_SSL_CLEAR_OPTIONS, added recently as ofa364dfa to disable SSLcompression.- HAVE_ASN1_STRING_GET0_DATA, added by5c6df67, which is used to tracka new compatibility with OpenSSL 1.1.0. This was missing frompg_config.win32.h and is not enabled by default. HAVE_BIO_GET_DATA,HAVE_OPENSSL_INIT_SSL and HAVE_BIO_METH_NEW gain the same treatment.The second and third flags are enabled with this commit, which raisesthe bar of OpenSSL support to 1.0.2 on Windows as a minimum. As thisis the LTS (long-time support) version of OpenSSL community and knowingthat all recent installers referred by OpenSSL upstream don't haveanymore 1.0.1 or older, we could live with that requirement. In orderto allow the code to compile with OpenSSL 1.1.0, all the flags mentionedabove need to be enabled in pg_config.h.win32.Author: Michael PaquierReviewed-by: Andrew DunstanDiscussion:https://postgr.es/m/20180529211559.GF6632@paquier.xyz1 parent93b6e03 commitbde64eb
1 file changed
+21
-0
lines changedLines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
75 | 84 |
| |
76 | 85 |
| |
77 | 86 |
| |
| |||
233 | 242 |
| |
234 | 243 |
| |
235 | 244 |
| |
| 245 | + | |
| 246 | + | |
| 247 | + | |
236 | 248 |
| |
237 | 249 |
| |
238 | 250 |
| |
| |||
288 | 300 |
| |
289 | 301 |
| |
290 | 302 |
| |
| 303 | + | |
| 304 | + | |
| 305 | + | |
291 | 306 |
| |
292 | 307 |
| |
293 | 308 |
| |
| |||
361 | 376 |
| |
362 | 377 |
| |
363 | 378 |
| |
| 379 | + | |
| 380 | + | |
| 381 | + | |
364 | 382 |
| |
365 | 383 |
| |
366 | 384 |
| |
| |||
543 | 561 |
| |
544 | 562 |
| |
545 | 563 |
| |
| 564 | + | |
| 565 | + | |
| 566 | + | |
546 | 567 |
| |
547 | 568 |
| |
548 | 569 |
| |
|
0 commit comments
Comments
(0)