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 c2da660c678cbd6770d454b3055a4ed0046970ad..bd002a22c22d3e0dd36f706780e11069f34ba9b7 100644 (file)
@@ -477,7 +477,7 @@ static int print_cmac_ver(const EVP_CIPHER *cipher, FILE *out,
                unsigned char *Mac, int Maclen,
                int Tlen)
        {
                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();
        size_t reslen;
        unsigned char res[128];
        CMAC_CTX *cmac_ctx = CMAC_CTX_new();