1. 06 6月, 2005 2 次提交
  2. 19 5月, 2005 1 次提交
  3. 13 5月, 2005 1 次提交
  4. 12 6月, 2003 2 次提交
  5. 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
  6. 30 5月, 2002 1 次提交
  7. 16 11月, 2001 1 次提交
  8. 26 4月, 2001 1 次提交
  9. 27 10月, 2000 2 次提交
    • R
      For the operating systems where it matters, it is sometimes good to · d9efa361
      Richard Levitte 提交于
      translate library names by only adding ".so" to them without
      prepending them with "lib".  Add the flag DSO_FLAG_NAME_TRANSLATION_EXT_ONLY
      for that purpose.
      d9efa361
    • 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
  10. 09 10月, 2000 1 次提交
  11. 21 6月, 2000 1 次提交
  12. 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
  13. 25 4月, 2000 1 次提交
    • G
      This case in the "dso_unload" handlers should not be reported as an error - · ebbaebf7
      Geoff Thorpe 提交于
      if a DSO_load(NULL,...) operation fails, it will have to call DSO_free() on
      the DSO structure it created and that will filter through to this "unload"
      call.
      
      If the stack size is "< 1", then the library never actually loaded. To keep
      things clean higher up, I'll treat this as a vacuous case without an error.
      It makes the error stack easier to follow real world cases, and the error
      this ignores was only useful for catching bugs in internal code, not
      mismatched calls from applications (which should be handled in the generic
      DSO layer).
      ebbaebf7
  14. 20 4月, 2000 1 次提交
    • G
      This change facilitates name translation for shared libraries. The · b9e63915
      Geoff Thorpe 提交于
      technique used is far from perfect and alternatives are welcome.
      Basically if the translation flag is set, the string is not too
      long, and there appears to be no path information in the string,
      then it is converted to whatever the standard should be for the
      DSO_METHOD in question, eg;
          blah --> libblah.so   on *nix, and
          blah --> blah.dll     on win32.
      
      This change also introduces the DSO_ctrl() function that is used
      by the name translation stuff.
      b9e63915
  15. 06 4月, 2000 2 次提交
  16. 05 4月, 2000 1 次提交
    • G
      This is a set of startup code for the DSO support, it's not yet linked into · 8f4fac7f
      Geoff Thorpe 提交于
      the build process (an upcoming commit no doubt), and is very much *new*
      code - what that means is that it compiles ok - usually. It certainly
      doesn't mean it runs well or even properly yet. Please don't muck round
      with this unless you're looking to help out and hunt bugs. :-)
      
      Currently this code doesn't have any support for controlling the "load"
      behaviour (eg. paths, filename translations, etc). That'll be handled
      using DSO_ctrl() and various flags, once we work out a sensible set of
      flags.
      8f4fac7f
  17. 10 9月, 1999 1 次提交
  18. 09 9月, 1999 2 次提交
    • D
      Fix typo. · 0d64ea89
      Dr. Stephen Henson 提交于
      0d64ea89
    • D
      This is preliminary support for an "RSA null" cipher. Unfortunately when · 4a61a64f
      Dr. Stephen Henson 提交于
      OpenSSL is compiled with NO_RSA, no RSA operations can be used: including
      key generation storage and display of RSA keys. Since these operations are
      not covered by the RSA patent (my understanding is it only covers encrypt,
      decrypt, sign and verify) they can be included: this is an often requested
      feature, attempts to use the patented operations return an error code.
      
      This is enabled by setting RSA_NULL. This means that if a particular application
      has its own legal US RSA implementation then it can use that instead by setting
      it as the default RSA method.
      
      Still experimental and needs some fiddling of the other libraries so they have
      some options that don't attempt to use RSA if it isn't allowed.
      4a61a64f
  19. 22 6月, 1999 1 次提交
  20. 27 4月, 1999 1 次提交
  21. 24 4月, 1999 1 次提交
  22. 20 4月, 1999 1 次提交
  23. 17 4月, 1999 1 次提交
  24. 14 3月, 1999 1 次提交
  25. 06 3月, 1999 1 次提交
  26. 22 2月, 1999 1 次提交
  27. 10 2月, 1999 1 次提交
  28. 24 1月, 1999 1 次提交
  29. 17 1月, 1999 1 次提交
    • D
      Time to blow up the source tree :-) This is the beginning of support for · f6aed2cd
      Dr. Stephen Henson 提交于
      GeneralizedTime. At several points PKIX specifies that GeneralizedTime can be
      used but OpenSSL doesn't currently support it. This patch adds several files
      and a bunch of functions.
      
      Of interest is the ASN1_TIME structure and its related functions. At several
      points certificates, CRLs et al specify that a time can be expressed as a
      choice of UTCTime and GeneralizedTime. Currently OpenSSL interprets this
      (wrongly) as UTCTime because GeneralizedTime isn't supported. The ASN1_TIME
      stuff provides this functionality.
      
      Still todo is to trace which cert and CRL points need an ASN1_TIME and modify
      the utilities appropriately and of course fix all the bugs.
      
      Note new OpenSSL copyright in the new file a_time.c. I didn't put it in
      a_gentm.c because it is a minimally modified form a_utctm.c .
      
      Since this adds new files and error codes you will need to do a 'make errors'
      at the top level to add the new codes.
      f6aed2cd