diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-31 15:21:24 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-31 15:21:24 +0000 |
| commit | dd7d7e3f138d1835d153c316f3d771e40dc641ba (patch) | |
| tree | 7427232d1e9759028490f843152a83a4bbbab7db /libcrypt/des.c | |
| parent | 89ed2cccba266f7738ceb445e4d43103c08cbe75 (diff) | |
| download | uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.bz2 uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.xz | |
Synch with trunk at rev 22997.
Basically trailing whitespaces removal, fix non standard keywords
asm -> __asm__ inline -> __inline__ and some minor changes on trunk.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libcrypt/des.c')
| -rw-r--r-- | libcrypt/des.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcrypt/des.c b/libcrypt/des.c index 502dc2819..eb1e13fec 100644 --- a/libcrypt/des.c +++ b/libcrypt/des.c @@ -82,8 +82,8 @@ static u_int32_t old_salt; static u_int32_t old_rawkey0, old_rawkey1; -/* Static stuff that stays resident and doesn't change after - * being initialized, and therefore doesn't need to be made +/* Static stuff that stays resident and doesn't change after + * being initialized, and therefore doesn't need to be made * reentrant. */ static u_char init_perm[64], final_perm[64]; static u_char m_sbox[4][4096]; @@ -195,7 +195,7 @@ static const u_int32_t bits32[32] = static const u_char bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; -static int +static int ascii_to_bin(char ch) { if (ch > 'z') @@ -699,7 +699,7 @@ char *__des_crypt(const unsigned char *key, const unsigned char *setting) */ output[9] = '\0'; p = (u_char *)output + strlen(output); - } else + } else #endif { /* |
