]> git.tue.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>
Thu, 16 May 2024 23:36:55 +0000 (01:36 +0200)
commitcab9994d36e29cdf92bd0ce340182a6c8b3a79dc
treeeaffa16a253c967e8aae442d63d4c5dedeb2f2f1
parent6a5b7c55fc65303245e9e54c65ba409da1215343
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