mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
Last fix for the SRV record patches.
* keyserver/gpgkeys_hkp.c (srv_replace): Make sure SRVCOUNT is always initialized. -- See commit 5c557a51.
This commit is contained in:
parent
65d6da865c
commit
2812ab7d6a
@ -544,6 +544,8 @@ srv_replace(const char *srvtag,
|
||||
strcat(srvname,opt->host);
|
||||
srvcount=getsrv(srvname,&srvlist);
|
||||
}
|
||||
else
|
||||
srvcount = 0;
|
||||
|
||||
for(srvindex=0 ; srvindex<srvcount && portstr ; srvindex++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user