From 21768d9626467011a3523eabd2cded7ef2cfbb59 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 5 Nov 2012 14:15:38 -0800 Subject: [PATCH] test cert tmp fix --- ctaocrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctaocrypt/test/test.c b/ctaocrypt/test/test.c index bcb54b677..0c70d5125 100644 --- a/ctaocrypt/test/test.c +++ b/ctaocrypt/test/test.c @@ -1481,7 +1481,7 @@ int rsa_test(void) bytes = fread(tmp, 1, FOURK_BUF, file2); #ifdef CYASSL_TEST_CERT - InitDecodedCert(&cert, (byte*)&tmp, (word32)bytes2, 0); + InitDecodedCert(&cert, tmp, (word32)bytes, 0); ret = ParseCert(&cert, CERT_TYPE, NO_VERIFY, 0); if (ret != 0) return -491;