int i;
struct ssh2_userkey *retval = NULL;
const char *errmsg;
- unsigned char *blob;
- int blobsize = 0;
unsigned checkint0, checkint1;
const void *priv, *string;
int privlen, stringlen, key_index;
const struct ssh_signkey *alg = NULL;
- blob = NULL;
-
if (!key)
return NULL;
retkey = NULL; /* prevent the free */
error:
- if (blob) {
- smemclr(blob, blobsize);
- sfree(blob);
- }
if (retkey) {
sfree(retkey->comment);
if (retkey->data) {