diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 12:41:38 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 12:41:38 +0200 |
commit | 9f43fee26bc982945926d74d27844e5dbc829d70 (patch) | |
tree | 37470fa700d616205dc6010d0a38db782c98560b /lib | |
parent | c47b96630c18143be25cc0a4c42c7f8005d18a5d (diff) | |
download | librpm-tizen-9f43fee26bc982945926d74d27844e5dbc829d70.tar.gz librpm-tizen-9f43fee26bc982945926d74d27844e5dbc829d70.tar.bz2 librpm-tizen-9f43fee26bc982945926d74d27844e5dbc829d70.zip |
Move getpass() portability tweaks out of system.h
- only signature.c needs, no need to pollute system.h
Diffstat (limited to 'lib')
-rw-r--r-- | lib/signature.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/signature.c b/lib/signature.c index 7d50db7a5..030eb8ceb 100644 --- a/lib/signature.c +++ b/lib/signature.c @@ -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) { |