]>
Commit | Line | Data |
---|---|---|
7a2ea233 | 1 | --- rpm-4.0.2/lib/rpmchecksig.c Wed Apr 3 15:13:56 2002 |
2 | +++ rpm-4.0.2/lib/rpmchecksig.c.mis Wed Apr 3 15:21:54 2002 | |
3 | @@ -330,7 +330,6 @@ int rpmCheckSig(rpmCheckSigFlags flags, | |
4 | case RPMSIGTAG_PGP5: /* XXX legacy */ | |
5 | case RPMSIGTAG_PGP: | |
6 | switch (res3) { | |
7 | - /* Do not consider these a failure */ | |
8 | case RPMSIG_NOKEY: | |
9 | case RPMSIG_NOTTRUSTED: | |
10 | { int offset = 7; | |
11 | @@ -349,6 +348,7 @@ int rpmCheckSig(rpmCheckSigFlags flags, | |
12 | strncat(untrustedKeys, tempKey + offset, 8); | |
13 | } | |
14 | } | |
15 | + res2 = 1; | |
16 | } break; | |
17 | default: | |
18 | strcat(buffer, "PGP "); | |
19 | @@ -365,6 +365,7 @@ int rpmCheckSig(rpmCheckSigFlags flags, | |
20 | tempKey = strstr(result, "key ID"); | |
21 | if (tempKey) | |
22 | strncat(missingKeys, tempKey+7, 8); | |
23 | + res2 = 1; | |
24 | break; | |
25 | default: | |
26 | strcat(buffer, "GPG "); |