1. 11 7月, 2001 1 次提交
  2. 13 5月, 2001 3 次提交
  3. 07 5月, 2001 1 次提交
  4. 27 4月, 2001 1 次提交
  5. 26 4月, 2001 1 次提交
  6. 10 3月, 2001 1 次提交
    • D
      · b4f682d3
      Dr. Stephen Henson 提交于
      Add the 'ec' directory to mkdef.pl and mkfiles.pl
      so the Windows build can see it.
      
      Fixup mkdef.pl so it doesn't mess up with function
      names longer than 39 characters in length.
      b4f682d3
  7. 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
  8. 22 2月, 2001 1 次提交
  9. 21 2月, 2001 1 次提交
  10. 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
  11. 19 2月, 2001 1 次提交
  12. 10 2月, 2001 1 次提交
  13. 09 2月, 2001 1 次提交
  14. 31 12月, 2000 1 次提交
  15. 29 12月, 2000 1 次提交
    • R
      Enhancements to mkdef.pl: · 3f07fe09
      Richard Levitte 提交于
      * detect "unknown" algorithms (any C macro starting with NO_ that is
        not explicitely mentioned in mkdef.pl as a known algorithm) and
        report.
      * add a number of algorithms that can be deselected.
      * look in ssl/kssl.h as well.
      * accept multiple whitespace (not just one SPC) in preprocessor lines.
      3f07fe09
  16. 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
  17. 16 12月, 2000 1 次提交
  18. 14 11月, 2000 3 次提交
  19. 09 11月, 2000 1 次提交
  20. 27 10月, 2000 2 次提交
  21. 25 9月, 2000 1 次提交
  22. 20 9月, 2000 1 次提交
  23. 17 9月, 2000 2 次提交
  24. 12 9月, 2000 2 次提交
  25. 07 9月, 2000 1 次提交
  26. 18 8月, 2000 1 次提交
  27. 14 8月, 2000 1 次提交
  28. 21 6月, 2000 1 次提交
    • 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
  29. 18 6月, 2000 1 次提交
  30. 01 6月, 2000 1 次提交
    • 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
  31. 16 5月, 2000 1 次提交
  32. 05 4月, 2000 1 次提交
    • G
      This commit ties the new DSO code (crypto/dso/) into the build for a · 9ec0126e
      Geoff Thorpe 提交于
      variety of platforms. A few are missing, and they will be added in
      eventually, but as this is new stuff, it was better to not break lots of
      platforms in one go that we can't easily test. The changes to "Configure"
      should illustrate how to add support to other systems if you feel like
      having a go.
      
      NB: I'll add something shortly to allow you to add "dlfcn.h" support on
      those platforms that don't have (or need) a dlfcn.h header file. (The
      symbol for Configure will probably by "dlfcn_no_h").
      
      Thanks to Richard Levitte, who is responsible for the dso_dl.c support,
      understanding the trickier aspects of the build process, and giving great
      feedback on everything else.
      
      [Don't use this stuff if you're easily offended by changes to the
      interface or behaviour - it's still work in progress.]
      
      PR:
      9ec0126e