LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File voms-default-proxyver.patch of Package voms (Project home:inescid:grid)

diff --git a/src/common/credentials.c b/src/common/credentials.c
index f834dca..00a8986 100644
--- a/src/common/credentials.c
+++ b/src/common/credentials.c
@@ -50,13 +50,13 @@ globus(int version)
       char *tmp;
       
       version = strtol(gver, &tmp, 10);
-      if (!(*tmp))
-        return 22;
+      if (*tmp)
+        return 60;
     }
   }
   
-  if (version >= 42 || version == 0)
-    version = 22;
+  if (version > 60 || version == 0)
+    version = 60;
 
   return version;
 }