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

Diff for /src/usr.bin/ssh/sk-usbhid.c between version 1.27 and 1.28

version 1.27, 2020/10/03 03:40:38 version 1.28, 2020/10/18 11:32:02
Line 774 
Line 774 
         }          }
         if ((ptr = fido_cred_x5c_ptr(cred)) != NULL) {          if ((ptr = fido_cred_x5c_ptr(cred)) != NULL) {
                 len = fido_cred_x5c_len(cred);                  len = fido_cred_x5c_len(cred);
                 debug3("%s: attestation cert len=%zu", __func__, len);                  skdebug(__func__, "attestation cert len=%zu", len);
                 if ((response->attestation_cert = calloc(1, len)) == NULL) {                  if ((response->attestation_cert = calloc(1, len)) == NULL) {
                         skdebug(__func__, "calloc attestation cert failed");                          skdebug(__func__, "calloc attestation cert failed");
                         goto out;                          goto out;
Line 784 
Line 784 
         }          }
         if ((ptr = fido_cred_authdata_ptr(cred)) != NULL) {          if ((ptr = fido_cred_authdata_ptr(cred)) != NULL) {
                 len = fido_cred_authdata_len(cred);                  len = fido_cred_authdata_len(cred);
                 debug3("%s: authdata len=%zu", __func__, len);                  skdebug(__func__, "authdata len=%zu", len);
                 if ((response->authdata = calloc(1, len)) == NULL) {                  if ((response->authdata = calloc(1, len)) == NULL) {
                         skdebug(__func__, "calloc authdata failed");                          skdebug(__func__, "calloc authdata failed");
                         goto out;                          goto out;

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28