Move ossl_assert
authorMatt Caswell <matt@openssl.org>
Wed, 2 Aug 2017 13:46:31 +0000 (14:46 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 3 Aug 2017 09:48:00 +0000 (10:48 +0100)
commit67dc995eaf538ea309c6292a1a5073465201f55b
treebd562ac36e1c5796eca7693ef180b9c9636256cc
parent5bd05e579994c756cd994b5e0ff5f395aae6bfff
Move ossl_assert

Move the definition of ossl_assert() out of e_os.h which is intended for OS
specific things. Instead it is moved into internal/cryptlib.h.

This also changes the definition to remove the (int) cast.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4073)
14 files changed:
e_os.h
include/internal/cryptlib.h [moved from crypto/include/internal/cryptlib.h with 84% similarity]
ssl/packet.c
ssl/record/rec_layer_d1.c
ssl/record/ssl3_record.c
ssl/record/ssl3_record_tls13.c
ssl/s3_cbc.c
ssl/s3_enc.c
ssl/ssl_ciph.c
ssl/ssl_lib.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_cust.c
ssl/statem/statem_dtls.c
ssl/statem/statem_lib.c