Skip to content
  1. Dec 04, 2017
    • 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. Dec 03, 2017
  3. Nov 30, 2017
    • 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. Nov 29, 2017
  5. Nov 28, 2017
  6. Nov 27, 2017
  7. Nov 25, 2017
  8. Nov 24, 2017
  9. Nov 23, 2017
  10. Nov 22, 2017
  11. Nov 21, 2017
  12. Nov 20, 2017
  13. Nov 17, 2017
  14. Nov 16, 2017