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

Diff for /src/usr.bin/ssh/Attic/scard.c between version 1.33 and 1.34

version 1.33, 2006/07/25 02:01:34 version 1.34, 2006/08/01 23:36:12
Line 127 
Line 127 
         if (status == SCARD_ERROR_NOCARD) {          if (status == SCARD_ERROR_NOCARD) {
                 return SCARD_ERROR_NOCARD;                  return SCARD_ERROR_NOCARD;
         }          }
         if (status < 0 ) {          if (status < 0) {
                 error("sc_open failed");                  error("sc_open failed");
                 return status;                  return status;
         }          }
Line 217 
Line 217 
         olen = len = sw = 0;          olen = len = sw = 0;
         if (sc_fd < 0) {          if (sc_fd < 0) {
                 status = sc_init();                  status = sc_init();
                 if (status < 0 )                  if (status < 0)
                         goto err;                          goto err;
         }          }
         if (padding != RSA_PKCS1_PADDING)          if (padding != RSA_PKCS1_PADDING)
Line 257 
Line 257 
         len = sw = 0;          len = sw = 0;
         if (sc_fd < 0) {          if (sc_fd < 0) {
                 status = sc_init();                  status = sc_init();
                 if (status < 0 )                  if (status < 0)
                         goto err;                          goto err;
         }          }
         if (padding != RSA_PKCS1_PADDING)          if (padding != RSA_PKCS1_PADDING)
Line 380 
Line 380 
                 key_free(k);                  key_free(k);
                 return NULL;                  return NULL;
         }          }
         if (status < 0 ) {          if (status < 0) {
                 error("sc_read_pubkey failed");                  error("sc_read_pubkey failed");
                 key_free(k);                  key_free(k);
                 return NULL;                  return NULL;

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34