aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'cipher')
-rw-r--r--cipher/ChangeLog24
-rw-r--r--cipher/dynload.c7
2 files changed, 19 insertions, 12 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index 1f754f912..6457035ef 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,11 @@
+2011-08-09 Werner Koch <[email protected]>
+
+ * rijndael.c (u32_a_t): New.
+ (do_encrypt_aligned, do_decrypt): Use the new type to avoid
+ problems with strict aliasing rules.
+
+ * dynload.c (register_cipher_extension): Remove unused var.
+
2010-10-18 Werner Koch <[email protected]>
* rndw32.c (slow_gatherer_windowsNT): Add GNUPG_RNDW32_NOPERF envvar.
@@ -153,7 +161,7 @@
2005-03-23 Werner Koch <[email protected]>
* rndw32.c (rndw32_gather_random_fast): While adding data use the
- size of the object and not the one of its address. Bug reported by
+ size of the object and not the one of its address. Bug reported by
Sascha Kiefer.
2005-03-07 Werner Koch <[email protected]>
@@ -170,7 +178,7 @@
* idea-stub.c (dlopen, dlsym): Use w32_strerror instead of
just showing the error number.
-
+
2004-10-14 Werner Koch <[email protected]>
* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
@@ -418,7 +426,7 @@
* blowfish.h, cast5.h, des.h: Removed after moving all prototypes to
* algorithms.h: here. Changed all sources to use this one.
-
+
2002-08-03 Stefan Bellon <[email protected]>
* idea-stub.c (idea_get_info): RISC OS' Norcroft C needs a cast.
@@ -433,7 +441,7 @@
2002-08-02 Werner Koch <[email protected]>
The big extension removal.
-
+
* Makefile.am: Removed all extension stuff.
* dynload.c: Removed everything except for
register_cipher_extension.
@@ -453,7 +461,7 @@
(load_digest_module): Simplified by removing all the dynload code.
* algorithms.h: New.
* md5.c (md5_get_info): Made global. Removed all dynload stuff.
- * rmd160.c (rmd160_get_info): Likewise.
+ * rmd160.c (rmd160_get_info): Likewise.
* sha1.c (sha1_get_info): Likewise.
* tiger.c (tiger_get_info): Likewise. Return NULL if we can't use
this module.
@@ -572,7 +580,7 @@
RISC OS. Nearly all of these patches are identified by the
__riscos__ macro.
* blowfish.c, twofish.c: Added pragmas for use with a Norcraft
- compiler.
+ compiler.
* dynload.c, md5.c, rmd160.c, sha1.c: Minor patches for RISC OS.
* rndriscos.c: New.
* rnd-internal.h: Added prototype.
@@ -595,7 +603,7 @@
* rndlinux.c (gather_random): casted a size_t arg to int so that
the format string is correct. Casting is okay here and avoids
- translation changes.
+ translation changes.
2001-06-12 Werner Koch <[email protected]>
@@ -635,7 +643,7 @@
* md5.c, sha1.c, rmd160.c, tiger.c (burn_stack): Likewise.
* random.c (burn_stack): New.
(mix_pool): Use it here to burn the stack of the mixblock function.
-
+
2001-04-02 Werner Koch <[email protected]>
* primegen.c (generate_elg_prime): I was not initialized for mode
diff --git a/cipher/dynload.c b/cipher/dynload.c
index 43a428780..a68ef49eb 100644
--- a/cipher/dynload.c
+++ b/cipher/dynload.c
@@ -34,8 +34,8 @@ typedef struct ext_list {
static EXTLIST extensions;
-/* This is actually not used anymore but we keep a list of already
- * set extensions modules here.
+/* This is actually not used anymore but we keep a list of already
+ * set extensions modules here.
*
* Here is the ancient comment:
* Register an extension module. The last registered module will
@@ -53,7 +53,7 @@ static EXTLIST extensions;
void
register_cipher_extension( const char *mainpgm, const char *fname )
{
- EXTLIST r, el, intex;
+ EXTLIST r, el;
char *p, *pe;
if( *fname != DIRSEP_C ) { /* do tilde expansion etc */
@@ -76,7 +76,6 @@ register_cipher_extension( const char *mainpgm, const char *fname )
*p = *pe = 0;
/* check that it is not already registered */
- intex = NULL;
for(r = extensions; r; r = r->next ) {
if( !compare_filenames(r->name, el->name) ) {
log_info("extension `%s' already registered\n", el->name );