]> git.tuebingen.mpg.de Git - paraslash.git/commit
openssl: Assume that openssl allocation functions functions succeed.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 2 May 2023 19:52:50 +0000 (21:52 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 17 Mar 2024 11:35:04 +0000 (12:35 +0100)
commitbfa89349d869e27dbe3467236ba269bca0a6f148
treee903cdd2ffb3a0d9b30e701c8699035b384fefe7
parent9ca251345afded3a8ac284e57b85d47e95be807e
openssl: Assume that openssl allocation functions functions succeed.

We do the same thing with malloc() and friends, so replace error
checking by assertions whenever OOM is the only possible error reason.
Also add assertions for EVP_MD_CTX_new(), whose return value was not
checked at all.
openssl.c