aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rndlinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/rndlinux.c')
-rw-r--r--cipher/rndlinux.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cipher/rndlinux.c b/cipher/rndlinux.c
index a1a1c294c..365233bf6 100644
--- a/cipher/rndlinux.c
+++ b/cipher/rndlinux.c
@@ -71,12 +71,8 @@ open_device( const char *name, int minor )
g10_log_fatal("can't open %s: %s\n", name, strerror(errno) );
if( fstat( fd, &sb ) )
g10_log_fatal("stat() off %s failed: %s\n", name, strerror(errno) );
- #if defined(__sparc__) && defined(__linux__)
- #warning something is wrong with UltraPenguin /dev/random
- #else
if( !S_ISCHR(sb.st_mode) )
g10_log_fatal("invalid random device!\n" );
- #endif
return fd;
}