Sign mismatch.
authorBen Laurie <ben@openssl.org>
Tue, 27 Jul 2010 16:57:05 +0000 (16:57 +0000)
committerBen Laurie <ben@openssl.org>
Tue, 27 Jul 2010 16:57:05 +0000 (16:57 +0000)
apps/speed.c

index af86cee49107c63eed3e04989af78f116ec3b5d0..d2e4abf495dda73d564d44a4c283eda29ded0b6c 100644 (file)
@@ -1777,7 +1777,7 @@ int MAIN(int argc, char **argv)
        if (doit[D_GHASH])
                {
                GCM128_CONTEXT *ctx = CRYPTO_gcm128_new(&aes_ks1,(block128_f)AES_encrypt);
-               CRYPTO_gcm128_setiv (ctx,"0123456789ab",12);
+               CRYPTO_gcm128_setiv (ctx,(unsigned char *)"0123456789ab",12);
 
                for (j=0; j<SIZE_NUM; j++)
                        {