1. 05 1月, 2002 1 次提交
    • D
      · bc37d996
      Dr. Stephen Henson 提交于
      Experimental configuration code.
      
      Incomplete, largely untested and subject to change/deletion.
      bc37d996
  2. 18 12月, 2001 1 次提交
  3. 15 11月, 2001 1 次提交
  4. 04 10月, 2001 1 次提交
  5. 06 8月, 2001 1 次提交
  6. 10 7月, 2001 1 次提交
    • R
      Patches from Vern Staats <staatsvr@asc.hpc.mil> to get Kerberos 5 in · 2a1ef754
      Richard Levitte 提交于
      SSL according to RFC 2712.  His comment is:
      
      This is a patch to openssl-SNAP-20010702 to support Kerberized SSL
      authentication.  I'm expecting to have the full kssl-0.5 kit up on
      sourceforge by the end of the week.  The full kit includes patches
      for mod-ssl, apache, and a few text clients.  The sourceforge URL
      is http://sourceforge.net/projects/kssl/ .
      
      Thanks to a note from Simon Wilkinson I've replaced my KRB5 AP_REQ
      message with a real KerberosWrapper struct.  I think this is fully
      RFC 2712 compliant now, including support for the optional
      authenticator field.  I also added openssl-style ASN.1 macros for
      a few Kerberos structs; see crypto/krb5/ if you're interested.
      2a1ef754
  7. 02 3月, 2001 1 次提交
    • R
      Introduce the possibility to access global variables through · 62dc5aad
      Richard Levitte 提交于
      functions on platform were that's the best way to handle exporting
      global variables in shared libraries.  To enable this functionality,
      one must configure with "EXPORT_VAR_AS_FN" or defined the C macro
      "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter
      is normally done by Configure or something similar).
      
      To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL
      in the source file (foo.c) like this:
      
      	OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1;
      	OPENSSL_IMPLEMENT_GLOBAL(double,bar);
      
      To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL
      and OPENSSL_GLOBAL_REF in the header file (foo.h) like this:
      
      	OPENSSL_DECLARE_GLOBAL(int,foo);
      	#define foo OPENSSL_GLOBAL_REF(foo)
      	OPENSSL_DECLARE_GLOBAL(double,bar);
      	#define bar OPENSSL_GLOBAL_REF(bar)
      
      The #defines are very important, and therefore so is including the
      header file everywere where the defined globals are used.
      
      The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition
      of ASN.1 items, but that structure is a bt different.
      
      The largest change is in util/mkdef.pl which has been enhanced with
      better and easier to understand logic to choose which symbols should
      go into the Windows .def files as well as a number of fixes and code
      cleanup (among others, algorithm keywords are now sorted
      lexicographically to avoid constant rewrites).
      62dc5aad
  8. 25 2月, 2001 1 次提交
  9. 23 2月, 2001 1 次提交
  10. 22 2月, 2001 3 次提交
  11. 20 2月, 2001 1 次提交
    • R
      Make all configuration macros available for application by making · cf1b7d96
      Richard Levitte 提交于
      sure they are available in opensslconf.h, by giving them names starting
      with "OPENSSL_" to avoid conflicts with other packages and by making
      sure e_os2.h will cover all platform-specific cases together with
      opensslconf.h.
      
      I've checked fairly well that nothing breaks with this (apart from
      external software that will adapt if they have used something like
      NO_KRB5), but I can't guarantee it completely, so a review of this
      change would be a good thing.
      cf1b7d96
  12. 16 2月, 2001 1 次提交
  13. 04 2月, 2001 1 次提交
    • D
      · 02e4fbed
      Dr. Stephen Henson 提交于
      Various OCSP responder utility functions.
      
      Delete obsolete OCSP functions.
      
      Largely untested at present...
      02e4fbed
  14. 31 12月, 2000 3 次提交
    • R
      Since asn1.h gets included recursively from many places, the easiest · e102a3dc
      Richard Levitte 提交于
      is to have asn1.h include e_os.h and e_os2.h.  Of course, this makes
      the unofficial "non-export" status of e_os.h a bit delicate...
      e102a3dc
    • D
      · ecbe0781
      Dr. Stephen Henson 提交于
      Rewrite PKCS#12 code and remove some of the old
      horrible macros.
      
      Fix two evil ASN1 bugs. Attempt to use 'ctx' when
      NULL if input is indefinite length constructed
      in asn1_check_tlen() and invalid pointer to ASN1_TYPE
      when reusing existing structure (this took *ages* to
      find because the new PKCS#12 code triggered it).
      ecbe0781
    • R
      If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcrypto · 26da3e65
      Richard Levitte 提交于
      objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl
      objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT.
      This is actually only important on Win32, and can safely be ignored in
      all other cases, at least for now.
      26da3e65
  15. 30 12月, 2000 1 次提交
  16. 29 12月, 2000 2 次提交
  17. 21 12月, 2000 1 次提交
    • D
      Various Win32 related fixes. Doesn't compile yet on · 3c07b4c2
      Dr. Stephen Henson 提交于
      Win32 but it is getting there...
      
      Update mkdef.pl to handle ASN1_ANY and fix headers.
      
      Stop various VC++ warnings.
      
      Include some fixes from "Peter 'Luna' Runestig"
      <peter@runestig.com>
      
      Remove external declaration for des_set_weak_key_flag:
      it doesn't exist.
      3c07b4c2
  18. 14 12月, 2000 1 次提交
  19. 09 12月, 2000 1 次提交
    • D
      · 9d6b1ce6
      Dr. Stephen Henson 提交于
      Merge from the ASN1 branch of new ASN1 code
      to main trunk.
      
      Lets see if the makes it to openssl-cvs :-)
      9d6b1ce6
  20. 27 10月, 2000 1 次提交
  21. 22 9月, 2000 1 次提交
  22. 08 9月, 2000 1 次提交
  23. 06 9月, 2000 1 次提交
  24. 25 8月, 2000 1 次提交
  25. 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
  26. 28 7月, 2000 2 次提交
    • 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
    • R
      Add the possibility to get hexdumps of unprintable data when using · ca1e465f
      Richard Levitte 提交于
      'openssl asn1parse'.  As a side effect, the functions ASN1_parse_dump
      and BIO_dump_indent are added.
      ca1e465f
  27. 26 7月, 2000 1 次提交
  28. 07 7月, 2000 1 次提交
    • D
      · a338e21b
      Dr. Stephen Henson 提交于
      New ASN1 functions that just deal with
      content octets, not tag+length.
      a338e21b
  29. 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
  30. 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
  31. 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
  32. 01 6月, 2000 1 次提交
  33. 17 5月, 2000 1 次提交