23.1.0-1
[arch-packages.git] / serf / trunk / openssl3-BIO_ctrl.patch
blob6bf3aba6de471d2d22dea84ae210e956b92fba50
1 https://src.fedoraproject.org/rpms/libserf/raw/rawhide/f/libserf-1.3.9-bio-ctrl.patch
2 https://bugs.gentoo.org/805161
3 https://issues.apache.org/jira/projects/SERF/issues/SERF-198
4 --- a/buckets/ssl_buckets.c
5 +++ b/buckets/ssl_buckets.c
6 @@ -407,7 +407,7 @@ static int bio_bucket_destroy(BIO *bio)
8 static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr)
10 - long ret = 1;
11 + long ret = 0;
13 switch (cmd) {
14 default:
15 @@ -415,6 +415,7 @@ static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr)
16 break;
17 case BIO_CTRL_FLUSH:
18 /* At this point we can't force a flush. */
19 + ret = 1;
20 break;
21 case BIO_CTRL_PUSH:
22 case BIO_CTRL_POP: