• Sergei Golubchik's avatar
    Two problems with auth_parsec.so · 05fe3f1c
    Sergei Golubchik authored
    1. it links with ${SSL_LIBRARIES}, in WolfSSL builds it's a static
       library, so when a plugin is loaded there will be two copies of
       wolfssl in the same address space. It breaks odr (at least).
    2. Plugin can linked with OpenSSL and the server with WolfSSL or
       vice versa. It might load, but then we'll have both WolfSSL and
       OpenSSL at the same time. Kind of risky.
    
    Fix: link the plugin statically into the server if it's a WolfSSL build
    
    adjust tests to work with static and dynamic parsec
    05fe3f1c
parsec.result 1.13 KB