1. 07 9月, 2007 1 次提交
  2. 19 12月, 2005 1 次提交
  3. 19 1月, 2002 1 次提交
  4. 23 2月, 2001 1 次提交
  5. 09 1月, 2001 1 次提交
  6. 14 12月, 2000 1 次提交
  7. 09 12月, 2000 1 次提交
    • G
      Next step in tidying up the LHASH code. · d0fa136c
      Geoff Thorpe 提交于
      DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe
      wrapper functions that avoid the use of function pointer casting yet retain
      type-safety for type-specific callbacks. However, most of the usage within
      OpenSSL itself doesn't really require the extra function because the hash
      and compare callbacks are internal functions declared only for use by the
      hash table. So this change catches all those cases and reimplements the
      functions using the base-level LHASH prototypes and does per-variable
      casting inside those functions to convert to the appropriate item type.
      
      The exception so far is in ssl_lib.c where the hash and compare callbacks
      are not static - they're exposed in ssl.h so their prototypes should not be
      changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left
      intact.
      d0fa136c
  8. 04 12月, 2000 1 次提交
  9. 02 12月, 2000 1 次提交
    • G
      First step in tidying up the LHASH code. The callback prototypes (and · 385d8138
      Geoff Thorpe 提交于
      casts) used in the lhash code are about as horrible and evil as they can
      be. For starters, the callback prototypes contain empty parameter lists.
      Yuck.
      
      This first change defines clearer prototypes - including "typedef"'d
      function pointer types to use as "hash" and "compare" callbacks, as well as
      the callbacks passed to the lh_doall and lh_doall_arg iteration functions.
      Now at least more explicit (and clear) casting is required in all of the
      dependant code - and that should be included in this commit.
      
      The next step will be to hunt down and obliterate some of the function
      pointer casting being used when it's not necessary - a particularly evil
      variant exists in the implementation of lh_doall.
      385d8138
  10. 19 10月, 2000 1 次提交
  11. 10 9月, 2000 1 次提交
  12. 04 9月, 2000 1 次提交
  13. 02 6月, 2000 1 次提交
    • R
      There have been a number of complaints from a number of sources that names · 26a3a48d
      Richard Levitte 提交于
      like Malloc, Realloc and especially Free conflict with already existing names
      on some operating systems or other packages.  That is reason enough to change
      the names of the OpenSSL memory allocation macros to something that has a
      better chance of being unique, like prepending them with OPENSSL_.
      
      This change includes all the name changes needed throughout all C files.
      26a3a48d
  14. 26 4月, 2000 1 次提交
  15. 09 4月, 2000 1 次提交
    • R
      I've always wanted to make the CONF library more adaptable. Here's · d86b6915
      Richard Levitte 提交于
      the result.
      
      I have retained the old behavior of the CONF_* functions, and have
      added a more "object oriented" interface through NCONF_* functions
      (New CONF, you see :-)), working the same way as, for example, the
      BIO interface.  Really, the CONF_* are rewritten so they use the
      NCONF_* functions internally.
      
      In addition to that, I've split the old conf.c code into two files,
      conf_def.c and conf_api.c.  conf_def.c contains the default config
      object that reads a configuration file the standard OpenSSL way, as
      well as configuration file with Win32 registry file syntax (I'm not
      sure I got that one right).  conf_api.c provides an API to build other
      configuration file readers around (can you see a configuraion file in
      XML?  I can :-)).
      
      Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
      made specifically for that "class" and none others.
      d86b6915