Fix OPNESSL vs. OPENSSL typos.
PR: 2613 Submitted by: Leena Heino
This commit is contained in:
parent
9bd20155ba
commit
0ecedec82d
@ -36,7 +36,7 @@ typedef unsigned char u8;
|
|||||||
# undef STRICT_ALIGNMENT
|
# undef STRICT_ALIGNMENT
|
||||||
#endif
|
#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(__GNUC__) && __GNUC__>=2
|
||||||
# if defined(__x86_64) || defined(__x86_64__)
|
# if defined(__x86_64) || defined(__x86_64__)
|
||||||
# define BSWAP8(x) ({ u64 ret=(x); \
|
# define BSWAP8(x) ({ u64 ret=(x); \
|
||||||
|
@ -140,7 +140,7 @@ int RAND_load_file(const char *file, long bytes)
|
|||||||
in=fopen(file,"rb");
|
in=fopen(file,"rb");
|
||||||
#endif
|
#endif
|
||||||
if (in == NULL) goto err;
|
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)) {
|
if (sb.st_mode & (S_IFBLK | S_IFCHR)) {
|
||||||
/* this file is a device. we don't want read an infinite number
|
/* 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
|
* of bytes from a random device, nor do we want to use buffered
|
||||||
|
Loading…
Reference in New Issue
Block a user