Implement health checks needed by SP800-90.
[openssl.git] / fips / ecdh / fips_ecdhvs.c
index c68daf2e946ee14623e38b230b9c428b649c187b..38178f5eeac0289041be93f7ea9e2f9a9db7eeac 100644 (file)
@@ -279,7 +279,7 @@ int main(int argc,char **argv)
        int argn = argc - 1;
        FILE *in, *out;
        char buf[2048], lbuf[2048];
-       unsigned char *rhash;
+       unsigned char *rhash = NULL;
        long rhashlen;
        BIGNUM *cx = NULL, *cy = NULL;
        BIGNUM *id = NULL, *ix = NULL, *iy = NULL;