1. 02 12月, 2000 2 次提交
    • U
      remove unused static function · 0826c85f
      Ulf Möller 提交于
      0826c85f
    • 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
  2. 01 12月, 2000 1 次提交
  3. 30 11月, 2000 1 次提交
  4. 28 11月, 2000 1 次提交
  5. 12 10月, 2000 1 次提交
  6. 26 9月, 2000 2 次提交
  7. 18 9月, 2000 1 次提交
  8. 05 9月, 2000 1 次提交
  9. 04 9月, 2000 1 次提交
  10. 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
  11. 01 6月, 2000 1 次提交
    • G
      The previous commit to crypto/stack/*.[ch] pulled the type-safety strings · ccd86b68
      Geoff Thorpe 提交于
      yet tighter, and also put some heat on the rest of the library by
      insisting (correctly) that compare callbacks used in stacks are prototyped
      with "const" parameters. This has led to a depth-first explosion of
      compiler warnings in the code where 1 constification has led to 3 or 4
      more. Fortunately these have all been resolved to completion and the code
      seems cleaner as a result - in particular many of the _cmp() functions
      should have been prototyped with "const"s, and now are. There was one
      little problem however;
      
      X509_cmp() should by rights compare "const X509 *" pointers, and it is now
      declared as such. However, it's internal workings can involve
      recalculating hash values and extensions if they have not already been
      setup. Someone with a more intricate understanding of the flow control of
      X509 might be able to tighten this up, but for now - this seemed the
      obvious place to stop the "depth-first" constification of the code by
      using an evil cast (they have migrated all the way here from safestack.h).
      
      Fortunately, this is the only place in the code where this was required
      to complete these type-safety changes, and it's reasonably clear and
      commented, and seemed the least unacceptable of the options. Trying to
      take the constification further ends up exploding out considerably, and
      indeed leads directly into generalised ASN functions which are not likely
      to cooperate well with this.
      ccd86b68
  12. 28 3月, 2000 1 次提交
  13. 26 2月, 2000 1 次提交
  14. 24 2月, 2000 3 次提交
  15. 23 2月, 2000 1 次提交
    • D
      · 3142c86d
      Dr. Stephen Henson 提交于
      Allow ADH to be used but not present in the default cipher
      list.
      
      Allow CERTIFICATE to be used in PEM headers for PKCS#7 structures:
      some CAs do this.
      3142c86d
  16. 22 2月, 2000 1 次提交
  17. 21 2月, 2000 1 次提交
    • R
      Move the registration of callback functions to special functions · d3442bc7
      Richard Levitte 提交于
      designed for that.  This removes the potential error to mix data and
      function pointers.
      
      Please note that I'm a little unsure how incorrect calls to the old
      ctrl functions should be handled, in som cases.  I currently return 0
      and that's it, but it may be more correct to generate a genuine error
      in those cases.
      d3442bc7
  18. 31 1月, 2000 2 次提交
  19. 24 1月, 2000 1 次提交
    • D
      · dd9d233e
      Dr. Stephen Henson 提交于
      Tidy up CRYPTO_EX_DATA structures.
      dd9d233e
  20. 22 1月, 2000 1 次提交
  21. 18 1月, 2000 1 次提交
    • R
      Compaq C 6.2 for VMS will complain when we want to convert · a9188d4e
      Richard Levitte 提交于
      non-function pointers to function pointers and vice versa.
      The current solution is to have unions that describe the
      conversion we want to do, and gives us the ability to extract
      the type of data we want.
      
      The current solution is a quick fix, and can probably be made
      in a more general or elegant way.
      a9188d4e
  22. 09 1月, 2000 1 次提交
  23. 06 1月, 2000 2 次提交
  24. 02 12月, 1999 1 次提交
  25. 30 11月, 1999 1 次提交
  26. 29 11月, 1999 1 次提交
    • D
      Add part of chain verify SSL support code: not complete or doing anything · 13938ace
      Dr. Stephen Henson 提交于
      yet.
      
      Add a function X509_STORE_CTX_purpose_inherit() which implements the logic
      of "inheriting" purpose and trust from a parent structure and using a default:
      this will be used in the SSL code and possibly future S/MIME.
      
      Partial documentation of the 'verify' utility. Still need to document how all
      the extension checking works and the various error messages.
      13938ace
  27. 08 8月, 1999 2 次提交
  28. 03 8月, 1999 3 次提交
  29. 22 7月, 1999 1 次提交
  30. 02 7月, 1999 1 次提交
  31. 11 6月, 1999 1 次提交