From 8a31288c9540b586819cf0bd60d9ca10b43bf39c Mon Sep 17 00:00:00 2001 From: Todd A Ouska Date: Thu, 7 Apr 2011 08:56:34 -0700 Subject: [PATCH] serial int init bug fix submitted by eof --- ctaocrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index ccdf949e5..19c7ba0a9 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -876,7 +876,7 @@ static int GetCertHeader(DecodedCert* cert, word32 inSz) return ASN_PARSE_E; if (GetInt(&mpi, cert->source, &cert->srcIdx) < 0) - ret = ASN_PARSE_E; + return ASN_PARSE_E; len = mp_unsigned_bin_size(&mpi); if (len > SERIAL_SIZE)