diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-19 00:38:47 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-19 00:38:47 +0100 |
| commit | 9fe1d1f41069eda254e11746512d6be032db81d5 (patch) | |
| tree | 2e22ba30d3c50bb11e49bb38615215434b250a49 /src/bobink_opcua_client.c | |
| parent | 3ba285caf93d0c44815dd507a2b5de2ac40222c3 (diff) | |
| download | BobinkCOpcUa-9fe1d1f41069eda254e11746512d6be032db81d5.tar.gz BobinkCOpcUa-9fe1d1f41069eda254e11746512d6be032db81d5.zip | |
Drop auth parameter from create_unsecure_client_config
Credentials over plaintext SecurityPolicy#None are insecure, so the
unsecure client path now always uses anonymous authentication.
Diffstat (limited to 'src/bobink_opcua_client.c')
| -rw-r--r-- | src/bobink_opcua_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bobink_opcua_client.c b/src/bobink_opcua_client.c index 35a3e6f..79edef6 100644 --- a/src/bobink_opcua_client.c +++ b/src/bobink_opcua_client.c @@ -342,13 +342,13 @@ main (int argc, char **argv) UA_StatusCode retval; if (op == OP_DOWNLOAD_CERT) retval = create_unsecure_client_config (UA_Client_getConfig (client), - application_uri, NULL); + application_uri); else if (sec.cert_path) retval = create_secure_client_config (UA_Client_getConfig (client), application_uri, &sec, &auth); else retval = create_unsecure_client_config (UA_Client_getConfig (client), - application_uri, &auth); + application_uri); if (retval != UA_STATUSCODE_GOOD) { |
