commit | ea6f8452f6eb561a0fa96a712da93fcdba40cd9c | [log] [tgz] |
---|---|---|
author | Robin van der Gracht <robin@protonic.nl> | Tue Sep 19 16:24:44 2023 +0200 |
committer | Robin van der Gracht <robin@protonic.nl> | Wed Sep 20 16:54:46 2023 +0200 |
tree | 5e0e9ed1fde78162d779499a4ad067aa6b6aba02 | |
parent | cd83a766d577c61a0313abea43db16a1b233691d [diff] |
fix(cert-create): key: Avoid having a temporary value for pkey in key_load key->key and k will point to the same if PEM_read_PrivateKey (pem_read_bio_key_decoder) succeeds. There is no need for the temporary 'k' pointer here. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Change-Id: I219c49d331eb6dd7200b49b75d47fd66da3d82dd