summaryrefslogtreecommitdiff
path: root/src/secmem.c
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2006-04-01 13:20:04 +0000
committerMoritz Schulte <mo@g10code.com>2006-04-01 13:20:04 +0000
commiteaee2dd54a87f0adad6f47244cbf56aa0b04cd23 (patch)
treea972cf4fd56b508e9d5f63dba60cbb2d95d06236 /src/secmem.c
parent7f72aac52b926caa64d2290a8cfc3eb12fa5104d (diff)
downloadlibgcrypt-eaee2dd54a87f0adad6f47244cbf56aa0b04cd23.tar.gz
src/ChangeLog:
2006-04-01 Moritz Schulte <moritz@g10code.com> * gcrypt.h (gcry_ac_eme_pkcs_v1_5): Removed members: key, handle; added member: key_size. * secmem.c (MB_FLAG_ACTIVE): write braces around MB_FLAG_ACTIVE definition. cipher/ChangeLog: 2006-04-01 Moritz Schulte <moritz@g10code.com> * ac.c (eme_pkcs_v1_5_encode): Use KEY_SIZE directly, no need to call gcry_ac_key_get_nbits. (eme_pkcs_v1_5_decode): Likewise. (ac_es_dencode_prepare_pkcs_v1_5): Fill options_em structure with key_size. (_gcry_ac_data_dump, gcry_ac_data_dump): New functions. (_gcry_ac_data_to_sexp, _gcry_ac_data_from_sexp): More or less rewritten; changed S-Expression format so that it matches the one used in pubkey.c.
Diffstat (limited to 'src/secmem.c')
-rw-r--r--src/secmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/secmem.c b/src/secmem.c
index 81360b99..ca85ca42 100644
--- a/src/secmem.c
+++ b/src/secmem.c
@@ -57,7 +57,7 @@ typedef struct memblock
} memblock_t;
/* This flag specifies that the memory block is in use. */
-#define MB_FLAG_ACTIVE 1 << 0
+#define MB_FLAG_ACTIVE (1 << 0)
/* The pool of secure memory. */
static void *pool;