Skip to content
  1. Dec 27, 2003
  2. Dec 20, 2003
  3. Dec 11, 2003
  4. Dec 10, 2003
  5. Dec 06, 2003
  6. Dec 03, 2003
  7. Dec 02, 2003
    • Geoff Thorpe's avatar
      Incremental cleanups to bn_lib.c. · 2bfd2c74
      Geoff Thorpe authored
      - Add missing bn_check_top() calls and relocate some others
      - Use BN_is_zero() where appropriate
      - Remove assert()s that bn_check_top() is already covering
      - Simplify the code in places (esp. bn_expand2())
      - Only keep ambiguous zero handling if BN_STRICT isn't defined
      - Remove some white-space and make some other aesthetic tweaks
      2bfd2c74
    • Geoff Thorpe's avatar
      Use the BN_is_odd() macro in place of code that (inconsistently) does much · 82b2f57e
      Geoff Thorpe authored
      the same thing.
      
      Also, I have some stuff on the back-burner related to some BN_CTX notes
      from Peter Gutmann about his cryptlib hacks to the bignum code. The BN_CTX
      comments are there to remind me of some relevant points in the code.
      82b2f57e
    • Geoff Thorpe's avatar
      BN_FLG_FREE is of extremely dubious usefulness, and is only referred to · 2ae1ea37
      Geoff Thorpe authored
      once in the source (where it is set for the benefit of no other code
      whatsoever). I've deprecated the declaration in the header and likewise
      made the use of the flag conditional in bn_lib.c. Note, this change also
      NULLs the 'd' pointer in a BIGNUM when it is reset but not deallocated.
      2ae1ea37
  8. Dec 01, 2003
  9. Nov 30, 2003
  10. Nov 29, 2003
  11. Nov 28, 2003
    • Richard Levitte's avatar
      RSA_size() and DH_size() return the amount of bytes in a key, and we · 70ef9c5a
      Richard Levitte authored
      compared it to the amount of bits required...
      PR: 770
      Submitted by: c zhang <czhang2005@hotmail.com>
      70ef9c5a
    • Richard Levitte's avatar
      1024 is the export key bits limit according to current regulations, not 512. · b727907a
      Richard Levitte authored
      PR: 771
      Submitted by: c zhang <czhang2005@hotmail.com>
      b727907a
    • Geoff Thorpe's avatar
      444c3a84
    • Richard Levitte's avatar
      Make a number of changes to the OS/2 build. Submitter's comment below. · 0b352c58
      Richard Levitte authored
      PR: 732
      Submitted by: Ilya Zakharevich <nospam-abuse@ilyaz.org>
      
      Submitter's comment:
      
      This patch:
      
      a) Introduces a new file os2/backwardify.pl.
      
      b) Introduces a new mk1mf.pl variable $preamble.  As you can see, it may
         be used also to move some OS-specific code to VC-CE too (the the
         first chunk of the patch);
      
      c) The DESCRIPTION specifier of the .def file is made more informative:
         now it contains the version number too.  On OS/2 it is made conformant
         to OS/2 conventions; in particular, when one runs the standard command
      	BLDLEVEL this.DLL
         one can see:
      
         Vendor:      www.openssl.org/
         Revision:    0.9.7c
         Description: OpenSSL: implementation of Secure Socket Layer; DLL for library crypto.  Build for EMX -Zmtd
      
         [I did not make Win32 descriptions as informative as this - I'm afraid to
          break something.  Be welcome to fix this.]
      
      d) On OS/2 the generated DLL was hardly usable (it had a shared initialized
         data segment).
      
      e) On OS/2 the generated DLLs had names like ssl.dll.  However, DLL names on
         OS/2 are "global data".  It is hard to have several DLLs with the same
         name on the system.  Thus this precluded coexistence of OpenSSL with DLLs
         for other SLL implementations - or other name clashes.  I transparently
         changed the names of the DLLs to open_ssl.dll and cryptssl.dll.
      
      f) The file added in (a) is used to create "forwarder" DLLs, so the
         applications expecting the "old" DLL names may use the new DLLs
         transparently.  (A presence of these DLLs on the system nullifies (e),
         but makes old applications work.  This is a stopgap measure until the
         old applications are relinked.  Systems with no old applications do not
         need these DLLs, so may enjoy all the benefits of (e).)
      
         The new DLLs are placed in os2/ and os2/noname subdirectories.
      
      g) The makefiles created with os2/OS2-EMX.cmd did not work (some mysterious
         meaningless failures).  The change to util/pl/OS2-EMX.pl uses the
         variable introduced in (b) to switch the Makefiles to SHELL=sh syntax.
         All these backslashes are removed, and the generated Makefiles started to
         work.
      
      h) Running os2/OS2-EMX.cmd now prints out what to do next.
      0b352c58
    • Richard Levitte's avatar
      Move another common functionality (reproduced so far with cut'n'paste) · 03ddbdd9
      Richard Levitte authored
      to apps.c, and give it the hopefully descriptive name parse_yesno().
      03ddbdd9
    • Richard Levitte's avatar
      Let's use text/plain in the example instead of crapy HTML. · 5ebdb390
      Richard Levitte authored
      PR: 777
      Submitted by: Michael Shields <mshields@sunblocksystems.com>
      5ebdb390
    • Richard Levitte's avatar
    • Richard Levitte's avatar
      Move do_subject() to apps.c and rename it to parse_name(). The · 6d5ffb59
      Richard Levitte authored
      rationale behind the move is that it's use by several applications.
      The rationale behind the name change is that it describes what the
      function does a bit better.
      6d5ffb59
    • Richard Levitte's avatar
      Allow multi-valued rdns in subjects. This adds the -multivalue-rdn option · 7ce9e425
      Richard Levitte authored
      to 'openssl req' and 'openssl ca'.
      
      PR: 779
      Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>
      Reviewed by: Richard Levitte
      
      (there will be some follow-up changes)
      7ce9e425
    • Richard Levitte's avatar
      Netware-specific changes, · 4d8743f4
      Richard Levitte authored
      PR: 780
      Submitted by: Verdon Walker <VWalker@novell.com>
      Reviewed by: Richard Levitte
      4d8743f4