From: Christian Grothoff Date: Fri, 8 Oct 2010 14:08:49 +0000 (+0000) Subject: struct X-Git-Tag: initial-import-from-subversion-38251~20109 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0af161cb9d72b3d38c38ecdbe2eb5da77ad05fc5;p=oweals%2Fgnunet.git struct --- diff --git a/src/util/crypto_ksk.c b/src/util/crypto_ksk.c index af0905a33..d560cf0ea 100644 --- a/src/util/crypto_ksk.c +++ b/src/util/crypto_ksk.c @@ -695,13 +695,13 @@ ksk_decode_key (const struct KskRsaPrivateKeyBinaryEncoded *encoding) } -typedef struct +struct KBlockKeyCacheLine { GNUNET_HashCode hc; struct KskRsaPrivateKeyBinaryEncoded *pke; -} KBlockKeyCacheLine; +}; -static KBlockKeyCacheLine **cache; +static struct KBlockKeyCacheLine **cache; static unsigned int cacheSize; @@ -713,7 +713,7 @@ struct GNUNET_CRYPTO_RsaPrivateKey * GNUNET_CRYPTO_rsa_key_create_from_hash (const GNUNET_HashCode * hc) { struct GNUNET_CRYPTO_RsaPrivateKey *ret; - KBlockKeyCacheLine *line; + struct KBlockKeyCacheLine *line; int i; for (i = 0; i < cacheSize; i++) @@ -725,7 +725,7 @@ GNUNET_CRYPTO_rsa_key_create_from_hash (const GNUNET_HashCode * hc) } } - line = GNUNET_malloc (sizeof (KBlockKeyCacheLine)); + line = GNUNET_malloc (sizeof (struct KBlockKeyCacheLine)); line->hc = *hc; line->pke = makeKblockKeyInternal (hc); GNUNET_array_grow (cache, cacheSize, cacheSize + 1);