Initialise rc.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 9 May 2011 21:21:29 +0000 (21:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 9 May 2011 21:21:29 +0000 (21:21 +0000)
fips/cmac/fips_cmactest.c

index c2da660..bd002a2 100644 (file)
@@ -477,7 +477,7 @@ static int print_cmac_ver(const EVP_CIPHER *cipher, FILE *out,
                unsigned char *Mac, int Maclen,
                int Tlen)
        {
-       int rc;
+       int rc = 1;
        size_t reslen;
        unsigned char res[128];
        CMAC_CTX *cmac_ctx = CMAC_CTX_new();