summaryrefslogtreecommitdiff
path: root/lib/fips.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-17 15:16:28 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-17 15:16:28 +0200
commitc4d1eb98b228b75d2c903e52e2d006c3ed16e847 (patch)
treeec01d951593094638d1f9d5002e3415309783034 /lib/fips.c
parent5e9b6286471c046aa09daa7fc51cfc5845c07c52 (diff)
downloadgnutls-c4d1eb98b228b75d2c903e52e2d006c3ed16e847.tar.gz
corrected uninitialized value
Diffstat (limited to 'lib/fips.c')
-rw-r--r--lib/fips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fips.c b/lib/fips.c
index 4b383d274a..1812610197 100644
--- a/lib/fips.c
+++ b/lib/fips.c
@@ -38,7 +38,7 @@ unsigned int _gnutls_lib_mode = LIB_STATE_POWERON;
unsigned _gnutls_fips_mode_enabled(void)
{
-unsigned f1p, f2p;
+unsigned f1p = 0, f2p;
FILE* fd;
static int fips_mode = -1;