• G
    Some more tweaks to ENGINE code. · e2f3ae12
    Geoff Thorpe 提交于
    This change adds some basic control commands to the existing ENGINEs
    (except the software 'openssl' engine). All these engines currently load
    shared-libraries for hardware APIs, so they've all been given "SO_PATH"
    commands that will configure the chosen ENGINE to load its shared library
    from the given path. Eg. by calling;
        ENGINE_ctrl_cmd_string(e, "SO_PATH", <path>, 0).
    
    The nCipher 'chil' ENGINE has also had "FORK_CHECK" and "THREAD_LOCKING"
    commands added so these settings could be handled via application-level
    configuration rather than in application source code.
    
    Changes to "openssl engine" to test and examine these control commands will
    be made shortly. It will also provide the necessary tips to application
    programs wanting to support these dynamic control commands.
    e2f3ae12
engine.h 24.9 KB