mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* sign.c (update_keysig_packet): Policies and notations should be stripped
out when remaking a self-signature. Noted by Atom Smasher. * keyserver.c (parse_keyserver_uri): Fix compiler warnings.
This commit is contained in:
parent
0aba5ff41b
commit
ef13cef29c
3 changed files with 23 additions and 3 deletions
|
@ -163,7 +163,7 @@ parse_keyserver_uri(const char *uri,int require_scheme,
|
|||
|
||||
/* Get the scheme */
|
||||
|
||||
for(idx=uri,count=0;*idx && *idx!=':';*idx++)
|
||||
for(idx=uri,count=0;*idx && *idx!=':';idx++)
|
||||
count++;
|
||||
|
||||
if(count==0)
|
||||
|
@ -218,7 +218,7 @@ parse_keyserver_uri(const char *uri,int require_scheme,
|
|||
if(!assume_hkp)
|
||||
uri+=2;
|
||||
|
||||
for(idx=uri,count=0;*idx && *idx!=':' && *idx!='/';*idx++)
|
||||
for(idx=uri,count=0;*idx && *idx!=':' && *idx!='/';idx++)
|
||||
count++;
|
||||
|
||||
if(count==0)
|
||||
|
@ -238,7 +238,7 @@ parse_keyserver_uri(const char *uri,int require_scheme,
|
|||
imply there is no limit. Of course, the real world has
|
||||
limits. */
|
||||
|
||||
for(idx=uri+1,count=0;*idx && *idx!='/';*idx++)
|
||||
for(idx=uri+1,count=0;*idx && *idx!='/';idx++)
|
||||
{
|
||||
count++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue