1. 14 3月, 2001 1 次提交
  2. 02 3月, 2001 2 次提交
    • R
      Sort platforms lexicographically as well. Also, support more than two · c454dbcd
      Richard Levitte 提交于
      variants of a symbol.
      c454dbcd
    • 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
  3. 26 2月, 2001 1 次提交
    • R
      make update · d88a26c4
      Richard Levitte 提交于
      Note that all *_it variables are suddenly non-existant according to
      libeay.num.  This is a bug that will be corrected.  Please be patient.
      d88a26c4
  4. 22 2月, 2001 1 次提交
  5. 21 2月, 2001 1 次提交
  6. 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
  7. 19 2月, 2001 1 次提交
  8. 29 12月, 2000 1 次提交
  9. 28 11月, 2000 1 次提交
  10. 27 11月, 2000 1 次提交
  11. 14 11月, 2000 1 次提交
  12. 09 11月, 2000 1 次提交
  13. 27 10月, 2000 2 次提交
  14. 22 10月, 2000 1 次提交
  15. 15 10月, 2000 1 次提交
  16. 13 10月, 2000 1 次提交
  17. 25 9月, 2000 1 次提交
  18. 20 9月, 2000 1 次提交
    • R
      On VMS, stdout may very well lead to a file that is written to in a · 645749ef
      Richard Levitte 提交于
      record-oriented fashion.  That means that every write() will write a
      separate record, which will be read separately by the programs trying
      to read from it.  This can be very confusing.
      
      The solution is to put a BIO filter in the way that will buffer text
      until a linefeed is reached, and then write everything a line at a
      time, so every record written will be an actual line, not chunks of
      lines and not (usually doesn't happen, but I've seen it once) several
      lines in one record.  Voila, BIO_f_linebuffer() is born.
      
      Since we're so close to release time, I'm making this VMS-only for
      now, just to make sure no code is needlessly broken by this.  After
      the release, this BIO method will be enabled on all other platforms as
      well.
      645749ef
  19. 16 9月, 2000 1 次提交
  20. 11 9月, 2000 1 次提交
  21. 07 9月, 2000 1 次提交
  22. 06 9月, 2000 1 次提交
  23. 04 9月, 2000 1 次提交
  24. 14 8月, 2000 1 次提交
  25. 02 8月, 2000 1 次提交
  26. 24 7月, 2000 1 次提交
  27. 20 6月, 2000 1 次提交
  28. 18 6月, 2000 1 次提交
    • R
      Add support for dynamically created and destroyed mutexes. This will · c7922304
      Richard Levitte 提交于
      be needed in some ENGINE code, and might serve elsewhere as well.
      Note that it's implemented in such a way that the locking itself is
      done through the same CRYPTO_lock function as the static locks.
      
      WARNING: This is currently experimental and untested code (it will get
      tested soon, though :-)).
      c7922304
  29. 16 6月, 2000 2 次提交
    • G
      Currently the DSO_METHOD interface has one entry point to bind all · e9a68cfb
      Geoff Thorpe 提交于
      "symbols" including functions (of all prototypes( and variables. Whilst
      casting any function type to another violates ANSI C (I believe), it is
      a necessary evil in shared-library APIs. However, it is quite
      conceivable that functions in general and data symbols could very well
      be represented differently to each other on some systems, as Bodo said;
      
      > Since the function/object distinction is a lot more likely to be
      > important on real-life platforms supporting DSO *and* it can be quite
      > easily done *and* it will silence compilers that don't like
      > assignments from void pointers to function pointer variables, why
      > not do it?
      
      I agree. So this change splits the "dso_bind" handler in DSO_METHOD
      into "dso_bind_var" and "dso_bind_func". Similarly the exported
      function DSO_bind() has been split in two. I've also put together
      changes for the various DSO_METHOD implementations, but so far only
      DSO_dlfcn() has been tested. BTW: The prototype for dso_bind had been
      a bit strange so I've taken the opportunity to change its shape (in
      both variations).
      
      Also, the README has been updated - particularly with a note about
      using customised native name-translation for shared libraries (and that
      you can't do it yet).
      e9a68cfb
    • D
      d3ed8ceb
  30. 13 6月, 2000 1 次提交
  31. 09 6月, 2000 1 次提交
  32. 01 6月, 2000 2 次提交
  33. 30 5月, 2000 1 次提交
    • G
      "make update" · 547bf7f9
      Geoff Thorpe 提交于
      Also, corrects the linux-elf-arm config string, it was previously setting
      $des_obj = dlfcn :-)
      547bf7f9
  34. 29 5月, 2000 1 次提交
  35. 19 5月, 2000 1 次提交
  36. 20 4月, 2000 1 次提交