diff options
author | johans <johans@FreeBSD.org> | 2010-04-03 05:42:40 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2010-04-03 05:42:40 +0800 |
commit | 3967ad627851e1470b7abc3b802e1ff6c1fad189 (patch) | |
tree | 78a72e18e3840bbac89ac1c21ba6c13698d4d573 /security/shishi | |
parent | 66f537136b48c944c8f03094993130e0e15ee16c (diff) | |
download | freebsd-ports-gnome-3967ad627851e1470b7abc3b802e1ff6c1fad189.tar.gz freebsd-ports-gnome-3967ad627851e1470b7abc3b802e1ff6c1fad189.tar.zst freebsd-ports-gnome-3967ad627851e1470b7abc3b802e1ff6c1fad189.zip |
Add files/patch-lib_netio.c to fix build without starttls.
Unfortunately this addition was forgotten in the previous commit.
Diffstat (limited to 'security/shishi')
-rw-r--r-- | security/shishi/files/patch-lib_netio.c | 14 |
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); + |