diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-09 16:06:15 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-07-09 16:06:15 +0000 |
commit | 091061a05fbe70d963c9174b47344147cc9a7d6e (patch) | |
tree | d9f7b5a149e57caf409ab199d57b36b26f4a24ba /lib/libssl/d1_pkt.c | |
parent | 3648a0f1c8bd76c13e08cc51b10d11624d84a397 (diff) |
Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to be
more friendly to systems where the underscore flavours may be defined as empty.
Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
Diffstat (limited to 'lib/libssl/d1_pkt.c')
-rw-r--r-- | lib/libssl/d1_pkt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/d1_pkt.c b/lib/libssl/d1_pkt.c index d75f56beb63..56e6939aedc 100644 --- a/lib/libssl/d1_pkt.c +++ b/lib/libssl/d1_pkt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_pkt.c,v 1.30 2014/06/19 21:29:51 tedu Exp $ */ +/* $OpenBSD: d1_pkt.c,v 1.31 2014/07/09 16:06:14 miod Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -133,7 +133,7 @@ satsub64be(const unsigned char *v1, const unsigned char *v2) do { long l; - if (_BYTE_ORDER == _LITTLE_ENDIAN) + if (BYTE_ORDER == LITTLE_ENDIAN) break; /* not reached on little-endians */ /* following test is redundant, because input is |