1. 25 5月, 2001 1 次提交
    • D
      · 76c919c1
      Dr. Stephen Henson 提交于
      Add missing variable length cipher flag for Blowfish.
      
      Only use trust settings if either trust or reject settings
      are present, otherwise use compatibility mode. This stops
      root CAs being rejected if they have alias of keyid set.
      76c919c1
  2. 17 5月, 2001 1 次提交
    • D
      Fix for new UI functions under Win32. · b49a5b2d
      Dr. Stephen Henson 提交于
      For some unknown reason fopen("con", "w") is the
      only way to make this work. Using "r+" and "w+"
      causes the fopen call to fail and the fallback
      (using stdin) doesn't work because writing to stdin
      fails.
      b49a5b2d
  3. 16 5月, 2001 2 次提交
  4. 15 5月, 2001 3 次提交
  5. 14 5月, 2001 8 次提交
  6. 13 5月, 2001 7 次提交
  7. 12 5月, 2001 1 次提交
  8. 11 5月, 2001 1 次提交
  9. 10 5月, 2001 2 次提交
  10. 09 5月, 2001 1 次提交
  11. 08 5月, 2001 2 次提交
  12. 07 5月, 2001 3 次提交
  13. 03 5月, 2001 1 次提交
    • R
      Some platforms (most notably Windows) do not have a $HOME by default. · f0b54fef
      Richard Levitte 提交于
      For those, unless the environment variables RANDFILE or HOME are
      defined (the default case!), RAND_file_name() will return NULL.
      This change adds a default HOME for those platforms.
      
      To add a default HOME for any platform, just define DEFAULT_HOME in
      the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
      f0b54fef
  14. 30 4月, 2001 2 次提交
  15. 27 4月, 2001 4 次提交
    • G
      For some inexplicable reason, I'd (a) left the debugging irreversibly · 06cb0353
      Geoff Thorpe 提交于
      turned on, and (b) left a somewhat curious debugging string in the output.
      06cb0353
    • G
      Some fixes to the reference-counting in ENGINE code. First, there were a · b41f836e
      Geoff Thorpe 提交于
      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
    • G
      This adds 2 things to the ENGINE code. · 0ce5f3e4
      Geoff Thorpe 提交于
       * "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
    • R
      Provide the possibility to clean up internal ENGINE structures. This · a679116f
      Richard Levitte 提交于
      takes care of what would otherwise be seen as a memory leak.
      a679116f
  16. 26 4月, 2001 1 次提交