]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
BEE Backport bacula/src/qt-console/bat_conf.h
authorAlain Spineux <alain@baculasystems.com>
Sat, 16 May 2020 09:25:54 +0000 (11:25 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 29 Apr 2021 08:44:19 +0000 (10:44 +0200)
This commit is the result of the squash of the following main commits:

bacula/src/qt-console/bat_conf.h

index efcb68d0e4dc79c16d78050e8eab6b36289c5c95..469b4fdfc71f175a38b3b8cd38f35b9ff3174bcd 100644 (file)
@@ -58,6 +58,7 @@ public:
    char *password;                    /* UA server password */
    bool tls_authenticate;             /* Authenticate with tls */
    bool tls_enable;                   /* Enable TLS */
+   bool tls_psk_enable;               /* Enable TLS-PSK */
    bool tls_require;                  /* Require TLS */
    char *tls_ca_certfile;             /* TLS CA Certificate File */
    char *tls_ca_certdir;              /* TLS CA Certificate Directory */
@@ -66,6 +67,7 @@ public:
    utime_t heartbeat_interval;        /* Dir heartbeat interval */
 
    TLS_CONTEXT *tls_ctx;              /* Shared TLS Context */
+   TLS_CONTEXT *psk_ctx;              /* Shared TLS-PSK Context */
 
    /* Methods */
    char *name() const;
@@ -86,6 +88,7 @@ public:
    bool comm_compression;             /* Enable comm line compression */
    bool tls_authenticate;             /* Authenticate with tls */
    bool tls_enable;                   /* Enable TLS on all connections */
+   bool tls_psk_enable;               /* Enable TLS-PSK on all connections */
    bool tls_require;                  /* Require TLS on all connections */
    char *tls_ca_certfile;             /* TLS CA Certificate File */
    char *tls_ca_certdir;              /* TLS CA Certificate Directory */
@@ -95,6 +98,7 @@ public:
    utime_t heartbeat_interval;        /* Cons heartbeat interval */
 
    TLS_CONTEXT *tls_ctx;              /* Shared TLS Context */
+   TLS_CONTEXT *psk_ctx;          /* Shared TLS Context */
 
    /* Methods */
    char *name() const;