1. 02 7月, 2001 1 次提交
  2. 23 6月, 2001 1 次提交
  3. 13 5月, 2001 1 次提交
  4. 03 5月, 2001 1 次提交
  5. 05 4月, 2001 1 次提交
  6. 04 4月, 2001 1 次提交
  7. 03 4月, 2001 1 次提交
  8. 28 3月, 2001 1 次提交
  9. 27 3月, 2001 2 次提交
  10. 24 3月, 2001 1 次提交
  11. 18 3月, 2001 1 次提交
  12. 16 3月, 2001 2 次提交
  13. 11 3月, 2001 1 次提交
  14. 09 3月, 2001 2 次提交
  15. 07 3月, 2001 1 次提交
  16. 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
  17. 23 2月, 2001 1 次提交
  18. 20 2月, 2001 4 次提交
  19. 19 2月, 2001 1 次提交
  20. 13 2月, 2001 1 次提交
  21. 09 2月, 2001 1 次提交
  22. 05 2月, 2001 1 次提交
  23. 25 1月, 2001 1 次提交
  24. 23 1月, 2001 1 次提交
  25. 11 1月, 2001 1 次提交
  26. 31 12月, 2000 1 次提交
  27. 13 12月, 2000 1 次提交
  28. 01 12月, 2000 2 次提交
  29. 19 11月, 2000 1 次提交
  30. 13 11月, 2000 1 次提交
  31. 09 11月, 2000 1 次提交
  32. 07 11月, 2000 2 次提交