From 4fb7e2b4454cedef93cee01a156973d5c2e84d83 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 15 Jan 2012 13:40:21 +0000 Subject: [PATCH] Fix OPNESSL vs. OPENSSL typos [from HEAD]. PR: 2613 Submitted by: Leena Heino --- crypto/modes/modes_lcl.h | 2 +- crypto/rand/randfile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/modes/modes_lcl.h b/crypto/modes/modes_lcl.h index 4dab6a67fe..7a82a981ca 100644 --- a/crypto/modes/modes_lcl.h +++ b/crypto/modes/modes_lcl.h @@ -36,7 +36,7 @@ typedef unsigned char u8; # undef STRICT_ALIGNMENT #endif -#if !defined(PEDANTIC) && !defined(OPENSSL_NO_ASM) && !defined(OPNESSL_NO_INLINE_ASM) +#if !defined(PEDANTIC) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) #if defined(__GNUC__) && __GNUC__>=2 # if defined(__x86_64) || defined(__x86_64__) # define BSWAP8(x) ({ u64 ret=(x); \ diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index bc7d9c5804..030e07f418 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -137,7 +137,7 @@ int RAND_load_file(const char *file, long bytes) in=fopen(file,"rb"); #endif if (in == NULL) goto err; -#if defined(S_IFBLK) && defined(S_IFCHR) && !defined(OPNESSL_NO_POSIX_IO) +#if defined(S_IFBLK) && defined(S_IFCHR) && !defined(OPENSSL_NO_POSIX_IO) if (sb.st_mode & (S_IFBLK | S_IFCHR)) { /* this file is a device. we don't want read an infinite number * of bytes from a random device, nor do we want to use buffered -- 2.25.1