From: Daniel KouĊ™il Date: Wed, 5 Apr 2006 08:59:03 +0000 (+0000) Subject: - set lifetime for VOMS proxies (fixes #15995 and hopefuly #15905) X-Git-Tag: glite-security-proxyrenewal_R_1_0_17 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5666d4d3be1ced3391f929bb4f501bf000ec53ca;p=jra1mw.git - set lifetime for VOMS proxies (fixes #15995 and hopefuly #15905) --- diff --git a/org.glite.security.proxyrenewal/project/version.properties b/org.glite.security.proxyrenewal/project/version.properties index b338a39..86de735 100644 --- a/org.glite.security.proxyrenewal/project/version.properties +++ b/org.glite.security.proxyrenewal/project/version.properties @@ -1,4 +1,4 @@ -module.version = 1.0.16 +module.version = 1.0.17 module.age = 1 diff --git a/org.glite.security.proxyrenewal/src/voms.c b/org.glite.security.proxyrenewal/src/voms.c index 950e60e..365d5aa 100644 --- a/org.glite.security.proxyrenewal/src/voms.c +++ b/org.glite.security.proxyrenewal/src/voms.c @@ -162,6 +162,9 @@ renew_voms_cert(struct vomsdata *vd, struct voms **voms_cert, ret = create_voms_command(vd, voms_cert, &command); + /* XXX the lifetime should be taken from the older proxy */ + ret = VOMS_SetLifetime(60*60*12, vd, &voms_error); + /* XXX iterate over all servers on the list on errors */ ret = VOMS_ContactRaw(voms_contacts[0]->host, voms_contacts[0]->port, voms_contacts[0]->contact, command,