Skip to content
  1. Apr 18, 2001
    • Geoff Thorpe's avatar
      Some more tweaks to ENGINE code. · 404f952a
      Geoff Thorpe authored
      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
    • Geoff Thorpe's avatar
      Some more tweaks to ENGINE code. · dcd87618
      Geoff Thorpe authored
      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
    • Geoff Thorpe's avatar
      Some more tweaks to ENGINE code. · d54bf145
      Geoff Thorpe authored
      * 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
    • Geoff Thorpe's avatar
      Structural references should never be decremented directly - so leave that · ea3a429e
      Geoff Thorpe authored
      to ENGINE_free(). Also, remove "#if 0" code that has no useful future.
      ea3a429e
    • Geoff Thorpe's avatar
  2. Apr 17, 2001
  3. Apr 16, 2001
  4. Apr 14, 2001
  5. Apr 12, 2001
  6. Apr 11, 2001
  7. Apr 10, 2001
  8. Apr 09, 2001
  9. Apr 08, 2001
  10. Apr 05, 2001
  11. Apr 04, 2001