Update HAP.cpp
This commit is contained in:
parent
8b1ea2a70e
commit
b1e8f9e8f2
|
|
@ -21,7 +21,7 @@ void HAPClient::init(){
|
||||||
} verifyData;
|
} verifyData;
|
||||||
|
|
||||||
if(!nvs_get_blob(srpNVS,"VERIFYDATA",NULL,&len)){ // if found verification code data in NVS
|
if(!nvs_get_blob(srpNVS,"VERIFYDATA",NULL,&len)){ // if found verification code data in NVS
|
||||||
nvs_get_blob(srpNVS,"VERIFYDATA",&verifyData,&len); // retrieve data
|
nvs_get_blob(srpNVS,"VERIFYDATA",&verifyData,&len); // retrieve data
|
||||||
srp.loadVerifyCode(verifyData.verifyCode,verifyData.salt); // load verification code and salt into SRP structure
|
srp.loadVerifyCode(verifyData.verifyCode,verifyData.salt); // load verification code and salt into SRP structure
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue