1. 19 4月, 2001 2 次提交
    • 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
    • G
      Make a note of the recent ENGINE developments. · 4d6115a5
      Geoff Thorpe 提交于
      4d6115a5
  2. 18 4月, 2001 10 次提交
    • B
      typo · 3a25b96c
      Bodo Möller 提交于
      3a25b96c
    • B
      fix md_rand.c locking bugs · 6e6d04e2
      Bodo Möller 提交于
      6e6d04e2
    • G
      Make the shared library name and function symbol for the "nuron" ENGINE · 48ff2253
      Geoff Thorpe 提交于
      static data where they could be parameterised by ctrl() commands.
      48ff2253
    • G
      Some more tweaks from ENGINE code. · a4a9d97a
      Geoff Thorpe 提交于
      Previously RAND_get_rand_method was returning a non-const pointer, but it
      should be const. As with all other such cases, METHOD pointers are stored and
      returned as "const". The only methods one should be able to alter are methods
      "local" to the relevant code, in which case a non-const handle to the methods
      should already exist.
      
      This change has been forced by the constifying of the ENGINE code (before
      which RAND_METHOD was the only method pointer in an ENGINE structure that was
      not constant).
      a4a9d97a
    • G
      Some more tweaks to ENGINE code. · 404f952a
      Geoff Thorpe 提交于
      ENGINE handler functions should take the ENGINE structure as a parameter -
      this is because ENGINE structures can be copied, and like other
      structure/method setups in OpenSSL, it should be possible for init(),
      finish(), ctrl(), etc to adjust state inside the ENGINE structures rather
      than globally. This commit includes the dependant changes in the ENGINE
      implementations.
      404f952a
    • G
      Some more tweaks to ENGINE code. · dcd87618
      Geoff Thorpe 提交于
      Previous changes permanently removed the commented-out old code for where
      it was possible to create and use an ENGINE statically, and this code gets
      rid of the ENGINE_FLAGS_MALLOCED flag that supported the distinction with
      dynamically allocated ENGINEs. It also moves the area for ENGINE_FLAGS_***
      values from engine_int.h to engine.h - because it should be possible to
      declare ENGINEs just from declarations in exported headers.
      dcd87618
    • G
      Some more tweaks to ENGINE code. · d54bf145
      Geoff Thorpe 提交于
      * Constify the get/set functions, and add some that functions were missing.
      
      * Add a new 'ENGINE_cpy()' function that will produce a new ENGINE based
        copied from an original (except for the references, ie. the new copy will
        be like an ENGINE returned from 'ENGINE_new()' - a structural reference).
      
      * Removed the "null parameter" checking in the get/set functions - it is
        legitimate to set NULL values as a way of *changing* an ENGINE (ie.
        removing a handler that previously existed). Also, passing a NULL pointer
        for an ENGINE is obviously wrong for these functions, so don't bother
        checking for it. The result is a number of error codes and strings could
        be removed.
      d54bf145
    • G
      Structural references should never be decremented directly - so leave that · ea3a429e
      Geoff Thorpe 提交于
      to ENGINE_free(). Also, remove "#if 0" code that has no useful future.
      ea3a429e
    • G
    • G
      'make update' · 7ef6e3fe
      Geoff Thorpe 提交于
      7ef6e3fe
  3. 17 4月, 2001 1 次提交
  4. 16 4月, 2001 1 次提交
  5. 14 4月, 2001 1 次提交
  6. 13 4月, 2001 2 次提交
  7. 12 4月, 2001 4 次提交
  8. 11 4月, 2001 6 次提交
  9. 10 4月, 2001 2 次提交
  10. 09 4月, 2001 8 次提交
  11. 08 4月, 2001 3 次提交