Remove outdated DEBUG flags.
authorRich Salz <rsalz@akamai.com>
Thu, 18 Feb 2016 16:33:21 +0000 (11:33 -0500)
committerRich Salz <rsalz@openssl.org>
Thu, 18 Feb 2016 22:14:50 +0000 (17:14 -0500)
commitd63a5e5e7d96f173e2bbf711e3f1f813bf0df05e
tree6e7edc889b0c944a4f43c467b9733cc838b046e4
parent1bd8bc558d7c0b41286d276e62088d7186bd5c34
Remove outdated DEBUG flags.

Add -DBIO_DEBUG to --strict-warnings.
Remove comments about outdated debugging ifdef guards.
Remove md_rand ifdef guarding an assert; it doesn't seem used.
Remove the conf guards in conf_api since we use OPENSSL_assert, not assert.
For pkcs12 stuff put OPENSSL_ in front of the macro name.
Merge TLS_DEBUG into SSL_DEBUG.
Various things just turned on/off asserts, mainly for checking non-NULL
arguments, which is now removed: camellia, bn_ctx, crypto/modes.
Remove some old debug code, that basically just printed things to stderr:
  DEBUG_PRINT_UNKNOWN_CIPHERSUITES, DEBUG_ZLIB, OPENSSL_RI_DEBUG,
  RL_DEBUG, RSA_DEBUG, SCRYPT_DEBUG.
Remove OPENSSL_SSL_DEBUG_BROKEN_PROTOCOL.

Reviewed-by: Richard Levitte <levitte@openssl.org>
42 files changed:
Configure
apps/apps.c
apps/x509.c
crypto/bn/bn_ctx.c
crypto/camellia/cmll_ecb.c
crypto/comp/c_zlib.c
crypto/conf/conf_api.c
crypto/engine/tb_cipher.c
crypto/engine/tb_dh.c
crypto/engine/tb_digest.c
crypto/engine/tb_dsa.c
crypto/engine/tb_eckey.c
crypto/engine/tb_pkmeth.c
crypto/engine/tb_rand.c
crypto/engine/tb_rsa.c
crypto/evp/p5_crpt2.c
crypto/evp/scrypt.c
crypto/modes/cbc128.c
crypto/modes/ccm128.c
crypto/modes/cfb128.c
crypto/modes/ctr128.c
crypto/modes/cts128.c
crypto/modes/gcm128.c
crypto/modes/ofb128.c
crypto/modes/xts128.c
crypto/pkcs12/p12_decr.c
crypto/pkcs12/p12_key.c
crypto/rand/md_rand.c
crypto/rsa/rsa_sign.c
doc/ssl/SSL_CONF_cmd.pod
ssl/record/ssl3_record.c
ssl/s3_lib.c
ssl/ssl_ciph.c
ssl/ssl_conf.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c
ssl/t1_enc.c
ssl/t1_lib.c
ssl/t1_reneg.c
util/mkdef.pl