pem: Clear possibly unencrypted key file from memory
This commit is contained in:
1 parent
e2e21f2486
commit
3a739424e1
1 file changed
+1
-1
@@ -450,7 +450,7 @@ static void *load_from_file(char *file, credential_type_t type, int subtype,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
cred = load_from_blob(*chunk, type, subtype, subject, flags);
|
cred = load_from_blob(*chunk, type, subtype, subject, flags);
|
||||||
chunk_unmap(chunk);
|
chunk_unmap_clear(chunk);
|
||||||
return cred;
|
return cred;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user