mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
tpm2-util: declare the cleanup attribute first
As we do everywhere else (apart from it being incosistent, the switched order also makes Coccinelle unhappy).
This commit is contained in:
parent
8f07111aa8
commit
321e64dc67
|
@ -7569,7 +7569,7 @@ int tpm2_util_pbkdf2_hmac_sha256(const void *pass,
|
|||
size_t saltlen,
|
||||
uint8_t ret_key[static SHA256_DIGEST_SIZE]) {
|
||||
|
||||
uint8_t _cleanup_(erase_and_freep) *buffer = NULL;
|
||||
_cleanup_(erase_and_freep) uint8_t *buffer = NULL;
|
||||
uint8_t u[SHA256_DIGEST_SIZE];
|
||||
|
||||
/* To keep this simple, since derived KeyLen (dkLen in docs)
|
||||
|
|
Loading…
Reference in a new issue