[BACK]Return to key.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/key.c between version 1.24 and 1.25

version 1.24, 2001/04/16 08:26:04 version 1.25, 2001/04/17 10:53:24
Line 629 
Line 629 
         return KEY_UNSPEC;          return KEY_UNSPEC;
 }  }
   
   int
   key_names_valid2(const char *names)
   {
           char *s, *cp, *p;
   
           if (names == NULL || strcmp(names, "") == 0)
                   return 0;
           s = cp = xstrdup(names);
           for ((p = strsep(&cp, ",")); p && *p != '\0';
                (p = strsep(&cp, ","))) {
                   switch (key_type_from_name(p)) {
                   case KEY_RSA1:
                   case KEY_UNSPEC:
                           xfree(s);
                           return 0;
                   }
           }
           debug3("key names ok: [%s]", names);
           xfree(s);
           return 1;
   }
   
 Key *  Key *
 key_from_blob(char *blob, int blen)  key_from_blob(char *blob, int blen)
 {  {

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25