aboutsummaryrefslogtreecommitdiff
path: root/security/shishi
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2010-04-02 21:42:40 +0000
committerJohan van Selst <johans@FreeBSD.org>2010-04-02 21:42:40 +0000
commit05b8291d68b8e83946a11fac8ae09a82ac9ded54 (patch)
treee5f2c4b1ff3e5aeac85a542806327e1e27730f3b /security/shishi
parentcaafe597cf33bb2dd0b921818063af98bf9cb54f (diff)
downloadports-05b8291d68b8e83946a11fac8ae09a82ac9ded54.tar.gz
ports-05b8291d68b8e83946a11fac8ae09a82ac9ded54.zip
Add files/patch-lib_netio.c to fix build without starttls.
Unfortunately this addition was forgotten in the previous commit.
Notes
Notes: svn path=/head/; revision=252088
Diffstat (limited to 'security/shishi')
-rw-r--r--security/shishi/files/patch-lib_netio.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/shishi/files/patch-lib_netio.c b/security/shishi/files/patch-lib_netio.c
new file mode 100644
index 000000000000..e722674c2a52
--- /dev/null
+++ b/security/shishi/files/patch-lib_netio.c
@@ -0,0 +1,14 @@
+--- lib/netio.c.orig 2010-04-01 23:36:30.000000000 +0200
++++ lib/netio.c 2010-04-01 23:36:37.000000000 +0200
+@@ -241,9 +241,11 @@ sendrecv_host (Shishi * handle,
+ {
+ if (transport == TCP)
+ rc = sendrecv_tcp (handle, ai, indata, inlen, outdata, outlen);
++#ifdef USE_STARTTLS
+ else if (transport == TLS)
+ rc = _shishi_sendrecv_tls (handle, ai, indata, inlen,
+ outdata, outlen);
++#endif
+ else
+ rc = sendrecv_udp (handle, ai, indata, inlen, outdata, outlen);
+