This changes the existing hardware ENGINE implementations to dynamically
authorGeoff Thorpe <geoff@openssl.org>
Mon, 3 Sep 2001 21:33:00 +0000 (21:33 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 3 Sep 2001 21:33:00 +0000 (21:33 +0000)
commit2dc5383a20b4bfa9bc85470c52d90b9058b833c8
tree454364307484538ededfc226af9005625fc69e6d
parent9391f97715e8fa7494265a1b77923f9b6fb76d8f
This changes the existing hardware ENGINE implementations to dynamically
declare their own error strings so that they can be more easily compiled as
external shared-libraries if desired. Also, each implementation has been
given canonical "dynamic" support at the base of each file and is only
built if the ENGINE_DYNAMIC_SUPPORT symbol is defined.

Also, use "void" prototypes rather than empty prototypes in engine_int.h.

This does not yet;
  (i) remove error strings when unloading,
 (ii) remove the redundant ENGINE_R_*** codes (though ENGINE_F_*** codes
      have gone), or
(iii) provide any instructions on how to build shared-library ENGINEs or
      use them.

All are on their way.
crypto/engine/engine.h
crypto/engine/engine_dyn.c
crypto/engine/engine_err.c
crypto/engine/engine_int.h
crypto/engine/engine_openssl.c
crypto/engine/hw_atalla.c
crypto/engine/hw_cswift.c
crypto/engine/hw_ncipher.c
crypto/engine/hw_nuron.c
crypto/engine/hw_ubsec.c