Fix warnings.
This commit is contained in:
parent
6be8288928
commit
b2d65cbac7
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue