]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix warnings.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 20 Jun 2007 17:49:42 +0000 (17:49 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 20 Jun 2007 17:49:42 +0000 (17:49 +0000)
crypto/aes/aes_ige.c
crypto/evp/e_seed.c
test/igetest.c

index aeb11dbbac502acc254f02fed6bb7a1661798b02..8b5b36baccc9eeb71fe011cb01f4ffd32d5e8740 100644 (file)
@@ -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
index 2d1759d276653a759dcafd58ccf57ba05721f51b..8c1ec0d43a60d7953966be1f4965154d6765c6ca 100644 (file)
  */
 
 #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"
 
index ecdeb906033050f4905e3fbd13bb137c0a330701..95452d096570e2d4c06c3484fc6abc12c42309f4 100644 (file)
@@ -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);