Follow Daniel suggestion to simplify qcrypto TLS implementations,
aiming to solve the OSX build failure.

Supersedes: <20210614052623.1657103-1-f4...@amsat.org>

Philippe Mathieu-Daudé (7):
  crypto/tlscreds: Introduce qcrypto_tls_creds_check_endpoint() helper
  block/nbd: Use qcrypto_tls_creds_check_endpoint()
  chardev/socket: Use qcrypto_tls_creds_check_endpoint()
  migration/tls: Use qcrypto_tls_creds_check_endpoint()
  crypto/tlssession: Introduce qcrypto_tls_creds_check_endpoint() helper
  ui/vnc: Use qcrypto_tls_session_check_role()
  crypto: Make QCryptoTLSCreds* structures private

 crypto/tlscredspriv.h         | 15 +++++++++++++++
 include/crypto/tlscreds.h     | 28 ++++++++++++----------------
 include/crypto/tlscredsanon.h | 12 ------------
 include/crypto/tlscredspsk.h  | 12 ------------
 include/crypto/tlscredsx509.h | 10 ----------
 include/crypto/tlssession.h   | 13 +++++++++++++
 block/nbd.c                   |  3 ++-
 blockdev-nbd.c                |  3 ++-
 chardev/char-socket.c         |  6 ++++--
 crypto/tlscreds.c             |  5 +++++
 crypto/tlscredsanon.c         | 13 +++++++++++++
 crypto/tlscredspsk.c          | 14 ++++++++++++++
 crypto/tlscredsx509.c         | 16 +++++++++++++---
 crypto/tlssession.c           |  6 ++++++
 migration/tls.c               |  2 +-
 ui/vnc.c                      |  3 ++-
 16 files changed, 102 insertions(+), 59 deletions(-)

-- 
2.31.1



Reply via email to