diff --git a/examples/access_control_encrypt/client_access_control_encrypt.c b/examples/access_control_encrypt/client_access_control_encrypt.c index 2697dbef03e..2c3979bbc13 100644 --- a/examples/access_control_encrypt/client_access_control_encrypt.c +++ b/examples/access_control_encrypt/client_access_control_encrypt.c @@ -31,7 +31,7 @@ int main(int argc, char* argv[]) { UA_ByteString certificate = loadFile(argv[2]); UA_ByteString privateKey = loadFile(argv[3]); - /* Load the trustList. Load revocationList is not supported now */ + /* Load the trustList */ size_t trustListSize = 0; if(argc > MIN_ARGS) trustListSize = (size_t)argc-MIN_ARGS; @@ -39,6 +39,7 @@ int main(int argc, char* argv[]) { for(size_t trustListCount = 0; trustListCount < trustListSize; trustListCount++) trustList[trustListCount] = loadFile(argv[trustListCount+4]); + /* Revocation lists are supported, but not used for the example here */ UA_ByteString *revocationList = NULL; size_t revocationListSize = 0; diff --git a/examples/ci_server.c b/examples/ci_server.c index f1d61f36f18..ea1b133ed02 100644 --- a/examples/ci_server.c +++ b/examples/ci_server.c @@ -165,11 +165,10 @@ int main(int argc, char* argv[]) { size_t issuerListSize = 0; UA_ByteString *issuerList = NULL; - /* Loading of a revocation list currently unsupported */ + /* Revocation lists are supported, but not used for the example here */ UA_ByteString *revocationList = NULL; size_t revocationListSize = 0; - retval = UA_ServerConfig_setDefaultWithSecurityPolicies(config, port, &certificate, &privateKey, trustList, trustListSize, diff --git a/examples/encryption/client_encryption.c b/examples/encryption/client_encryption.c index e9aab9c9486..5366318d999 100644 --- a/examples/encryption/client_encryption.c +++ b/examples/encryption/client_encryption.c @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) { UA_ByteString certificate = loadFile(argv[2]); UA_ByteString privateKey = loadFile(argv[3]); - /* Load the trustList. Load revocationList is not supported now */ + /* Load the trustlist */ size_t trustListSize = 0; if(argc > MIN_ARGS) trustListSize = (size_t)argc-MIN_ARGS; @@ -38,6 +38,7 @@ int main(int argc, char* argv[]) { for(size_t trustListCount = 0; trustListCount < trustListSize; trustListCount++) trustList[trustListCount] = loadFile(argv[trustListCount+4]); + /* Revocation lists are supported, but not used for the example here */ UA_ByteString *revocationList = NULL; size_t revocationListSize = 0; diff --git a/examples/encryption/client_encryption_tpm_keystore.c b/examples/encryption/client_encryption_tpm_keystore.c index a55d1da6425..c819c5d3722 100644 --- a/examples/encryption/client_encryption_tpm_keystore.c +++ b/examples/encryption/client_encryption_tpm_keystore.c @@ -375,7 +375,7 @@ int main(int argc, char* argv[]) { certificate.data = certificate_out_data->data; certificate.length = certificate_out_data->length; - /* Load the trustList. Load revocationList is not supported now */ + /* Load the trust list */ size_t trustListSize = 0; if(argc > MIN_ARGS) trustListSize = (size_t)argc-MIN_ARGS; @@ -383,6 +383,7 @@ int main(int argc, char* argv[]) { for(size_t trustListCount = 0; trustListCount < trustListSize; trustListCount++) trustList[trustListCount] = loadFile(argv[trustListCount+7]); + /* Revocation lists are supported, but not used for the example here */ UA_ByteString *revocationList = NULL; size_t revocationListSize = 0; @@ -432,4 +433,4 @@ int main(int argc, char* argv[]) { UA_Variant_clear(&value); UA_Client_delete(client); return retval == UA_STATUSCODE_GOOD ? EXIT_SUCCESS : EXIT_FAILURE; -} \ No newline at end of file +} diff --git a/examples/encryption/server_encryption.c b/examples/encryption/server_encryption.c index 3e9f9cebc17..5ebbeb971f9 100644 --- a/examples/encryption/server_encryption.c +++ b/examples/encryption/server_encryption.c @@ -83,7 +83,7 @@ int main(int argc, char* argv[]) { size_t issuerListSize = 0; UA_ByteString *issuerList = NULL; - /* Loading of a revocation list currently unsupported */ + /* Revocation lists are supported, but not used for the example here */ UA_ByteString *revocationList = NULL; size_t revocationListSize = 0; diff --git a/examples/encryption/server_encryption_tpm_keystore.c b/examples/encryption/server_encryption_tpm_keystore.c index 6c13960d8c8..f1554cd9dbe 100644 --- a/examples/encryption/server_encryption_tpm_keystore.c +++ b/examples/encryption/server_encryption_tpm_keystore.c @@ -393,7 +393,7 @@ int main(int argc, char* argv[]) { size_t issuerListSize = 0; UA_ByteString *issuerList = NULL; - /* Loading of a revocation list currently unsupported */ + /* Revocation lists are supported, but not used for the example here */ UA_ByteString *revocationList = NULL; size_t revocationListSize = 0;