From 8d7e3d8216fdf54fb86072bcfe589da49a9bb8c8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 2 Jan 2014 06:33:16 +0100 Subject: [PATCH] fix typo: s/Endianess/Endianness/ --- crypt.tex | 2 +- src/misc/crypt/crypt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypt.tex b/crypt.tex index 4a5d59b..486eb95 100644 --- a/crypt.tex +++ b/crypt.tex @@ -5580,7 +5580,7 @@ stderr then return execution to the caller. This could lead to a segmentation f if you handle signals on your own. When set to 3, it will resolve to a empty macro and no error checking will be performed. Finally, when set to 4, it will return CRYPT\_INVALID\_ARG to the caller. -\subsubsection{Endianess} +\subsubsection{Endianness} There are five macros related to endianess issues. For little endian platforms define, \textbf{ENDIAN\_LITTLE}. For big endian platforms define \textbf{ENDIAN\_BIG}. Similarly when the default word size of an \textit{unsigned long} is 32-bits define \textbf{ENDIAN\_32BITWORD} or define \textbf{ENDIAN\_64BITWORD} when its 64-bits. If you do not define any of them the library will automatically use \textbf{ENDIAN\_NEUTRAL} diff --git a/src/misc/crypt/crypt.c b/src/misc/crypt/crypt.c index 28d6c74..6a183a9 100644 --- a/src/misc/crypt/crypt.c +++ b/src/misc/crypt/crypt.c @@ -19,7 +19,7 @@ const char *crypt_build_settings = "LibTomCrypt " SCRYPT " (Tom St Denis, tomstdenis@gmail.com)\n" "LibTomCrypt is public domain software.\n" "Built on " __DATE__ " at " __TIME__ "\n\n\n" - "Endianess: " + "Endianness: " #if defined(ENDIAN_NEUTRAL) "neutral\n" #elif defined(ENDIAN_LITTLE)