1. 09 3月, 2016 1 次提交
  2. 05 3月, 2016 1 次提交
    • D
      Add ASN.1 ADB callback. · 5b70372d
      Dr. Stephen Henson 提交于
      Add support for application supplied any defined by callback. An
      application can change the selector value if it wishes. This is
      mainly intended for values which are only known at runtime, for
      example dynamically created OIDs.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      5b70372d
  3. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  4. 08 1月, 2016 1 次提交
  5. 30 9月, 2015 1 次提交
  6. 17 9月, 2015 2 次提交
    • D
      New ASN.1 embed macro. · de17bd5d
      Dr. Stephen Henson 提交于
      New ASN.1 macro ASN1_EMBED. This is the same as ASN1_SIMPLE except the
      structure is not allocated: it is part of the parent. That is instead of
      
      FOO *x;
      
      it must be:
      
      FOO x;
      
      This reduces memory fragmentation and make it impossible to accidentally
      set a mandatory field to NULL.
      
      This currently only works for SEQUENCE and since it is equivalent to
      ASN1_SIMPLE it cannot be tagged, OPTIONAL, SET OF or SEQUENCE OF.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      de17bd5d
    • A
      Fix build on mingw · 05e97f1d
      Alessandro Ghedini 提交于
      When OPENSSL_EXPORT_VAR_AS_FUNCTION is defined, the static_ASN1_ITEM_start
      macro doesn't exist so the build fails. This problem was introduced in
      commit df2ee0e2.
      Reviewed-by: NStephen Henson <steve@openssl.org>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      05e97f1d
  7. 11 9月, 2015 1 次提交
  8. 03 4月, 2015 1 次提交
  9. 01 4月, 2015 1 次提交
  10. 27 3月, 2015 1 次提交
  11. 26 3月, 2015 1 次提交
  12. 25 3月, 2015 1 次提交
  13. 24 3月, 2015 1 次提交
  14. 22 1月, 2015 2 次提交
  15. 31 12月, 2014 1 次提交
  16. 12 11月, 2008 1 次提交
  17. 06 11月, 2008 1 次提交
  18. 02 11月, 2008 1 次提交
  19. 23 3月, 2008 1 次提交
  20. 13 3月, 2008 1 次提交
    • D
      And so it begins... · 8931b30d
      Dr. Stephen Henson 提交于
      Initial support for CMS.
      
      Add zlib compression BIO.
      
      Add AES key wrap implementation.
      
      Generalize S/MIME MIME code to support CMS and/or PKCS7.
      8931b30d
  21. 08 2月, 2008 1 次提交
  22. 08 6月, 2007 1 次提交
  23. 11 5月, 2007 1 次提交
  24. 20 12月, 2006 1 次提交
  25. 03 9月, 2005 3 次提交
  26. 02 9月, 2005 2 次提交
  27. 01 9月, 2005 1 次提交
  28. 23 4月, 2005 1 次提交
  29. 16 3月, 2004 1 次提交
  30. 30 10月, 2003 1 次提交
  31. 21 3月, 2003 1 次提交
  32. 21 10月, 2002 1 次提交
  33. 03 10月, 2002 1 次提交
  34. 27 7月, 2001 1 次提交
    • D
      · 1241126a
      Dr. Stephen Henson 提交于
      More linker bloat reorganisation:
      
      Split private key PEM and normal PEM handling. Private key
      handling needs to link in stuff like PKCS#8.
      
      Relocate the ASN1 *_dup() functions, to the relevant ASN1
      modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously
      these were all in crypto/x509/x_all.c along with every ASN1
      BIO/fp function which linked in *every* ASN1 function if
      a single dup was used.
      
      Move the authority key id ASN1 structure to a separate file.
      This is used in the X509 routines and its previous location
      linked in all the v3 extension code.
      
      Also move ASN1_tag2bit to avoid linking in a_bytes.c which
      is now largely obsolete.
      
      So far under Linux stripped binary with single PEM_read_X509
      is now 238K compared to 380K before these changes.
      1241126a
  35. 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