cosmetics
This commit is contained in:
@@ -460,8 +460,9 @@ rsa_public_key_t *rsa_public_key_create_from_file(char *filename)
|
||||
rsa_public_key_t *pubkey = NULL;
|
||||
|
||||
if (!pem_asn1_load_file(filename, NULL, "public key", &chunk, &pgp))
|
||||
{
|
||||
return NULL;
|
||||
|
||||
}
|
||||
pubkey = rsa_public_key_create_from_chunk(chunk);
|
||||
free(chunk.ptr);
|
||||
return pubkey;
|
||||
|
||||
Reference in New Issue
Block a user