forked from pool/libtirpc
Dirk Mueller
e84086967d
- Update to libtirpc 1.2.5 - A number resource leaks and other issues were fix which were identified by a Coverity Scan. - The AUTH_DES authentication has been deprecated. If any of those routines are called, they will fail immediately. - numerous bug fixes - Package changes: - Build without AUTH_DES authentication - Add patch from next release 0001-Add-authdes_seccreate-stub.patch (a86b4ff Add authdes_seccreate() stub) - Drop rc patches (libtirpc-1-1-5-rc1.patch, libtirpc-1-1-5-rc2.patch) - Drop patches all patches backported from this release (0001-Makefile.am-Use-LIBADD-instead-of-LDFLAGS-to-link-ag.patch, 0002-man-rpc_secure.3t-Fix-typo-in-manpage.patch, 0003-xdr-add-a-defensive-mask-in-xdr_int64_t-and-xdr_u_in.patch) OBS-URL: https://build.opensuse.org/request/show/760716 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=81
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From a86b4ff0c4b4e53df436f83c21a5fbf01568a301 Mon Sep 17 00:00:00 2001
|
|
From: Petr Vorel <pvorel@suse.cz>
|
|
Date: Fri, 3 Jan 2020 09:55:28 -0500
|
|
Subject: [PATCH 1/2] Add authdes_seccreate() stub
|
|
|
|
bf8f0b82d added back authdes_create() and authdes_pk_create() interfaces
|
|
also when authdes compiled out. Add also authdes_seccreate().
|
|
|
|
Found by LTP rpc-tirpc test, which fails to link:
|
|
|
|
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/ccFanCMm.o: in function `main':
|
|
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authdes_seccreate/tirpc_authdes_seccreate.c:55: undefined reference to `authdes_seccreate'
|
|
|
|
Fixes: bf8f0b82d ("Add back the authdes interfaces")
|
|
|
|
Signed-off-by: Petr Vorel <pvorel@suse.cz>
|
|
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
---
|
|
src/rpc_soc.c | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/src/rpc_soc.c b/src/rpc_soc.c
|
|
index ac7d312..fde121d 100644
|
|
--- a/src/rpc_soc.c
|
|
+++ b/src/rpc_soc.c
|
|
@@ -613,6 +613,13 @@ authdes_pk_create(servername, pkey, window, syncaddr, ckey)
|
|
des_block *ckey; /* optional conversation key to use */
|
|
{ return (NULL); }
|
|
|
|
+AUTH *
|
|
+authdes_seccreate(const char *servername, const u_int win,
|
|
+ const char *timehost, const des_block *ckey)
|
|
+{
|
|
+ return (NULL);
|
|
+}
|
|
+
|
|
#endif
|
|
|
|
|
|
--
|
|
2.24.0
|
|
|