mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
6d4313f03e
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) |
||
---|---|---|
.. | ||
asm | ||
build.info | ||
cbc_cksm.c | ||
cbc_enc.c | ||
cfb64ede.c | ||
cfb64enc.c | ||
cfb_enc.c | ||
des_enc.c | ||
des_local.h | ||
ecb3_enc.c | ||
ecb_enc.c | ||
fcrypt_b.c | ||
fcrypt.c | ||
ncbc_enc.c | ||
ofb64ede.c | ||
ofb64enc.c | ||
ofb_enc.c | ||
pcbc_enc.c | ||
qud_cksm.c | ||
rand_key.c | ||
set_key.c | ||
spr.h | ||
str2key.c | ||
xcbc_enc.c |