Commit 8b667303 authored by Kishen Maloor's avatar Kishen Maloor

Update sample apps and PKI test certs

Change-Id: I0580cdf1762874d3cb5cb16971d8864ffc29d150
Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent cbe4676e
-----BEGIN CERTIFICATE-----
MIIEFjCCA7ygAwIBAgIJAI0K+3tTsky1MAoGCCqGSM49BAMCMFsxDDAKBgNVBAoM
MIIEEzCCA7igAwIBAgIJAI0K+3tTskz5MAoGCCqGSM49BAMCMFsxDDAKBgNVBAoM
A09DRjEiMCAGA1UECwwZS3lyaW8gVGVzdCBJbmZyYXN0cnVjdHVyZTEnMCUGA1UE
AwweS3lyaW8gVEVTVCBJbnRlcm1lZGlhdGUgQ0EwMDAyMB4XDTE5MDcyOTIzMDkz
NFoXDTE5MDgyODIzMDkzNFowYTEMMAoGA1UECgwDT0NGMSIwIAYDVQQLDBlLeXJp
byBUZXN0IEluZnJhc3RydWN0dXJlMS0wKwYDVQQDDCRhNzA2NWQyMS03YTQ5LTRk
ZTQtYTRhNi1lNTY0YzQ3M2M2MDAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQJ
hOx0lBy9jslL438Orj1iaPU8xH53mk8J4CJV34rrGg/uCaCIktmD1G/zDLLBgWB+
0BR4B933E5hhUI3ED5Ovo4ICYTCCAl0wCQYDVR0TBAIwADAOBgNVHQ8BAf8EBAMC
AwweS3lyaW8gVEVTVCBJbnRlcm1lZGlhdGUgQ0EwMDAyMB4XDTE5MTAwODAxMjIz
M1oXDTE5MTEwNzAxMjIzM1owYTEMMAoGA1UECgwDT0NGMSIwIAYDVQQLDBlLeXJp
byBUZXN0IEluZnJhc3RydWN0dXJlMS0wKwYDVQQDDCQyOGNjYWIxZC1mNDEwLTQ0
N2UtYjliNC0zMTUyYjEyYjI3NjUwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT9
LQRB/K0yeD56w8D0yZeJCFzP2YijUPU8JI24jZ/vJD9x7Rs3iAEKqICFAj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wTzAJAgECAgEAAgEAMDYMGTEuMy42LjEuNC4xLjUx
NDE0LjAuMC4xLjAMGTEuMy42LjEuNC4xLjUxNDE0LjAuMC4yLjAMBExpdGUMBExp
dGUwKgYKKwYBBAGDkVYBAQQcMBoGCysGAQQBg5FWAQEABgsrBgEEAYORVgEBATAw
BgorBgEEAYORVgECBCIwIAwOMS4zLjYuMS40LjEuNzEMCURpc2NvdmVyeQwDMS4w
MAoGCCqGSM49BAMCA0kAMEYCIQCaqOZnPoGZMpcTyWrueAHjwA44wOqkqLx0tE0O
UBWdRwIhAI2uvFxvF0gNHI7SUQtOLrBoDfrj9d97O2Yh41kB68BY
-----END CERTIFICATE-----
......@@ -2,7 +2,7 @@
BggqhkjOPQMBBw==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIGDqx8eM7xp3tEi4vBioYOYsYeBLYeVxHK1VTGEifuNDoAoGCCqGSM49
AwEHoUQDQgAECYTsdJQcvY7JS+N/Dq49Ymj1PMR+d5pPCeAiVd+K6xoP7gmgiJLZ
g9Rv8wyywYFgftAUeAfd9xOYYVCNxA+Trw==
MHcCAQEEIJYwe3JwAzojPZbbrpzKlnZ/nfazYxXPHY5CIFq2OP+/oAoGCCqGSM49
AwEHoUQDQgAE/S0EQfytMng+esPA9MmXiQhcz9mIo1D1PCSNuI2f7yQ/ce0bN4gB
CqiAhQIzmyRgwlN6fMOUObvhQo3ONqTATA==
-----END EC PRIVATE KEY-----
......@@ -609,7 +609,7 @@ main(void)
oc_clock_time_t next_event;
oc_set_con_res_announced(false);
// oc_set_mtu_size(50000);
oc_set_max_app_data_size(16384);
#ifdef OC_SECURITY
oc_storage_config("./smart_home_server_linux_creds");
......
......@@ -85,7 +85,7 @@ app_init(void)
{
int err = oc_init_platform("Intel", NULL, NULL);
err |= oc_add_device("/oic/d", "oic.d.switch", "binary_switch", "ocf.2.4.0",
err |= oc_add_device("/oic/d", "oic.d.switch", "binary_switch", "ocf.2.0.5",
"ocf.res.1.3.0,ocf.sh.1.3.0", NULL, NULL);
return err;
}
......@@ -308,7 +308,6 @@ main(void)
oc_clock_time_t next_event;
oc_set_con_res_announced(false);
oc_set_mtu_size(16384);
oc_set_max_app_data_size(16384);
#ifdef OC_SECURITY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment