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

Diff for /src/usr.bin/ssh/ssh-pkcs11.c between version 1.60 and 1.61

version 1.60, 2024/04/02 09:32:28 version 1.61, 2024/04/02 09:48:24
Line 1378 
Line 1378 
 pkcs11_decode_hex(const char *hex, unsigned char **dest, size_t *rlen)  pkcs11_decode_hex(const char *hex, unsigned char **dest, size_t *rlen)
 {  {
         size_t  i, len;          size_t  i, len;
         char    ptr[3];  
   
         if (dest)          if (dest)
                 *dest = NULL;                  *dest = NULL;
Line 1391 
Line 1390 
   
         *dest = xmalloc(len);          *dest = xmalloc(len);
   
         ptr[2] = '\0';  
         for (i = 0; i < len; i++) {          for (i = 0; i < len; i++) {
                 int hi, low;                  int hi, low;
   

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61