include string.h for memcmp
remove unused variables
---
aeswrap/aes_wrap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aeswrap/aes_wrap.c b/aeswrap/aes_wrap.c
index b5157d7..c3079e3 100644
--- a/aeswrap/aes_wrap.c
+++ b/aeswrap/aes_wrap.c
@@ -10,7 +10,7 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
@@ -53,6 +53,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <openssl/aes.h>
@@ -150,7 +151,6 @@ main(int argc, char **argv)
0xfb, 0x98, 0x8b, 0x9b, 0x7a, 0x02, 0xdd, 0x21
};
- AES_KEY wctx, xctx;
int ret, nfailures = 0;
ret = AES_wrap_unwrap_test(kek, 128, NULL, e1, key, 16);
if (ret == 0)
--
1.9.3