mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix incompatibility with KTLS.
PR: 253214 Submitted by: madpilot@FreeBSD.org
This commit is contained in:
parent
2602f67a1f
commit
c6d789c11f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563962
2 changed files with 19 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= serf
|
PORTNAME= serf
|
||||||
PORTVERSION= 1.3.9
|
PORTVERSION= 1.3.9
|
||||||
PORTREVISION= 5
|
PORTREVISION= 6
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= APACHE/serf
|
MASTER_SITES= APACHE/serf
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,23 @@
|
||||||
--- buckets/ssl_buckets.c.orig 2016-06-30 15:45:07 UTC
|
--- buckets/ssl_buckets.c.orig 2016-06-30 15:45:07 UTC
|
||||||
+++ buckets/ssl_buckets.c
|
+++ buckets/ssl_buckets.c
|
||||||
@@ -1156,7 +1156,7 @@ static void init_ssl_libraries(void)
|
@@ -407,7 +407,7 @@ static int bio_bucket_destroy(BIO *bio)
|
||||||
|
|
||||||
|
static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr)
|
||||||
|
{
|
||||||
|
- long ret = 1;
|
||||||
|
+ long ret = 0;
|
||||||
|
|
||||||
|
switch (cmd) {
|
||||||
|
default:
|
||||||
|
@@ -415,6 +415,7 @@ static long bio_bucket_ctrl(BIO *bio, int cmd, long nu
|
||||||
|
break;
|
||||||
|
case BIO_CTRL_FLUSH:
|
||||||
|
/* At this point we can't force a flush. */
|
||||||
|
+ ret = 1;
|
||||||
|
break;
|
||||||
|
case BIO_CTRL_PUSH:
|
||||||
|
case BIO_CTRL_POP:
|
||||||
|
@@ -1156,7 +1157,7 @@ static void init_ssl_libraries(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue