1. 20 12月, 2000 1 次提交
  2. 14 12月, 2000 1 次提交
  3. 04 12月, 2000 1 次提交
  4. 03 12月, 2000 1 次提交
    • G
      Next step in tidying up the LHASH code. This commit defines DECLARE and · dfa46e50
      Geoff Thorpe 提交于
      IMPLEMENT macros for defining wrapper functions for "hash" and "cmp" callbacks
      that are specific to the underlying item type in a hash-table. This prevents
      function pointer casting altogether, and also provides some type-safety
      because the macro does per-variable casting from the (void *) type used in
      LHASH itself to the type declared in the macro - and if that doesn't match the
      prototype expected by the "hash" or "cmp" function then a compiler error will
      result.
      
      NB: IMPLEMENT macros are not required unless predeclared forms are required
      (either in a header file, or further up in a C file than the implementation
      needs to be). The DECLARE macros must occur after the type-specific hash/cmp
      callbacks are declared. Also, the IMPLEMENT and DECLARE macros are such that
      they can be prefixed with "static" if desired and a trailing semi-colon should
      be appended (making it look more like a regular declaration and easier on
      auto-formatting text-editors too).
      
      Now that these macros are defined, I will next be commiting changes to a
      number of places in the library where the casting was doing bad things. After
      that, the final step will be to make the analogous changes for the lh_doall
      and lh_doall_arg functions (more specifically, their callback parameters).
      dfa46e50
  5. 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
  6. 08 11月, 2000 1 次提交
  7. 25 9月, 2000 1 次提交
  8. 07 9月, 2000 1 次提交
  9. 13 6月, 2000 1 次提交
  10. 09 6月, 2000 1 次提交
    • R
      Using checks of the existence of HEADER_{foo}_H in other header files · ef33b970
      Richard Levitte 提交于
      was a really bad idea.  For example, the following:
      
      	#include <x509.h>
      	#include <bio.h>
      	#include <asn1.h>
      
      would make sure that things like ASN1_UTCTIME_print() wasn't defined
      unless you moved the inclusion of bio.h to above the inclusion of
      x509.h.  The reason is that x509.h includes asn1.h, and the
      declaration of ASN1_UTCTIME_print() depended on the definition of
      HEADER_BIO_H.  That's what I call an obscure bug.
      
      Instead, this change makes sure that whatever header files are needed
      for the correct process of one header file are included automagically,
      and that the definitions of, for example, BIO-related things are
      dependent on the absence of the NO_{foo} macros.  This is also
      consistent with the way parts of OpenSSL can be excluded at will.
      ef33b970
  11. 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
  12. 02 5月, 2000 1 次提交
  13. 18 3月, 2000 1 次提交
  14. 04 3月, 2000 1 次提交
  15. 04 2月, 2000 1 次提交
  16. 31 1月, 2000 2 次提交
  17. 24 1月, 2000 1 次提交
    • D
      · dd9d233e
      Dr. Stephen Henson 提交于
      Tidy up CRYPTO_EX_DATA structures.
      dd9d233e
  18. 21 5月, 1999 3 次提交
    • B
      It was a very bad idea to use #include "../e_os.h" -- when this occurs · 7e701817
      Bodo Möller 提交于
      in cryptlib.h (which is often included as "../cryptlib.h"), then the
      question remains relative to which directory this is to be interpreted.
      gcc went one further directory up, as intended; but makedepend thinks
      differently, and so probably do some C compilers.  So the ../ must go away;
      thus e_os.h goes back into include/openssl (but I now use
      #include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) --
      and we have another huge bunch of dependency changes.  Argh.
      7e701817
    • B
      Add a kludge :-( · d6847aed
      Bodo Möller 提交于
      There were problems with putting e_os.h just into the top directory,
      because the test programs are compiled within test/ in the "standard"
      case in in their original directories in the makefile.one case;
      and in the latter symlinks may not be available.
      d6847aed
    • B
      Don't install e_os.h in include/openssl, use it only as a local · 17e3dd1c
      Bodo Möller 提交于
      include file.
      17e3dd1c
  19. 15 5月, 1999 1 次提交
  20. 30 4月, 1999 2 次提交
  21. 29 4月, 1999 2 次提交
  22. 27 4月, 1999 2 次提交
  23. 25 4月, 1999 2 次提交
  24. 24 4月, 1999 3 次提交
  25. 20 4月, 1999 1 次提交
  26. 18 4月, 1999 1 次提交
  27. 01 4月, 1999 1 次提交
  28. 22 3月, 1999 1 次提交
  29. 06 3月, 1999 2 次提交
  30. 20 1月, 1999 1 次提交