X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=fips%2Fcmac%2Ffips_cmac_selftest.c;h=70764dd7a163a875200492f71e286f7fb68e9c9f;hp=8833d972274f80a2bb27bb8ebf6a6296a983a3c0;hb=cf61940534836ebd8d8a13bae0dd2cbd273a3d49;hpb=dafd5b5d74078ab35e6505bf0934dc6dbed44c4b diff --git a/fips/cmac/fips_cmac_selftest.c b/fips/cmac/fips_cmac_selftest.c index 8833d97227..70764dd7a1 100644 --- a/fips/cmac/fips_cmac_selftest.c +++ b/fips/cmac/fips_cmac_selftest.c @@ -115,7 +115,7 @@ int FIPS_selftest_cmac() const EVP_CIPHER *cipher; CMAC_CTX *ctx = CMAC_CTX_new(); const CMAC_KAT *t; - int subid, rv = 1; + int subid = -1, rv = 1; for(n=0,t=vector; n