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

Diff for /src/usr.bin/ssh/sshkey.c between version 1.134 and 1.135

version 1.134, 2022/10/28 02:47:04 version 1.135, 2023/03/31 03:22:49
Line 2710 
Line 2710 
 {  {
         u_char *cp, *key = NULL, *pubkeyblob = NULL;          u_char *cp, *key = NULL, *pubkeyblob = NULL;
         u_char salt[SALT_LEN];          u_char salt[SALT_LEN];
         char *b64 = NULL;  
         size_t i, pubkeylen, keylen, ivlen, blocksize, authlen;          size_t i, pubkeylen, keylen, ivlen, blocksize, authlen;
         u_int check;          u_int check;
         int r = SSH_ERR_INTERNAL_ERROR;          int r = SSH_ERR_INTERNAL_ERROR;
Line 2827 
Line 2826 
                 freezero(key, keylen + ivlen);                  freezero(key, keylen + ivlen);
         if (pubkeyblob != NULL)          if (pubkeyblob != NULL)
                 freezero(pubkeyblob, pubkeylen);                  freezero(pubkeyblob, pubkeylen);
         if (b64 != NULL)  
                 freezero(b64, strlen(b64));  
         return r;          return r;
 }  }
   

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135