diff options
-rw-r--r-- | lib/signature.c | 5 | ||||
-rw-r--r-- | system.h | 5 |
2 files changed, 5 insertions, 5 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) { @@ -343,11 +343,6 @@ extern void unsetenv(const char *name); #endif #endif -/* Solaris <= 2.6 limits getpass return to only 8 chars */ -#if HAVE_GETPASSPHRASE -#define getpass getpassphrase -#endif - #if ! HAVE_LCHOWN #define lchown chown #endif |