diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-07-09 12:32:24 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-07-09 12:32:24 +0300 |
commit | 1d0089a34f568e5dfb9988613daaf932c5b6667a (patch) | |
tree | d1263c8779716ddbe3c88bf2a4c68732df96b694 /lib/rpmchecksig.c | |
parent | 767c59b0527aeeb7e6bfc2c3048d5c2b73677438 (diff) | |
download | rpm-1d0089a34f568e5dfb9988613daaf932c5b6667a.tar.gz rpm-1d0089a34f568e5dfb9988613daaf932c5b6667a.tar.bz2 rpm-1d0089a34f568e5dfb9988613daaf932c5b6667a.zip |
Skip any initial comments when looking for pubkey start marker
Diffstat (limited to 'lib/rpmchecksig.c')
-rw-r--r-- | lib/rpmchecksig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c index 04fba5fbc..e54c5e68e 100644 --- a/lib/rpmchecksig.c +++ b/lib/rpmchecksig.c @@ -378,7 +378,7 @@ static int doImport(rpmts ts, const char *fn, char *buf, ssize_t blen) size_t marklen = strlen(pgpmark); int res = 0; int keyno = 1; - char *start = buf; + char *start = strstr(buf, pgpmark); while (start) { uint8_t *pkt = NULL; |