openssl/crypto
Benjamin Kaduk f44903a428 Address some -Wold-style-declaration warnings
gcc's -Wextra pulls in -Wold-style-declaration, which triggers when a
declaration has a storage-class specifier as a non-initial qualifier.
The ISO C formal grammar requires the storage-class to be the first
component of the declaration, if present.

Seeint as the register storage-class specifier does not really have any effect
anymore with modern compilers, remove it entirely while we're here, instead of
fixing up the order.

Interestingly, the gcc devteam warnings do not pull in -Wextra, though
the clang ones do.

[extended tests]

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3239)
2017-05-01 14:23:28 -04:00
..
aes More typo fixes 2017-03-29 07:14:29 +02:00
aria Add ARIA 32-bit implementation 2017-04-20 22:55:40 +02:00
asn1 asn1/a_int.c: fix "next negative minimum" corner case in c2i_ibuf. 2017-04-30 15:17:03 +02:00
async Further improvements to ASYNC_WAIT_CTX_clear_fd 2017-02-13 15:29:43 +00:00
bf Remove a pointless "#ifndef" from bf_enc.c 2017-02-28 15:17:46 +00:00
bio Check fflush on BIO_ctrl call 2017-04-28 14:14:59 -04:00
blake2
bn Numbers greater than 1 are usually non-negative. 2017-04-21 12:22:37 -04:00
buffer
camellia camellia/asm/cmll-x86_64.pl: add CFI annotations. 2017-02-26 21:26:09 +01:00
cast Address some -Wold-style-declaration warnings 2017-05-01 14:23:28 -04:00
chacha x86_64 assembly pack: add some Ryzen performance results. 2017-03-22 10:58:01 +01:00
cmac Don't use deprecated EVP_CIPHER_CTX_cleanup() internally 2017-03-01 11:42:50 +01:00
cms ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
comp
conf Fix out-of-memory condition in conf 2017-03-12 00:19:14 +00:00
ct
des des/des_locl.h: clean up unused/irrelevant macros. 2017-03-02 16:16:52 +01:00
dh ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
dsa ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
dso Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
ec Address some -Wold-style-declaration warnings 2017-05-01 14:23:28 -04:00
engine Don't try to clean up RAND from ENGINE 2017-04-07 04:55:16 +02:00
err Check fflush on BIO_ctrl call 2017-04-28 14:14:59 -04:00
evp check length sanity before correcting in EVP_CTRL_AEAD_TLS1_AAD 2017-04-24 11:19:56 -04:00
hmac PBKDF2 computation speedup (15-40%) 2017-04-04 10:44:17 -04:00
idea
include/internal Address some -Wold-style-declaration warnings 2017-05-01 14:23:28 -04:00
kdf
lhash Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
md2
md4
md5 {md5,rc4}/asm/*-x86_64.pl: add CFI annotations. 2017-02-13 14:16:01 +01:00
mdc2
modes modes/ocb128.c: fix misaligned access in ILP32 builds on 64-bit processors. 2017-03-22 11:09:12 +01:00
objects Added error checking for OBJ_create 2017-04-11 19:16:01 -04:00
ocsp
pem More typo fixes 2017-03-29 07:14:29 +02:00
perlasm Fix a few typos 2017-02-14 15:48:51 -05:00
pkcs7 Remove dead code in crypto/pkcs7 2017-02-28 12:58:26 +01:00
pkcs12 Fix memory leak in pkcs12 -export 2017-02-21 14:47:18 -05:00
poly1305 poly1305/asm/poly1305-x86_64.pl: add poly1305_blocks_vpmadd52_8x. 2017-03-22 10:59:59 +01:00
rand rand/rand_lib.c: keep fixing no-engine configuration. 2017-04-10 12:09:23 +02:00
rc2
rc4 {md5,rc4}/asm/*-x86_64.pl: add CFI annotations. 2017-02-13 14:16:01 +01:00
rc5
ripemd
rsa Remove unnecessary loop in pkey_rsa_decrypt. 2017-04-26 20:47:37 -04:00
seed Use _WIN32 over WIN32 for preprocessor conditional 2017-02-16 08:59:47 -05:00
sha More typo fixes 2017-03-29 07:14:29 +02:00
siphash
srp Correct some badly formated preprocessor lines 2017-04-25 15:44:48 +02:00
stack
ts
txt_db Fix a few memleaks in TXT_DB. 2017-02-21 14:13:58 -05:00
ui Make default_method mostly compile-time 2017-04-07 12:19:46 -04:00
whrlpool whrlpool/asm/wp-x86_64.pl: add CFI annotations. 2017-02-26 21:26:24 +01:00
x509 Use X509_get_signature_info() when checking security levels. 2017-04-25 22:12:34 +01:00
x509v3 Add support for custom signature parameters 2017-04-25 22:12:34 +01:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c crypto/armcap.c: short-circuit processor capability probe in iOS builds. 2017-02-15 23:16:23 +01:00
armv4cpuid.pl ARMv4 assembly pack: harmonize Thumb-ification of iOS build. 2017-02-15 23:16:01 +01:00
build.info
c64xpluscpuid.pl
cpt_err.c
cryptlib.c Use memcmp() instead of CRYPTO_memcmp() when fuzzing 2017-03-19 14:34:07 +01:00
cversion.c
dllmain.c
ebcdic.c
ex_data.c Fix the error handling in CRYPTO_dup_ex_data. 2017-03-20 13:11:31 +01:00
ia64cpuid.S
init.c
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_dbg.c Add CRYPTO_mem_leaks_cb 2017-04-24 18:09:01 +02:00
mem_sec.c Add support for MLOCK_ONFAULT to secure arena 2017-04-06 12:53:23 +02:00
mem.c Removed ugly size_t less than zero check. 2017-02-21 12:30:23 -05:00
mips_arch.h
o_dir.c Fix typo, missing || 2017-02-22 19:51:04 +01:00
o_fips.c Clean up references to FIPS 2017-02-28 15:26:25 +01:00
o_fopen.c
o_init.c Clean up references to FIPS 2017-02-28 15:26:25 +01:00
o_str.c Address some -Wold-style-declaration warnings 2017-05-01 14:23:28 -04:00
o_time.c Reset executable bits on files where not needed. 2017-03-03 09:13:40 +01:00
pariscid.pl
ppc_arch.h
ppccap.c crypto/ppccap.c: SIGILL-free processor capabilities detection on MacOS X. 2017-04-02 20:45:59 +02:00
ppccpuid.pl
s390xcap.c
s390xcpuid.S
sparc_arch.h
sparccpuid.S Clean up references to FIPS 2017-02-28 15:26:25 +01:00
sparcv9cap.c
threads_none.c
threads_pthread.c
threads_win.c
uid.c Cleaning UEFI Build with additional OPENSSL_SYS_UEFI flags 2017-03-29 07:35:59 +02:00
vms_rms.h
x86_64cpuid.pl crypto/x86*cpuid.pl: move extended feature detection. 2017-03-13 18:42:10 +01:00
x86cpuid.pl More typo fixes 2017-03-29 07:14:29 +02:00