diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-08-18 12:29:40 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-08-18 12:29:40 +0900 |
commit | cbbdc015bf522d4aff656ff0417b83144ab4bb2a (patch) | |
tree | a312e2e6654829e54723dbf713bc15521b7b7869 /cipher/md.c | |
parent | 6e40fca726357f13790065a27e2a0b333129fc54 (diff) | |
download | libgcrypt-cbbdc015bf522d4aff656ff0417b83144ab4bb2a.tar.gz |
cipher: Fix the order of fields of gcry_md_context.
* cipher/md.c (struct gcry_md_context): Fix for better memory usage.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher/md.c')
-rw-r--r-- | cipher/md.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/md.c b/cipher/md.c index d6a80427..ea9ade19 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -261,14 +261,14 @@ typedef struct gcry_md_list struct gcry_md_context { int magic; - size_t actual_handle_size; /* Allocated size of this handle. */ - FILE *debug; struct { unsigned int secure:1; unsigned int finalized:1; unsigned int bugemu1:1; unsigned int hmac:1; } flags; + size_t actual_handle_size; /* Allocated size of this handle. */ + FILE *debug; GcryDigestEntry *list; }; |