1. 04 Dec, 2017 1 commit
    • Matt Caswell's avatar
      Provide an SSLfatal() macro · 1f359471
      Matt Caswell authored
      
      
      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: default avatarRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4778)
      1f359471
  2. 03 Dec, 2017 1 commit
  3. 30 Nov, 2017 2 commits
    • Viktor Dukhovni's avatar
      Make possible variant SONAMEs and symbol versions · 822b5e26
      Viktor Dukhovni authored
      
      
      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: default avatarRichard Levitte <levitte@openssl.org>
      822b5e26
    • Rich Salz's avatar
      Add "friendly name" extractor · a4cefc86
      Rich Salz authored
      
      
      From a comment posted by GitHub user "geniuz"
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4812)
      a4cefc86
  4. 29 Nov, 2017 2 commits
  5. 28 Nov, 2017 7 commits
  6. 27 Nov, 2017 4 commits
  7. 25 Nov, 2017 4 commits
  8. 24 Nov, 2017 2 commits
  9. 23 Nov, 2017 2 commits
  10. 22 Nov, 2017 1 commit
  11. 21 Nov, 2017 6 commits
  12. 20 Nov, 2017 1 commit
  13. 17 Nov, 2017 2 commits
  14. 16 Nov, 2017 5 commits