mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 04:00:17 +00:00
sunrpc: Do not export key handling hooks by default
__key_encryptsession_pk_LOCAL, __key_decryptsession_pk_LOCAL, __key_gendes_LOCAL had a default version symbol even without --enable-obsolete-rpc.
This commit is contained in:
parent
d7ebcd4380
commit
ed6fc7daed
@ -290,9 +290,20 @@ libc_hidden_nolink_sunrpc (key_get_conv, GLIBC_2_1)
|
||||
* implementations of these functions, and to call those in key_call().
|
||||
*/
|
||||
|
||||
cryptkeyres *(*__key_encryptsession_pk_LOCAL) (uid_t, char *);
|
||||
cryptkeyres *(*__key_decryptsession_pk_LOCAL) (uid_t, char *);
|
||||
des_block *(*__key_gendes_LOCAL) (uid_t, char *);
|
||||
cryptkeyres *(*__key_encryptsession_pk_LOCAL) (uid_t, char *)
|
||||
__attribute__ ((nocommon));
|
||||
cryptkeyres *(*__key_decryptsession_pk_LOCAL) (uid_t, char *)
|
||||
__attribute__ ((nocommon));
|
||||
des_block *(*__key_gendes_LOCAL) (uid_t, char *) __attribute__ ((nocommon));
|
||||
#ifdef SHARED
|
||||
# ifndef EXPORT_RPC_SYMBOLS
|
||||
compat_symbol (libc, __key_encryptsession_pk_LOCAL,
|
||||
__key_encryptsession_pk_LOCAL, GLIBC_2_1);
|
||||
compat_symbol (libc, __key_decryptsession_pk_LOCAL,
|
||||
__key_decryptsession_pk_LOCAL, GLIBC_2_1);
|
||||
compat_symbol (libc, __key_gendes_LOCAL, __key_gendes_LOCAL, GLIBC_2_1);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SO_PASSCRED
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user