diff options
author | Michael Schroeder <mls@suse.de> | 2012-02-20 16:47:36 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-02-20 16:47:36 +0100 |
commit | 3e36ee6efdd5b1b567c3601887cb19372cbc5970 (patch) | |
tree | f8240f7202a0d1707c8db3949f4b02e5d830521e /ext | |
parent | 38218eadc76d31a4af0d75af9b4e30930315648d (diff) | |
download | libsolv-3e36ee6efdd5b1b567c3601887cb19372cbc5970.tar.gz libsolv-3e36ee6efdd5b1b567c3601887cb19372cbc5970.tar.bz2 libsolv-3e36ee6efdd5b1b567c3601887cb19372cbc5970.zip |
- make old rpmdb pubkey support optional
Diffstat (limited to 'ext')
-rw-r--r-- | ext/repo_rpmdb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c index 4dcd956..5eccfec 100644 --- a/ext/repo_rpmdb.c +++ b/ext/repo_rpmdb.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, Novell Inc. + * Copyright (c) 2007-2012, Novell Inc. * * This program is licensed under the BSD license, read LICENSE.BSD * for further information @@ -2528,6 +2528,8 @@ rpm_byrpmh(Header h, void **statep) } +#ifdef ENABLE_RPM_PUBKEY + static char * r64dec1(char *p, unsigned int *vp, int *eofp) { @@ -3142,3 +3144,5 @@ repo_add_pubkeys(Repo *repo, const char **keys, int nkeys, int flags) repodata_internalize(data); return 0; } + +#endif /* ENABLE_RPM_PUBKEY */ |