summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorschwarze <>2021-11-10 14:34:21 +0000
committerschwarze <>2021-11-10 14:34:21 +0000
commitc1f5af74ca6b87347d35a5339b06f2f86a8a4ca0 (patch)
tree741fd434d7563c5003ed67402eb2ddbc02547f15 /src/lib/libssl/ssl_lib.c
parent4ad963dd22e961a774e355b72d22c97240ce5c38 (diff)
downloadopenbsd-c1f5af74ca6b87347d35a5339b06f2f86a8a4ca0.tar.gz
openbsd-c1f5af74ca6b87347d35a5339b06f2f86a8a4ca0.tar.bz2
openbsd-c1f5af74ca6b87347d35a5339b06f2f86a8a4ca0.zip
Merge a few additional X509error(ERR_R_MALLOC_FAILURE) calls
and various style improvements from the OpenSSL 1.1.1 branch, which is still under a free license. - No need to #include <openssl/lhash.h>. - BUF_MEM_free(3) and sk_pop_free(3) can handle NULL. - sk_value(3) can handle -1. - Test pointers with "== NULL" rather than with "!". - Use the safer "p = malloc(sizeof(*p))" idiom. - return is not a function. - Delete very wrong commented out code. Including parts of the these commits from the 2015 to 2018 time range: 25aaa98a b4faea50 90945fa3 f32b0abe 26a7d938 7fcdbd83 208056b2 5b37fef0 Requested by and OK tb@.
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions