openssl/crypto/dso
Rich Salz efa7dd6444 free NULL cleanup 11
Don't check for NULL before calling free functions. This gets:
        ERR_STATE_free
        ENGINE_free
        DSO_free
        CMAC_CTX_free
        COMP_CTX_free
        CONF_free
        NCONF_free NCONF_free_data _CONF_free_data
        A sk_free use within OBJ_sigid_free
        TS_TST_INFO_free (rest of TS_ API was okay)
        Doc update for UI_free (all uses were fine)
        X509V3_conf_free
        X509V3_section_free
        X509V3_string_free

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-01 10:15:18 -04:00
..
dso_dl.c free null cleanup finale 2015-05-01 10:02:07 -04:00
dso_dlfcn.c free null cleanup finale 2015-05-01 10:02:07 -04:00
dso_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
dso_lib.c free NULL cleanup 11 2015-05-01 10:15:18 -04:00
dso_null.c Dead code removal: #if 0 conf, dso, pqueue, threads 2015-01-30 12:46:49 -05:00
dso_openssl.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
dso_vms.c free null cleanup finale 2015-05-01 10:02:07 -04:00
dso_win32.c free null cleanup finale 2015-05-01 10:02:07 -04:00
Makefile Remove EXHEADER, TEST, APPS, links:, install: and uninstall: where relevant 2015-03-31 20:16:01 +02:00
README This changes the behaviour of the DSO mechanism for determining an 2000-10-26 17:38:59 +00:00

NOTES
-----

I've checked out HPUX (well, version 11 at least) and shl_t is
a pointer type so it's safe to use in the way it has been in
dso_dl.c. On the other hand, HPUX11 support dlfcn too and
according to their man page, prefer developers to move to that.
I'll leave Richard's changes there as I guess dso_dl is needed
for HPUX10.20.

There is now a callback scheme in place where filename conversion can
(a) be turned off altogether through the use of the
    DSO_FLAG_NO_NAME_TRANSLATION flag,
(b) be handled by default using the default DSO_METHOD's converter
(c) overriden per-DSO by setting the override callback
(d) a mix of (b) and (c) - eg. implement an override callback that;
    (i) checks if we're win32 (if(strstr(dso->meth->name, "win32")....)
        and if so, convert "blah" into "blah32.dll" (the default is
	otherwise to make it "blah.dll").
    (ii) default to the normal behaviour - we're not on win32, eg.
         finish with (return dso->meth->dso_name_converter(dso,NULL)).