1. 06 5月, 2015 1 次提交
  2. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  3. 01 5月, 2015 1 次提交
  4. 29 4月, 2015 1 次提交
  5. 31 1月, 2015 1 次提交
  6. 22 1月, 2015 1 次提交
  7. 19 12月, 2012 1 次提交
  8. 15 7月, 2009 1 次提交
  9. 29 12月, 2008 1 次提交
  10. 04 6月, 2008 1 次提交
  11. 23 10月, 2006 1 次提交
  12. 16 1月, 2006 1 次提交
  13. 09 1月, 2006 1 次提交
  14. 02 1月, 2006 3 次提交
  15. 31 12月, 2005 1 次提交
  16. 19 12月, 2005 1 次提交
  17. 01 11月, 2005 1 次提交
  18. 04 8月, 2005 1 次提交
  19. 02 8月, 2005 1 次提交
  20. 25 7月, 2005 1 次提交
  21. 28 6月, 2005 1 次提交
  22. 10 6月, 2005 1 次提交
  23. 06 6月, 2005 1 次提交
  24. 11 5月, 2005 1 次提交
    • B
      Fix more error codes. · 8afca8d9
      Bodo Möller 提交于
      (Also improve util/ck_errf.pl script, and occasionally
      fix source code formatting.)
      8afca8d9
  25. 12 3月, 2005 1 次提交
  26. 16 11月, 2002 1 次提交
  27. 06 10月, 2002 1 次提交
  28. 15 7月, 2002 1 次提交
    • R
      There's an ongoing project to bring some kind of path selection · cbecb3ac
      Richard Levitte 提交于
      mechanism to the ENGINE framework.  This means there there are going
      to be new functionality for the DSO part, and ultimately some way of
      merging two file specifications together.
      
      This commit places the merging code into the repository.  It's
      currently not used anywhere, and hasn't been tested at all.  It may be
      full of errors, including syntactical ones.  Those will be fixed as
      promptly as possible.
      cbecb3ac
  29. 26 4月, 2001 1 次提交
  30. 20 2月, 2001 1 次提交
  31. 27 10月, 2000 1 次提交
    • G
      This changes the behaviour of the DSO mechanism for determining an · 51c8dc37
      Geoff Thorpe 提交于
      appropriate filename translation on the host system. Apart from this point,
      users should also note that there's a slight change in the API functions
      too. The DSO now contains its own to-be-converted filename
      ("dso->filename"), and at the time the DSO loads the "dso->loaded_filename"
      value is set to the translated form. As such, this also provides an impicit
      way of determining if the DSO is currently loaded or not. Except, perhaps,
      VMS .... :-)
      
      The various DSO_METHODs have been updated for this mechanism except VMS
      which is deliberately broken for now, Richard is going to look at how to
      fit it in (the source comments in there explain "the issue").
      
      Basically, the new callback scheme allows the filename conversion to
      (a) be turned off altogether through the use of the
          DSO_FLAG_NO_NAME_TRANSLATION flag,
      (b) be handled in the default way using the default DSO_METHOD's converter
      (c) overriden per-DSO by setting the override callback
      (d) a mix of (b) and (c) - eg. implement an override callback that;
          (i) checks if we're win32 "if(strstr(dso->meth->name, "win32"))..."
              and if so, convert "blah" into "blah32.dll" (the default is
      	otherwise to make it "blah.dll").
          (ii) default to the normal behaviour - eg. we're not on win32, so
               finish with (return dso->meth->dso_name_converter(dso,NULL)).
      (e) be retried a number of times by writing a new DSO_METHOD where the
          "dso_load()" handler will call the converter repeatedly. Then the
          custom converter could use state information in the DSO to suggest
          different conversions or paths each time it is invoked.
      51c8dc37
  32. 09 10月, 2000 1 次提交
  33. 24 6月, 2000 1 次提交
  34. 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
  35. 16 6月, 2000 1 次提交
    • 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
  36. 02 6月, 2000 1 次提交
    • R
      There have been a number of complaints from a number of sources that names · 26a3a48d
      Richard Levitte 提交于
      like Malloc, Realloc and especially Free conflict with already existing names
      on some operating systems or other packages.  That is reason enough to change
      the names of the OpenSSL memory allocation macros to something that has a
      better chance of being unique, like prepending them with OPENSSL_.
      
      This change includes all the name changes needed throughout all C files.
      26a3a48d
  37. 29 5月, 2000 2 次提交