mesh: Allow to finish key refresh when no AppKeys are stored 34/228934/1
authorInga Stotland <inga.stotland@intel.com>
Wed, 5 Feb 2020 22:53:43 +0000 (14:53 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 26 Mar 2020 10:25:08 +0000 (15:55 +0530)
commit35ff86ed00102a1e429f6583cbdf53abaa30e465
treef536e9895577c1f4c4486097586d22bd50e025fa
parent72b09c371119fccac17dd35ef6046b2e727767fe
mesh: Allow to finish key refresh when no AppKeys are stored

This handles a case when a Key Refresh procedure is in place with
no application keys stored in the keyring. When KR procedure is
finalized, the check for the presence of AppKeys storage directory
does not return failure if the directory does not exist.

Also, remove duplicate include.

Change-Id: I1ca58e5b4f06acf8ef17e8eb0ac0afa3f7decd70
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/keyring.c