1. 04 12月, 2017 1 次提交
    • M
      Provide an SSLfatal() macro · 1f359471
      Matt Caswell 提交于
      Typically if a fatal error occurs three things need to happen:
      
      - Put an error on the error queue
      - Send an alert
      - Put the state machine into the error state
      
      Although all 3 of these things need to be done every time we hit a fatal
      error the responsibilities for doing this are distributed throughout the
      code. The place where the error goes on the queue, where the alert gets
      sent and where the state machine goes into the error state are almost
      invariably different. It has been a common pattern to pass alert codes up
      and down the stack to get the alert information from the point in the code
      where the error is detected to the point in the code where the alert gets
      sent.
      
      This commit provides an SSLfatal() macro (backed by an ossl_statem_fatal
      function) that does all 3 of the above error tasks. This is largely a drop
      in replacement for SSLerr, but takes a couple of extra parameters (the SSL
      object, and an alert code).
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4778)
      1f359471
  2. 03 12月, 2017 1 次提交
  3. 01 12月, 2017 2 次提交
    • 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
    • R
      Add "friendly name" extractor · a4cefc86
      Rich Salz 提交于
      From a comment posted by GitHub user "geniuz"
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4812)
      a4cefc86
  4. 30 11月, 2017 2 次提交
  5. 29 11月, 2017 4 次提交
  6. 28 11月, 2017 7 次提交
  7. 26 11月, 2017 2 次提交
  8. 25 11月, 2017 2 次提交
  9. 24 11月, 2017 4 次提交
  10. 22 11月, 2017 6 次提交
  11. 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
  12. 20 11月, 2017 1 次提交
  13. 18 11月, 2017 1 次提交
  14. 17 11月, 2017 1 次提交
  15. 16 11月, 2017 5 次提交