In apps, malloc or die
authorRich Salz <rsalz@openssl.org>
Thu, 30 Apr 2015 21:48:31 +0000 (17:48 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 30 Apr 2015 21:48:31 +0000 (17:48 -0400)
commit68dc682499ea3fe27d909c946d7abd39062d6efd
tree3478a6fb3699bdfa08d5871848696882ee1c24db
parent222561fe8ef510f336417a666f69f81ddc9b8fe4
In apps, malloc or die

No point in proceeding if you're out of memory.  So change
*all* OPENSSL_malloc calls in apps to use the new routine which
prints a message and exits.

Reviewed-by: Richard Levitte <levitte@openssl.org>
24 files changed:
apps/apps.c
apps/apps.h
apps/ca.c
apps/cms.c
apps/dgst.c
apps/dhparam.c
apps/dsaparam.c
apps/ecparam.c
apps/enc.c
apps/engine.c
apps/openssl.c
apps/passwd.c
apps/pkeyutl.c
apps/rsa.c
apps/rsautl.c
apps/s_cb.c
apps/s_client.c
apps/s_server.c
apps/s_socket.c
apps/speed.c
apps/srp.c
apps/ts.c
apps/vms_decc_init.c
apps/x509.c