1. 28 7月, 2000 1 次提交
  2. 26 7月, 2000 1 次提交
  3. 21 7月, 2000 2 次提交
    • B
      crypto/err.c bugfix · fa729135
      Bodo Möller 提交于
      fa729135
    • R
      Redo and enhance the support for building shared libraries. Currently · b436a982
      Richard Levitte 提交于
      there's support for building under Linux and True64 (using examples
      from the programming manuals), including versioning that is currently
      the same as OpenSSL versions but should really be a different series.
      
      With this change, it's up to the users to decide if they want shared
      libraries as well as the static ones.  This decision now has to be
      done at configuration time (well, not really, those who know what they
      do can still do it the same way as before).
      
      The OpenSSL programs (openssl and the test programs) are currently
      always linked statically, but this may change in the future in a
      configurable manner.  The necessary makefile variables to enable this
      are in place.
      
      Also note that I have done absolutely nothing about the Windows target
      to get something similar.  On the other hand, DLLs are already the
      default there, but without versioning, and I've no idea what the
      possibilities for such a thing are there...
      b436a982
  4. 20 7月, 2000 1 次提交
  5. 13 7月, 2000 1 次提交
    • D
      · fd13f0ee
      Dr. Stephen Henson 提交于
      Make req seed the PRNG if signing with
      an already existing DSA key.
      
      Document the new smime options.
      fd13f0ee
  6. 11 7月, 2000 1 次提交
    • D
      Fix some typose in the i2d/d2i functions that · 094fe66d
      Dr. Stephen Henson 提交于
      call the i2c/c2i (they were not using the
      content length for the headers).
      
      Fix ASN1 long form tag encoding. This never
      worked but it was never tested since it is
      only used for tags > 30.
      
      New options to smime program to allow the
      PKCS#7 format to be specified and the content
      supplied externally.
      094fe66d
  7. 07 7月, 2000 1 次提交
    • D
      · a338e21b
      Dr. Stephen Henson 提交于
      New ASN1 functions that just deal with
      content octets, not tag+length.
      a338e21b
  8. 05 7月, 2000 1 次提交
  9. 29 6月, 2000 2 次提交
  10. 24 6月, 2000 1 次提交
  11. 23 6月, 2000 1 次提交
  12. 22 6月, 2000 2 次提交
  13. 21 6月, 2000 2 次提交
    • D
      · 13083215
      Dr. Stephen Henson 提交于
      Fixes for Win32 build.
      
      This is mostly a work around for the old VC++ problem
      that it treats func() as func(void).
      
      Various prototypes had been added to 'compare' function
      pointers that triggered this. This could be fixed by removing
      the prototype, adding function pointer casts to every call or
      changing the passed function to use the expected arguments.
      I mostly did the latter.
      
      The mkdef.pl script was modified to remove the typesafe
      functions which no longer exist.
      
      Oh and some functions called OPENSSL_freeLibrary() were
      changed back to FreeLibrary(), wonder how that happened :-)
      13083215
    • D
      · 7ef82068
      Dr. Stephen Henson 提交于
      Handle ASN1_SET_OF and PKCS12_STACK_OF using function
      casts in the same way as STACK_OF.
      7ef82068
  14. 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
  15. 16 6月, 2000 1 次提交
  16. 11 6月, 2000 2 次提交
  17. 10 6月, 2000 2 次提交
  18. 09 6月, 2000 1 次提交
  19. 08 6月, 2000 3 次提交
  20. 04 6月, 2000 1 次提交
  21. 01 6月, 2000 2 次提交
    • G
      This change will cause builds (by default) to not use different STACK · e41c8d6a
      Geoff Thorpe 提交于
      structures and functions for each stack type. The previous behaviour
      can be enabled by configuring with the "-DDEBUG_SAFESTACK" option.
      This will also cause "make update" (mkdef.pl in particular) to
      update the libeay.num and ssleay.num symbol tables with the number of
      extra functions DEBUG_SAFESTACK creates.
      
      The way this change works is to accompany each DECLARE_STACK_OF()
      macro with a set of "#define"d versions of the sk_##type##_***
      functions that ensures all the existing "type-safe" stack calls are
      precompiled into the underlying stack calls. The presence or abscence
      of the DEBUG_SAFESTACK symbol controls whether this block of
      "#define"s or the DECLARE_STACK_OF() macro is taking effect. The
      block of "#define"s is in turn generated and maintained by a perl
      script (util/mkstack.pl) that encompasses the block with delimiting
      C comments. This works in a similar way to the auto-generated error
      codes and, like the other such maintenance utilities, is invoked
      by the "make update" target.
      
      A long (but mundane) commit will follow this with the results of
      "make update" - this will include all the "#define" blocks for
      each DECLARE_STACK_OF() statement, along with stripped down
      libeay.num and ssleay.num files.
      e41c8d6a
    • 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
  22. 31 5月, 2000 2 次提交
    • B
      Improve PRNG robustness. · 361ee973
      Bodo Möller 提交于
      361ee973
    • D
      · 49528751
      Dr. Stephen Henson 提交于
      More EVP cipher revision.
      
      Change EVP_SealInit() and EVP_OpenInit() to
      handle cipher parameters.
      
      Make it possible to set RC2 and RC5 params.
      
      Make RC2 ASN1 code use the effective key bits
      and not the key length.
      
      TODO: document how new API works.
      49528751
  23. 30 5月, 2000 1 次提交
    • D
      Fourth phase EVP revision. · 57ae2e24
      Dr. Stephen Henson 提交于
      Declare ciphers in terms of macros. This reduces
      the amount of code and places each block cipher EVP
      definition in a single file instead of being spread
      over 4 files.
      57ae2e24
  24. 28 5月, 2000 2 次提交
  25. 27 5月, 2000 2 次提交
    • D
      · be06a934
      Dr. Stephen Henson 提交于
      Second phase of EVP cipher overhaul.
      
      Change functions like EVP_EncryptUpdate() so they now return a
      value. These normally have software only implementations
      which cannot fail so this was acceptable. However ciphers
      can be implemented in hardware and these could return errors.
      be06a934
    • D
      · 7f060601
      Dr. Stephen Henson 提交于
      Beginnings of EVP cipher overhaul. This should eventually
      enhance and tidy up the EVP interface.
      
      This patch adds initial support for variable length ciphers
      and changes S/MIME code to use this.
      
      Some other library functions need modifying to support use
      of modified cipher parameters.
      
      Also need to change all the cipher functions that should
      return error codes, but currenly don't.
      
      And of course it needs extensive testing...
      7f060601
  26. 25 5月, 2000 1 次提交
  27. 24 5月, 2000 1 次提交
  28. 19 5月, 2000 1 次提交