openssl/crypto/des
Thomas De Schampheleire 6d4313f03e replace 'unsigned const char' with 'const unsigned char'
The openssl code base has only a few occurrences of 'unsigned const char'
(15 occurrences), compared to the more common 'const unsigned char' (4420
occurrences).

While the former is not illegal C, mixing the 'const' keyword (a 'type
qualifier') in between 'unsigned' and 'char' (both 'type specifiers') is a
bit odd.

The background for writing this patch is not to be pedantic, but because
the 'opmock' program (used to mock headers for unit tests) does not accept
the 'unsigned const char' construct. While this definitely is a bug in
opmock or one of its dependencies, openssl is the only piece of software we
are using in combination with opmock that has this construct.

CLA: trivial

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/13722)
2021-01-09 00:20:16 +02:00
..
asm Update copyright year 2020-04-23 13:55:52 +01:00
build.info Build: Remove faulty DES assembler spec 2020-06-20 11:02:18 +02:00
cbc_cksm.c Update copyright year 2020-04-23 13:55:52 +01:00
cbc_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
cfb64ede.c Update copyright year 2020-04-23 13:55:52 +01:00
cfb64enc.c Update copyright year 2020-04-23 13:55:52 +01:00
cfb_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
des_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
des_local.h
ecb3_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
ecb_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
fcrypt_b.c Update copyright year 2020-04-23 13:55:52 +01:00
fcrypt.c replace 'unsigned const char' with 'const unsigned char' 2021-01-09 00:20:16 +02:00
ncbc_enc.c
ofb64ede.c Update copyright year 2020-04-23 13:55:52 +01:00
ofb64enc.c Update copyright year 2020-04-23 13:55:52 +01:00
ofb_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
pcbc_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
qud_cksm.c Update copyright year 2020-04-23 13:55:52 +01:00
rand_key.c Update copyright year 2020-04-23 13:55:52 +01:00
set_key.c Update copyright year 2020-04-23 13:55:52 +01:00
spr.h
str2key.c Update copyright year 2020-04-23 13:55:52 +01:00
xcbc_enc.c Update copyright year 2020-04-23 13:55:52 +01:00