diff options
author | Petr Vorel <pvorel@suse.cz> | 2020-01-03 09:55:28 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2020-01-03 10:02:36 -0500 |
commit | a86b4ff0c4b4e53df436f83c21a5fbf01568a301 (patch) | |
tree | f2b84a2a9b688b57a6561805d4188df98a73021c /src | |
parent | 3642f9f6692bd8c0f4ac40561a27ef63502d80a4 (diff) | |
download | ti-rpc-a86b4ff0c4b4e53df436f83c21a5fbf01568a301.tar.gz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc_soc.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 |