summaryrefslogtreecommitdiff
path: root/libgcrypt-1.4.6/src/fips.c
diff options
context:
space:
mode:
authorNvinside <Nvinside@eced67a3-f377-a0ae-92ae-d6de1850b05a>2011-05-29 17:30:08 +0000
committerNvinside <Nvinside@eced67a3-f377-a0ae-92ae-d6de1850b05a>2011-05-29 17:30:08 +0000
commitc7d130404a30262a67e63b12bfa1237172587e70 (patch)
treeb5cfdb84174263f8dfd5e1334f0f1e6994557a90 /libgcrypt-1.4.6/src/fips.c
parentbdf9d4fc550070b1bd560665b85f02e72dbca6d1 (diff)
git-svn-id: http://mirotr.googlecode.com/svn/trunk@47 eced67a3-f377-a0ae-92ae-d6de1850b05a
Diffstat (limited to 'libgcrypt-1.4.6/src/fips.c')
-rw-r--r--libgcrypt-1.4.6/src/fips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcrypt-1.4.6/src/fips.c b/libgcrypt-1.4.6/src/fips.c
index 8709dae..91f3042 100644
--- a/libgcrypt-1.4.6/src/fips.c
+++ b/libgcrypt-1.4.6/src/fips.c
@@ -128,7 +128,7 @@ _gcry_initialize_fips_mode (int force)
file. The filename is hardwired so that there won't be any
confusion on whether /etc/gcrypt/ or /usr/local/etc/gcrypt/ is
actually used. The file itself may be empty. */
- if ( !_access (FIPS_FORCE_FILE, F_OK) )
+ if ( !access (FIPS_FORCE_FILE, F_OK) )
{
gcry_assert (!no_fips_mode_required);
goto leave;
@@ -156,7 +156,7 @@ _gcry_initialize_fips_mode (int force)
}
else if ((saved_errno = errno) != ENOENT
&& saved_errno != EACCES
- && !_access ("/proc/version", F_OK) )
+ && !access ("/proc/version", F_OK) )
{
/* Problem reading the fips file despite that we have the proc
file system. We better stop right away. */