version 1.70, 2001/06/29 07:06:34 |
version 1.71, 2001/06/29 07:11:01 |
|
|
int len, status = 1, i, fd = -1, ret; |
int len, status = 1, i, fd = -1, ret; |
int r1 = 0, r2 = 0, cla = 0x00; |
int r1 = 0, r2 = 0, cla = 0x00; |
|
|
|
for (i = 0; i < NUM_RSA_KEY_ELEMENTS; i++) |
|
elements[i] = NULL; |
if (!have_identity) |
if (!have_identity) |
ask_filename(pw, "Enter file in which the key is"); |
ask_filename(pw, "Enter file in which the key is"); |
if (stat(identity_file, &st) < 0) { |
if (stat(identity_file, &st) < 0) { |
|
|
error("load failed"); |
error("load failed"); |
goto done; |
goto done; |
} |
} |
for (i = 0; i < NUM_RSA_KEY_ELEMENTS; i++) |
|
elements[i] = NULL; |
|
COPY_RSA_KEY(q, 0); |
COPY_RSA_KEY(q, 0); |
COPY_RSA_KEY(p, 1); |
COPY_RSA_KEY(p, 1); |
COPY_RSA_KEY(iqmp, 2); |
COPY_RSA_KEY(iqmp, 2); |