• G
    Some more tweaks to ENGINE code. · 59bc3126
    Geoff Thorpe 提交于
    The existing ENGINEs (including the default 'openssl' software engine) were
    static, declared inside the source file for each engine implementation. The
    reason this was not going boom was that all the ENGINEs had reference
    counts that never hit zero (once linked into the internal list, each would
    always have at least 1 lasting structural reference).
    
    To fix this so it will stay standing when an "unload" function is added to
    match ENGINE_load_builtin_engines(), the "constructor" functions for each
    ENGINE implementation have been changed to dynamically allocate and
    construct their own ENGINEs using API functions. The other benefit of this
    is that no ENGINE implementation has to include the internal "engine_int.h"
    header file any more.
    59bc3126
Makefile.ssl 15.8 KB