forked from wolfSSL/wolfssl
lots o warning fixes for rc3
This commit is contained in:
@@ -75,7 +75,7 @@ int main(int argc, char** argv)
|
||||
bench_aes(1);
|
||||
#endif
|
||||
bench_arc4();
|
||||
#if HAVE_HC128
|
||||
#ifdef HAVE_HC128
|
||||
bench_hc128();
|
||||
#endif
|
||||
#ifndef NO_RABBIT
|
||||
@@ -204,7 +204,7 @@ void bench_arc4()
|
||||
}
|
||||
|
||||
|
||||
#if HAVE_HC128
|
||||
#ifdef HAVE_HC128
|
||||
void bench_hc128()
|
||||
{
|
||||
HC128 enc;
|
||||
|
||||
@@ -1194,8 +1194,10 @@ static int GetName(DecodedCert* cert, int nameType)
|
||||
byte joint[2];
|
||||
int oidSz;
|
||||
|
||||
if (GetSet(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0)
|
||||
if (GetSet(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0) {
|
||||
(void)b; /* empty body warning w/o messages enabled */
|
||||
CYASSL_MSG("Cert name lacks set header, trying sequence");
|
||||
}
|
||||
|
||||
if (GetSequence(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0)
|
||||
return ASN_PARSE_E;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_HC128
|
||||
#ifdef HAVE_HC128
|
||||
|
||||
#include <cyassl/ctaocrypt/hc128.h>
|
||||
#ifdef NO_INLINE
|
||||
|
||||
@@ -752,7 +752,7 @@ int arc4_test()
|
||||
|
||||
int hc128_test()
|
||||
{
|
||||
#if defined(HAVE_HC128) && HAVE_HC128
|
||||
#ifdef HAVE_HC128
|
||||
byte cipher[16];
|
||||
byte plain[16];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user