1. 06 9月, 2000 4 次提交
  2. 05 9月, 2000 1 次提交
  3. 04 9月, 2000 2 次提交
  4. 22 8月, 2000 1 次提交
    • D
      Various fixes... · eaa28181
      Dr. Stephen Henson 提交于
      initialize ex_pathlen to -1 so it isn't checked if pathlen
      is not present.
      
      set ucert to NULL in apps/pkcs12.c otherwise it gets freed
      twice.
      
      remove extraneous '\r' in MIME encoder.
      
      Allow a NULL to be passed to X509_gmtime_adj()
      
      
      Make PKCS#7 code use definite length encoding rather then
      the indefinite stuff it used previously.
      eaa28181
  5. 14 8月, 2000 1 次提交
  6. 30 7月, 2000 1 次提交
    • D
      · bd4e1527
      Dr. Stephen Henson 提交于
      Document the new DN printing options.
      
      Change a few names to be more meaningful.
      
      Fix typos in CA.pl docs.
      bd4e1527
  7. 28 7月, 2000 1 次提交
    • D
      · a657546f
      Dr. Stephen Henson 提交于
      New ASN1_STRING_print_ex() and X509_NAME_print_ex()
      functions. These are intended to be replacements
      for the ancient ASN1_STRING_print() and X509_NAME_print()
      functions.
      
      The new functions support RFC2253 and various pretty
      printing options. It is also possible to display
      international characters if the terminal properly handles
      UTF8 encoding (Linux seems to tolerate this if the
      "unicode_start" script is run).
      
      Still needs to be documented, integrated into other
      utilities and extensively tested.
      a657546f
  8. 26 7月, 2000 1 次提交
  9. 05 7月, 2000 1 次提交
    • R
      I got sick and tired of having to keep track of NIDs when such a thing · c2bbf9cf
      Richard Levitte 提交于
      could be done automagically, much like the numbering in libeay.num and
      ssleay.num.  The solution works as follows:
      
        - New object identifiers are inserted in objects.txt, following the
          syntax given in objects.README.
        - objects.pl is used to process obj_mac.num and create a new
          obj_mac.h.
        - obj_dat.pl is used to create a new obj_dat.h, using the data in
          obj_mac.h.
      
      This is currently kind of a hack, and the perl code in objects.pl
      isn't very elegant, but it works as I intended.  The simplest way to
      check that it worked correctly is to look in obj_dat.h and check the
      array nid_objs and make sure the objects haven't moved around (this is
      important!).  Additions are OK, as well as consistent name changes.
      c2bbf9cf
  10. 21 6月, 2000 1 次提交
    • D
      · 7ef82068
      Dr. Stephen Henson 提交于
      Handle ASN1_SET_OF and PKCS12_STACK_OF using function
      casts in the same way as STACK_OF.
      7ef82068
  11. 17 6月, 2000 1 次提交
    • D
      Safe stack reorganisation in terms of function casts. · 3aceb94b
      Dr. Stephen Henson 提交于
      After some messing around this seems to work but needs
      a few more tests. Working out the syntax for sk_set_cmp_func()
      (cast it to a function that itself returns a function pointer)
      was painful :-(
      
      Needs some testing to see what other compilers think of this
      syntax.
      
      Also needs similar stuff for ASN1_SET_OF etc etc.
      3aceb94b
  12. 13 6月, 2000 1 次提交
  13. 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
  14. 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
  15. 01 6月, 2000 2 次提交
    • G
      "make update" + stripping the type-specific stack functions out of · 7edd2091
      Geoff Thorpe 提交于
      libeay.num and ssleay.num.
      7edd2091
    • 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
  16. 18 5月, 2000 1 次提交
  17. 17 5月, 2000 1 次提交
  18. 02 5月, 2000 1 次提交
  19. 09 4月, 2000 1 次提交
  20. 14 3月, 2000 1 次提交
  21. 07 3月, 2000 1 次提交
  22. 05 3月, 2000 1 次提交
  23. 02 3月, 2000 1 次提交
    • D
      · 582e5929
      Dr. Stephen Henson 提交于
      Fix bug which would free up a public key
      twice if the verify callback tried to
      continue after a signature failure.
      582e5929
  24. 26 2月, 2000 2 次提交
  25. 21 2月, 2000 1 次提交
  26. 18 2月, 2000 1 次提交
  27. 12 2月, 2000 2 次提交
  28. 07 2月, 2000 1 次提交
  29. 06 2月, 2000 1 次提交
  30. 04 2月, 2000 1 次提交
  31. 31 1月, 2000 2 次提交
  32. 24 1月, 2000 1 次提交
    • D
      · dd9d233e
      Dr. Stephen Henson 提交于
      Tidy up CRYPTO_EX_DATA structures.
      dd9d233e