Fix OPNESSL vs. OPENSSL typos.
authorAndy Polyakov <appro@openssl.org>
Sun, 15 Jan 2012 13:39:10 +0000 (13:39 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 15 Jan 2012 13:39:10 +0000 (13:39 +0000)
PR: 2613
Submitted by: Leena Heino

crypto/modes/modes_lcl.h
crypto/rand/randfile.c

index 4dab6a67fe57929d7e9f6b4cb8cb899ddf1093e0..7a82a981ca4f93e460cbeb3a8f5bb42db14bc737 100644 (file)
@@ -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);                    \
index 5b1109d665a50b43083f9c904fe9f25243955e54..bd42f21356af02fb42cd4fff738588d69d18219d 100644 (file)
@@ -140,7 +140,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