Skip to content
  1. May 12, 2001
    • Lutz Jänicke's avatar
      33ab4699
    • Dr. Stephen Henson's avatar
      · 595cc5b4
      Dr. Stephen Henson authored
      Under VC++ _DLL is set to indicate that the application
      will be linked against the DLL runtime library. It is
      automatically set when /MD is used.
      
      As a result OpenSSL shouldn't use _DLL to determine if
      it should set OPENSSL_OPT_WINDLL because this will
      cause linkage conflicts with static builds which do
      include the /MD compiler switch.
      595cc5b4
    • Dr. Stephen Henson's avatar
      Typo. · 29fb08c2
      Dr. Stephen Henson authored
      29fb08c2
  2. May 11, 2001
  3. May 10, 2001
  4. May 09, 2001
  5. May 08, 2001
  6. May 07, 2001
  7. May 06, 2001
  8. May 04, 2001
  9. May 03, 2001
  10. May 02, 2001
  11. Apr 30, 2001
  12. Apr 29, 2001
    • Dr. Stephen Henson's avatar
      Win32 fixes: · c2e45f6d
      Dr. Stephen Henson authored
      define LLONG properly for VC++.
      
      stop compiler complaining about signed/unsigned mismatch in apps/engine.c
      c2e45f6d
  13. Apr 27, 2001
  14. Apr 26, 2001
    • Geoff Thorpe's avatar
      Some fixes to the reference-counting in ENGINE code. First, there were a · b41f836e
      Geoff Thorpe authored
      few statements equivalent to "ENGINE_add(ENGINE_openssl())" etc. The inner
      call to ENGINE_openssl() (as with other functions like it) orphans a
      structural reference count. Second, the ENGINE_cleanup() function also
      needs to clean up the functional reference counts held internally as the
      list of "defaults" (ie. as used when RSA_new() requires an appropriate
      ENGINE reference). So ENGINE_clear_defaults() was created and is called
      from within ENGINE_cleanup(). Third, some of the existing code was
      logically broken in its treatment of reference counts and locking (my
      fault), so the necessary bits have been restructured and tidied up.
      
      To test this stuff, compiling with ENGINE_REF_COUNT_DEBUG will cause every
      reference count change (both structural and functional) to log a message to
      'stderr'. Using with "openssl engine" for example shows this in action
      quite well as the 'engine' sub-command cleans up after itself properly.
      
      Also replaced some spaces with tabs.
      b41f836e
    • Richard Levitte's avatar
      26a81abf
    • Geoff Thorpe's avatar
      "make update" · ab03b0df
      Geoff Thorpe authored
      ab03b0df
    • Geoff Thorpe's avatar
      Make notes about ENGINE changes. · e5a77633
      Geoff Thorpe authored
      e5a77633
    • Richard Levitte's avatar
      Linux shared libraries can be linked with debug symbols. · 6f8a82c7
      Richard Levitte authored
      Tru64 shared libraries can be linked with static libraries.
      6f8a82c7
    • Richard Levitte's avatar
      make update · 7a7f47ea
      Richard Levitte authored
      7a7f47ea
    • Geoff Thorpe's avatar
      This adds 2 things to the ENGINE code. · 0ce5f3e4
      Geoff Thorpe authored
       * "ex_data" - a CRYPTO_EX_DATA structure in the ENGINE structure itself
         that allows an ENGINE to store its own information there rather than in
         global variables. It follows the declarations and implementations used
         in RSA code, for better or worse. However there's a problem when storing
         state with ENGINEs because, unlike related structure types in OpenSSL,
         there is no ENGINE-vs-ENGINE_METHOD separation. Because of what ENGINE
         is, it has method pointers as its structure elements ...  which leads
         to;
      
       * ENGINE_FLAGS_BY_ID_COPY - if an ENGINE should not be used just as a
         reference to an "implementation" (eg. to get to a hardware device), but
         should also be able to maintain state, then this flag can be set by the
         ENGINE implementation. The result is that any call to ENGINE_by_id()
         will not result in the existing ENGINE being returned (with its
         structural reference count incremented) but instead a new copy of the
         ENGINE will be returned that can maintain its own state independantly of
         any other copies returned in the past or future. Eg. key-generation
         might involve a series of ENGINE-specific control commands to set
         algorithms, sizes, module-keys, ids, ACLs, etc. A final command could
         generate the key. An ENGINE doing this would *have* to declare
         ENGINE_FLAGS_BY_ID_COPY so that the state of that process can be
         maintained "per-handle" and unaffected by other code having a reference
         to the same ENGINE structure.
      0ce5f3e4
    • Richard Levitte's avatar
      Clean up ENGINE before exiting. · 21023745
      Richard Levitte authored
      21023745
    • Richard Levitte's avatar
      Provide the possibility to clean up internal ENGINE structures. This · a679116f
      Richard Levitte authored
      takes care of what would otherwise be seen as a memory leak.
      a679116f
    • Richard Levitte's avatar
      gcc warns when certain values of an enumeration aren't taken care of, · 3988bb34
      Richard Levitte authored
      unless there's a default clause.
      3988bb34
    • Richard Levitte's avatar
      Check for OPENSSL_NO_RSA, OPENSSL_NO_DSA and OPENSSL_NO_DH and disable · 9e78e6c3
      Richard Levitte authored
      appropriate code if any of them is defined.
      9e78e6c3