Skip to content
Snippets Groups Projects
  • Andy Green's avatar
    89cb55ea
    tls: split out common, openssl and mbedtls code · 89cb55ea
    Andy Green authored
     - introduce lib/tls/mbedtls lib/tls/openssl
     - move wrapper into lib/tls/mbedtls/wrapper
     - introduce private helpers to hide backend
    
    This patch doesn't replace or remove the wrapper, it moves it
    to lib/tls/mbedtls/wrapper.
    
    But it should be now that the ONLY functions directly consuming
    wrapper apis are isolated in
    
      - lib/tls/mbedtls/client.c (180 lines)
      - lib/tls/mbedtls/server.c (317 lines)
      - lib/tls/mbedtls/ssl.c    (325 lines)
    
    In particular there are no uses of openssl or mbedtls-related
    constants outside of ./lib/tls any more.
    89cb55ea
    History
    tls: split out common, openssl and mbedtls code
    Andy Green authored
     - introduce lib/tls/mbedtls lib/tls/openssl
     - move wrapper into lib/tls/mbedtls/wrapper
     - introduce private helpers to hide backend
    
    This patch doesn't replace or remove the wrapper, it moves it
    to lib/tls/mbedtls/wrapper.
    
    But it should be now that the ONLY functions directly consuming
    wrapper apis are isolated in
    
      - lib/tls/mbedtls/client.c (180 lines)
      - lib/tls/mbedtls/server.c (317 lines)
      - lib/tls/mbedtls/ssl.c    (325 lines)
    
    In particular there are no uses of openssl or mbedtls-related
    constants outside of ./lib/tls any more.
ssl.c 7.74 KiB