]> git.ipfire.org Git - thirdparty/curl.git/commit
unit1610: init SSL library before calling SHA256 functions
authorJay Satiro <raysatiro@yahoo.com>
Fri, 4 Mar 2022 23:34:06 +0000 (18:34 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 5 Mar 2022 08:36:09 +0000 (03:36 -0500)
commit522e46c97380132b64a28616fe82ceaf42e6ec80
tree3851015d637f300607aedd6f5162f47dd8b4b2bc
parentc07b95e280cc2acf45586ae9f48db140ce68f5d8
unit1610: init SSL library before calling SHA256 functions

The SSL library must be initialized (via global initialization) because
libcurl's SHA256 functions may call SHA256 functions in the SSL library.

Reported-by: Gisle Vanem
Fixes https://github.com/curl/curl/issues/8538
Closes https://github.com/curl/curl/pull/8540
tests/unit/unit1610.c