projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e4b4b
)
ups, dont import same key over and over
author
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Wed, 9 May 2007 16:53:26 +0000
(16:53 +0000)
committer
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Wed, 9 May 2007 16:53:26 +0000
(16:53 +0000)
zypp/target/rpm/RpmDb.cc
patch
|
blob
|
history
diff --git
a/zypp/target/rpm/RpmDb.cc
b/zypp/target/rpm/RpmDb.cc
index
0396924
..
3d0867f
100644
(file)
--- a/
zypp/target/rpm/RpmDb.cc
+++ b/
zypp/target/rpm/RpmDb.cc
@@
-957,7
+957,7
@@
void RpmDb::importPubkey( const PublicKey & pubkey_r )
for ( set<Edition>::const_iterator it = rpm_keys.begin(); it != rpm_keys.end(); ++it)
{
string id = str::toUpper( (*it).version() );
- string keyshortid = pubkey_r.id().substr(
0
,8);
+ string keyshortid = pubkey_r.id().substr(
8
,8);
MIL << "Comparing '" << id << "' to '" << keyshortid << "'" << endl;
if ( id == keyshortid )
{