Commit b2d65cba authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix warnings.

parent 6be82889
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ typedef struct {
        unsigned long data[N_WORDS];
} aes_block_t;

// XXX: probably some better way to do this
/* XXX: probably some better way to do this */
#if defined(__i386__) || defined(__x86_64__)
#define UNALIGNED_MEMOPS_ARE_FAST 1
#endif
+1 −1
Original line number Diff line number Diff line
@@ -54,11 +54,11 @@
 */

#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_SEED
#include <openssl/evp.h>
#include <openssl/err.h>
#include <string.h>
#include <assert.h>
#ifndef OPENSSL_NO_SEED
#include <openssl/seed.h>
#include "evp_locl.h"

+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ static int run_test_vectors(void)
			++errs;
			}

		// try with in == out
		/* try with in == out */
		memcpy(iv, v->iv, sizeof iv);
		memcpy(buf, v->in, v->length);
		AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt);