1. 17 1月, 2018 2 次提交
  2. 13 1月, 2018 1 次提交
  3. 11 1月, 2018 1 次提交
  4. 09 1月, 2018 2 次提交
  5. 08 1月, 2018 1 次提交
  6. 18 12月, 2017 2 次提交
  7. 16 12月, 2017 1 次提交
  8. 14 12月, 2017 6 次提交
  9. 13 12月, 2017 1 次提交
    • R
      Build file templates: Replace the use of Makefile.shared · 81183680
      Richard Levitte 提交于
      Because this also includes handling all sorts of non-object files when
      linking a program, shared library or DSO, this also includes allowing
      general recognition of files such as .res files (compiled from .rc
      files), or .def / .map / .opt files (for export and possibly
      versioning of public symbols only).
      
      This does mean that there's a tangible change for all build file
      templates: they must now recognise and handle the `.o` extension,
      which is used internally to recognise object files internally.  This
      extension was removed by common.tmpl before this change, but would
      mean that the platform specific templates wouldn't know if "foo.map"
      was originally "foo.map.o" (i.e. an object file in its own right) or
      "foo.map" (an export definition file that should be treated as such,
      not as an object file).
      
      For the sake of simplifying things, we also modify util/mkdef.pl to
      produce .def (Windows) and .opt (VMS) files that don't need additional
      hackery.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4840)
      81183680
  10. 01 12月, 2017 1 次提交
    • V
      Make possible variant SONAMEs and symbol versions · 822b5e26
      Viktor Dukhovni 提交于
      This small change in the Unix template and shared library build
      scripts enables building "variant" shared libraries.  A "variant"
      shared library has a non-default SONAME, and non default symbol
      versions.  This makes it possible to build (say) an OpenSSL 1.1.0
      library that can coexist without conflict in the same process address
      space as the system's default OpenSSL library which may be OpenSSL
      1.0.2.
      
      Such "variant" shared libraries make it possible to link applications
      against a custom OpenSSL library installed in /opt/openssl/1.1 or
      similar location, and not risk conflict with an indirectly loaded
      OpenSSL runtime that is required by some other dependency.
      
      Variant shared libraries have been fully tested under Linux, and
      build successfully on MacOS/X producing variant DYLD names.  MacOS/X
      Darwin has no symbol versioning, but has a non-flat library namespace.
      Variant libraries may therefore support multiple OpenSSL libraries
      in the same address space also with MacOS/X, despite lack of symbol
      versions, but this has not been verified.
      
      Variant shared libraries are optional and off by default.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      822b5e26
  11. 28 11月, 2017 1 次提交
  12. 21 11月, 2017 1 次提交
    • P
      Support multi-prime RSA (RFC 8017) · 665d899f
      Paul Yang 提交于
      * Introduce RSA_generate_multi_prime_key to generate multi-prime
        RSA private key. As well as the following functions:
          RSA_get_multi_prime_extra_count
          RSA_get0_multi_prime_factors
          RSA_get0_multi_prime_crt_params
          RSA_set0_multi_prime_params
          RSA_get_version
      * Support EVP operations for multi-prime RSA
      * Support ASN.1 operations for multi-prime RSA
      * Support multi-prime check in RSA_check_key_ex
      * Support multi-prime RSA in apps/genrsa and apps/speed
      * Support multi-prime RSA manipulation functions
      * Test cases and documentation are added
      * CHANGES is updated
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      Reviewed-by: NBernd Edlinger <bernd.edlinger@hotmail.de>
      (Merged from https://github.com/openssl/openssl/pull/4241)
      665d899f
  13. 20 11月, 2017 1 次提交
  14. 12 11月, 2017 2 次提交
  15. 10 11月, 2017 1 次提交
  16. 07 11月, 2017 1 次提交
    • M
      Fix race condition in TLSProxy · 018632ae
      Matt Caswell 提交于
      Normally TLSProxy waits for the s_server process to finish before
      continuing. However in cases where serverconnects > 1 we need to keep the
      s_server process around for a later test so we continue immediately. This
      means that TAP test output can end up being printed to stdout at the same
      time as s_server is printing stuff. This confuses the test runner and can
      cause spurious test failures. This commit introduces a small delay in cases
      where serverconnects > 1 in order to give s_server enough time to finish
      what it was doing before we continue to the next test.
      
      Fixes #4129
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4660)
      018632ae
  17. 06 11月, 2017 3 次提交
  18. 31 10月, 2017 4 次提交
  19. 26 10月, 2017 1 次提交
  20. 19 10月, 2017 1 次提交
  21. 18 10月, 2017 1 次提交
    • D
      Fix reseeding issues of the public RAND_DRBG · c16de9d8
      Dr. Matthias St. Pierre 提交于
      Reseeding is handled very differently by the classic RAND_METHOD API
      and the new RAND_DRBG api. These differences led to some problems when
      the new RAND_DRBG was made the default OpenSSL RNG. In particular,
      RAND_add() did not work as expected anymore. These issues are discussed
      on the thread '[openssl-dev] Plea for a new public OpenSSL RNG API'
      and in Pull Request #4328. This commit fixes the mentioned issues,
      introducing the following changes:
      
      - Replace the fixed size RAND_BYTES_BUFFER by a new RAND_POOL API which
        facilitates collecting entropy by the get_entropy() callback.
      - Don't use RAND_poll()/RAND_add() for collecting entropy from the
        get_entropy() callback anymore. Instead, replace RAND_poll() by
        RAND_POOL_acquire_entropy().
      - Add a new function rand_drbg_restart() which tries to get the DRBG
        in an instantiated state by all means, regardless of the current
        state (uninstantiated, error, ...) the DRBG is in. If the caller
        provides entropy or additional input, it will be used for reseeding.
      - Restore the original documented behaviour of RAND_add() and RAND_poll()
        (namely to reseed the DRBG immediately) by a new implementation based
        on rand_drbg_restart().
      - Add automatic error recovery from temporary failures of the entropy
        source to RAND_DRBG_generate() using the rand_drbg_restart() function.
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      Reviewed-by: NKurt Roeckx <kurt@roeckx.be>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NBen Kaduk <kaduk@mit.edu>
      (Merged from https://github.com/openssl/openssl/pull/4328)
      c16de9d8
  22. 13 10月, 2017 2 次提交
  23. 12 10月, 2017 3 次提交