1. 30 9月, 2015 2 次提交
    • R
      Make update / libeay.num fix · 75f648aa
      Rich Salz 提交于
      Looks like someone forgot to do a "make update" since crypto/ts/Makefile
      keeps changing.  So include that.
      
      Second is that the declare_dh_bn macro fools the libeay.num script.
      The declarations are only needed in one file (dh_rfc5114) so remove
      them from the header and put the "raw" declarations directly into that
      file.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      75f648aa
    • D
      Fix no-stdio build · 984d6c60
      David Woodhouse 提交于
      Much related/similar work also done by
      Ivan Nestlerode <ivan.nestlerode@sonos.com>
      
         +Replace FILE BIO's with dummy ops that fail.
         +Include <stdio.h> for sscanf() even with no-stdio (since the declaration
          is there). We rely on sscanf() to parse the OPENSSL_ia32cap environment
          variable, since it can be larger than a 'long'. And we don't rely on the
          availability of strtoull().
         +Remove OPENSSL_stderr(); not used.
         +Make OPENSSL_showfatal() do nothing (currently without stdio there's
          nothing we can do).
         +Remove file-based functionality from ssl/. The function
          prototypes were already gone, but not the functions themselves.
         +Remove unviable conf functionality via SYS_UEFI
         +Add fallback definition of BUFSIZ.
         +Remove functions taking FILE * from header files.
         +Add missing DECLARE_PEM_write_fp_const
         +Disable X509_LOOKUP_hash_dir(). X509_LOOKUP_file() was already compiled out,
          so remove its prototype.
         +Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid().
         +Eliminate SRP_VBASE_init() and supporting functions. Users will need to
          build the verifier manually instead.
         +Eliminate compiler warning for unused do_pk8pkey_fp().
         +Disable TEST_ENG_OPENSSL_PKEY.
         +Disable GOST engine as is uses [f]printf all over the place.
         +Eliminate compiler warning for unused send_fp_chars().
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      984d6c60
  2. 16 9月, 2015 1 次提交
  3. 15 9月, 2015 1 次提交
  4. 11 9月, 2015 1 次提交
  5. 07 9月, 2015 2 次提交
  6. 06 9月, 2015 2 次提交
  7. 05 9月, 2015 2 次提交
    • B
      Supply a build rule for the recently added nptest · 18716ba2
      Benjamin Kaduk 提交于
      Commit d4ab70f2 added a test program
      to check that the NULL pointer is represented as all zero bits, but
      did not specify a build rule for that new executable.  On many platforms,
      the implicit rule sufficed, since nptest is a very simple program, but
      for at least darwin-i386-cc, an explicit rule is needed.  On darwin-i386-cc,
      the implicit rule targetted a 64-bit executable, but the object file
      containing the definition of main was a 32-bit object, which the linker
      excluded from consideration, resulting in a link failure due to no
      definition for _main.
      
      Add the missing build rule to fix the build on such platforms.
      Signed-off-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NDr. Stephen Henson <steve@openssl.org>
      18716ba2
    • R
      Test for NULL ptr == 0 · d4ab70f2
      Rich Salz 提交于
      Add a test to ensure that "char *p = NULL" is equivalent to
      all-bytes-zero.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      d4ab70f2
  8. 04 9月, 2015 2 次提交
  9. 03 9月, 2015 1 次提交
  10. 26 8月, 2015 1 次提交
  11. 14 8月, 2015 1 次提交
  12. 12 8月, 2015 3 次提交
  13. 03 8月, 2015 2 次提交
  14. 27 7月, 2015 1 次提交
  15. 09 7月, 2015 1 次提交
  16. 08 7月, 2015 1 次提交
  17. 24 6月, 2015 1 次提交
  18. 10 6月, 2015 1 次提交
  19. 29 5月, 2015 1 次提交
  20. 26 5月, 2015 1 次提交
  21. 23 5月, 2015 1 次提交
    • R
      Fix the update target and remove duplicate file updates · 0f539dc1
      Richard Levitte 提交于
      We had updates of certain header files in both Makefile.org and the
      Makefile in the directory the header file lived in.  This is error
      prone and also sometimes generates slightly different results (usually
      just a comment that differs) depending on which way the update was
      done.
      
      This removes the file update targets from the top level Makefile, adds
      an update: target in all Makefiles and has it depend on the depend: or
      local_depend: targets, whichever is appropriate, so we don't get a
      double run through the whole file tree.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      0f539dc1
  22. 20 5月, 2015 1 次提交
  23. 16 5月, 2015 1 次提交
  24. 14 5月, 2015 2 次提交
  25. 13 5月, 2015 2 次提交
  26. 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
  27. 22 4月, 2015 1 次提交
  28. 09 4月, 2015 2 次提交
  29. 02 4月, 2015 1 次提交