Skip to content
  1. Oct 29, 2003
    • Geoff Thorpe's avatar
      Relax some over-zealous constification that gave some lhash-based code no · 8dc344cc
      Geoff Thorpe authored
      choice but to have to cast away "const" qualifiers from their prototypes.
      This does not remove constification restrictions from hash/compare
      callbacks, but allows destructor commands to be run over a tables' elements
      without bad casts.
      8dc344cc
    • Geoff Thorpe's avatar
    • Geoff Thorpe's avatar
      Avoid "empty source file" warnings. · 40f935f5
      Geoff Thorpe authored
      40f935f5
    • Geoff Thorpe's avatar
      For whatever reason (compiler or header bugs), at least one commonly-used · 0991f070
      Geoff Thorpe authored
      linux system (namely mine) chokes on our definitions and uses of the "HZ"
      symbol in crypto/tmdiff.[ch] and apps/speed.c as a "bad function cast"
      (when in fact there is no function casting involved at all). In both cases,
      it is easily worked around by not defining a cast into the macro and
      jiggling the expressions slightly.
      
      In addition - this highlights some cruft in openssl that needs sorting out.
      The tmdiff.h header is exported as part of the openssl API despite the fact
      that it is ugly as the driven sludge and not used anywhere in the library,
      applications, or utilities. More weird still, almost identical code exists
      in apps/speed.c though it looks to be slightly tweaked - so either tmdiff
      should be updated and used by speed.c, or it should be dumped because it's
      obviously not useful enough.
      
      Rather than removing it for now, I've changed the API for tmdiff to at
      least make sense. This involves taking the object type (MS_TM) from the
      implementation and using it in the header rather than using "char *" in the
      API and casting mercilessly in the code (ugh). If someone doesn't like
      "MS_TM" and the "ms_time_***" naming, by all means change it. This should
      be a harmless improvement, because the existing API is clearly not very
      useful (eg. we reimplement it rather than using it in our own utils).
      
      However, someone still needs to take a hack at consolidating speed.c and
      tmdiff.[ch] somehow.
      0991f070
    • Geoff Thorpe's avatar
      Update any code that was using deprecated functions so that everything builds · 2aaec9cc
      Geoff Thorpe authored
      and links with OPENSSL_NO_DEPRECATED defined.
      2aaec9cc
    • Geoff Thorpe's avatar
      When OPENSSL_NO_DEPRECATED is defined, deprecated functions are (or should · 9d473aa2
      Geoff Thorpe authored
      be) precompiled out in the API headers. This change is to ensure that if
      it is defined when compiling openssl, the deprecated functions aren't
      implemented either.
      9d473aa2
    • Geoff Thorpe's avatar
      The "cryptodev" engine preprocessor logic used undefined symbols in · 6145b0b1
      Geoff Thorpe authored
      comparisons. It's better not to allow this, because it gives false
      positives when using compiler warnings that detect mistyped symbols.
      6145b0b1
  2. Oct 28, 2003
  3. Oct 24, 2003
  4. Oct 15, 2003
  5. Oct 13, 2003
  6. Oct 11, 2003
  7. Oct 10, 2003
  8. Oct 07, 2003
  9. Oct 06, 2003
  10. Oct 04, 2003
  11. Oct 02, 2003
  12. Oct 01, 2003
  13. Sep 30, 2003
  14. Sep 28, 2003