lots o warning fixes for rc3

This commit is contained in:
toddouska
2011-09-28 13:19:05 -07:00
parent ab6ab40271
commit 27d35d50cc
10 changed files with 25 additions and 26 deletions

View File

@@ -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;

View File

@@ -23,7 +23,7 @@
#include <config.h>
#endif
#if HAVE_HC128
#ifdef HAVE_HC128
#include <cyassl/ctaocrypt/hc128.h>
#ifdef NO_INLINE