since-v7.diff.txt

text/plain

Filename: since-v7.diff.txt
Type: text/plain
Part: 0
Message: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert
1:  b07af1c564 ! 1:  84f67249e6 libpq: add sslrootcert=system to use default CAs
    @@ doc/src/sgml/runtime.sgml: pg_dumpall -p 5432 | psql -d postgres -p 5433
        <para>
     
      ## meson.build ##
    -@@ meson.build: if get_option('ssl') == 'openssl'
    +@@ meson.build: if sslopt in ['auto', 'openssl']
    +     else
    +       ssl = not_found_dep
          endif
    -   endforeach
    - 
    ++
    ++    if ssl.found()
     +      # Let tests differentiate between vanilla OpenSSL and LibreSSL.
     +      sym = 'LIBRESSL_VERSION_NUMBER'
     +      found = cc.has_header_symbol('openssl/opensslv.h', sym, dependencies: ssl_int)
     +      cdata.set10('HAVE_DECL_' + sym, found, description:
     +'''Define to 1 if you have the declaration of `@0@', and to 0 if you
     +   don't.'''.format(sym))
    -+
    -   cdata.set('USE_OPENSSL', 1,
    -             description: 'Define to 1 to build with OpenSSL support. (-Dssl=openssl)')
    -   cdata.set('OPENSSL_API_COMPAT', '0x10001000L',
    ++    endif
    +   endif
    + endif
    + 
     
      ## src/include/pg_config.h.in ##
     @@
2:  5de1c458b1 = 2:  11b69d0bc0 libpq: force sslmode=verify-full for system CAs