Move getpass() portability tweaks out of system.h
- only signature.c needs, no need to pollute system.h
This commit is contained in:
parent
c47b96630c
commit
9f43fee26b
|
@ -25,6 +25,11 @@
|
|||
char ** environ = NULL;
|
||||
#endif
|
||||
|
||||
/* Solaris <= 2.6 limits getpass return to only 8 chars */
|
||||
#if HAVE_GETPASSPHRASE
|
||||
#define getpass getpassphrase
|
||||
#endif
|
||||
|
||||
static int sighdrPut(Header h, rpmSigTag tag, rpmTagType type,
|
||||
rpm_data_t p, rpm_count_t c)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue