FreeBSD Bugzilla – Attachment 181874 Details for
Bug 218736
databases/postgresql92-server: fix build with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libressl buildfix
psql-libressl.diff (text/plain), 3.02 KB, created by
Pawel Pekala
on 2017-04-18 19:10:37 UTC
(
hide
)
Description:
libressl buildfix
Filename:
MIME Type:
Creator:
Pawel Pekala
Created:
2017-04-18 19:10:37 UTC
Size:
3.02 KB
patch
obsolete
>Index: postgresql92-server/files/patch-src_backend_libpq_be-secure.c >=================================================================== >--- postgresql92-server/files/patch-src_backend_libpq_be-secure.c (nonexistent) >+++ postgresql92-server/files/patch-src_backend_libpq_be-secure.c (kopia robocza) >@@ -0,0 +1,19 @@ >+--- src/backend/libpq/be-secure.c.orig 2017-04-18 17:44:04 UTC >++++ src/backend/libpq/be-secure.c >+@@ -338,13 +338,13 @@ secure_write(Port *port, void *ptr, size >+ ereport(COMMERROR, >+ (errcode(ERRCODE_PROTOCOL_VIOLATION), >+ errmsg("SSL renegotiation failure"))); >+- if (port->ssl->state != SSL_ST_OK) >++ if (SSL_state(port->ssl) != SSL_ST_OK) >+ ereport(COMMERROR, >+ (errcode(ERRCODE_PROTOCOL_VIOLATION), >+ errmsg("SSL failed to send renegotiation request"))); >+- port->ssl->state |= SSL_ST_ACCEPT; >++ SSL_set_state(port->ssl, SSL_state(port->ssl) | SSL_ST_ACCEPT); >+ SSL_do_handshake(port->ssl); >+- if (port->ssl->state != SSL_ST_OK) >++ if (SSL_state(port->ssl) != SSL_ST_OK) >+ ereport(COMMERROR, >+ (errcode(ERRCODE_PROTOCOL_VIOLATION), >+ errmsg("SSL renegotiation failure"))); > >Zmiany atrybutów dla: postgresql92-server/files/patch-src_backend_libpq_be-secure.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: postgresql93-server/files/patch-src_backend_libpq_be-secure.c >=================================================================== >--- postgresql93-server/files/patch-src_backend_libpq_be-secure.c (nonexistent) >+++ postgresql93-server/files/patch-src_backend_libpq_be-secure.c (kopia robocza) >@@ -0,0 +1,19 @@ >+--- src/backend/libpq/be-secure.c.orig 2017-04-18 16:20:06 UTC >++++ src/backend/libpq/be-secure.c >+@@ -338,13 +338,13 @@ secure_write(Port *port, void *ptr, size >+ ereport(COMMERROR, >+ (errcode(ERRCODE_PROTOCOL_VIOLATION), >+ errmsg("SSL renegotiation failure"))); >+- if (port->ssl->state != SSL_ST_OK) >++ if (SSL_state(port->ssl) != SSL_ST_OK) >+ ereport(COMMERROR, >+ (errcode(ERRCODE_PROTOCOL_VIOLATION), >+ errmsg("SSL failed to send renegotiation request"))); >+- port->ssl->state |= SSL_ST_ACCEPT; >++ SSL_set_state(port->ssl, SSL_state(port->ssl) | SSL_ST_ACCEPT); >+ SSL_do_handshake(port->ssl); >+- if (port->ssl->state != SSL_ST_OK) >++ if (SSL_state(port->ssl) != SSL_ST_OK) >+ ereport(COMMERROR, >+ (errcode(ERRCODE_PROTOCOL_VIOLATION), >+ errmsg("SSL renegotiation failure"))); > >Zmiany atrybutów dla: postgresql93-server/files/patch-src_backend_libpq_be-secure.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218736
: 181874