- set lifetime for VOMS proxies (fixes #15995 and hopefuly #15905) glite-security-proxyrenewal_R_1_0_17
authorDaniel Kouřil <kouril@ics.muni.cz>
Wed, 5 Apr 2006 08:59:03 +0000 (08:59 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Wed, 5 Apr 2006 08:59:03 +0000 (08:59 +0000)
org.glite.security.proxyrenewal/project/version.properties
org.glite.security.proxyrenewal/src/voms.c

index b338a39..86de735 100644 (file)
@@ -1,4 +1,4 @@
 
-module.version = 1.0.16
+module.version = 1.0.17
 module.age = 1
                                
index 950e60e..365d5aa 100644 (file)
@@ -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,