mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-09 10:38:05 -05:00
... and use correct index
This commit is contained in:
parent
190d3e68dd
commit
11cc989cf6
@ -675,7 +675,7 @@ static int add_timestamp_rfc3161(PKCS7 *sig, char **url, int nurls, char *proxy,
|
||||
{
|
||||
int i;
|
||||
for (i=0; i<nurls; i++) {
|
||||
int res = add_timestamp(sig, url[0], proxy, 1, md, nurls == 1);
|
||||
int res = add_timestamp(sig, url[i], proxy, 1, md, nurls == 1);
|
||||
if (!res) return 0;
|
||||
}
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user