]> git.ipfire.org Git - thirdparty/openssl.git/commit
This case in the "dso_unload" handlers should not be reported as an error -
authorGeoff Thorpe <geoff@openssl.org>
Tue, 25 Apr 2000 08:37:12 +0000 (08:37 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 25 Apr 2000 08:37:12 +0000 (08:37 +0000)
commitebbaebf784b853a89d9779a79fa0ce0de3755262
tree3efd9623a6e6af672ad1694f79bc1f9b41a4f686
parentda414db464cd7393ac8642dd1d285fd8be4a4c2a
This case in the "dso_unload" handlers should not be reported as an error -
if a DSO_load(NULL,...) operation fails, it will have to call DSO_free() on
the DSO structure it created and that will filter through to this "unload"
call.

If the stack size is "< 1", then the library never actually loaded. To keep
things clean higher up, I'll treat this as a vacuous case without an error.
It makes the error stack easier to follow real world cases, and the error
this ignores was only useful for catching bugs in internal code, not
mismatched calls from applications (which should be handled in the generic
DSO layer).
crypto/dso/dso_dl.c
crypto/dso/dso_dlfcn.c
crypto/dso/dso_win32.c