version 1.63, 2001/07/04 23:39:07 |
version 1.64, 2001/07/04 23:49:27 |
|
|
success = 1; |
success = 1; |
|
|
tab = idtab_lookup(1); |
tab = idtab_lookup(1); |
|
k->type = KEY_RSA1; |
if (lookup_private_key(k, NULL, 1) == NULL) { |
if (lookup_private_key(k, NULL, 1) == NULL) { |
if (tab->nentries == 0) |
if (tab->nentries == 0) |
tab->identities = xmalloc(sizeof(Identity)); |
tab->identities = xmalloc(sizeof(Identity)); |
|
|
xstrdup("rsa1 smartcard"); |
xstrdup("rsa1 smartcard"); |
tab->nentries++; |
tab->nentries++; |
} |
} |
|
k->type = KEY_RSA; |
tab = idtab_lookup(2); |
tab = idtab_lookup(2); |
if (lookup_private_key(k, NULL, 2) == NULL) { |
if (lookup_private_key(k, NULL, 2) == NULL) { |
if (tab->nentries == 0) |
if (tab->nentries == 0) |