summaryrefslogtreecommitdiffstats
path: root/fips/ecdh
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-03-17 16:55:24 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-03-17 16:55:24 +0000
commit96ec46f7c03a94f74cc05ebdf7a8889174acb28d (patch)
treee3c57b7e393c011ded8d423f9a5a1688a46413c7 /fips/ecdh
parent27131fe8f7418bf22b1e3000ea6a5d7b1ec8ebd4 (diff)
Implement health checks needed by SP800-90.
Fix warnings. Instantiate DRBGs at maximum strength.
Diffstat (limited to 'fips/ecdh')
-rw-r--r--fips/ecdh/fips_ecdhvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/ecdh/fips_ecdhvs.c b/fips/ecdh/fips_ecdhvs.c
index c68daf2e94..38178f5eea 100644
--- a/fips/ecdh/fips_ecdhvs.c
+++ b/fips/ecdh/fips_ecdhvs.c
@@ -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;