Remove commented code for BINARY Secrets
This commit is contained in:
@@ -30,8 +30,8 @@ you may find current contact information at www.novell.com.
|
||||
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <micasa_mgmd.h>
|
||||
#include <sscs_utf8.h>
|
||||
#include <micasa_mgmd.h>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -81,6 +81,7 @@ void AddSecret()
|
||||
sscs_Utf8Strcpy(credential.password, inputPassword);
|
||||
credential.pwordLen = sscs_Utf8Strlen(inputPassword) + 1;
|
||||
|
||||
printf("SAMPLE: Calling miCASASetCredential\r\n");
|
||||
// sets the credential for this app
|
||||
rcode = miCASASetCredential(
|
||||
0,
|
||||
@@ -104,6 +105,7 @@ void DisplaySecret()
|
||||
|
||||
int rcode = 0;
|
||||
char inputID[20];
|
||||
int32_t credtype = SSCS_CRED_TYPE_BASIC_F;
|
||||
|
||||
SSCS_BASIC_CREDENTIAL credential = {0};
|
||||
SSCS_SECRET_ID_T appSecretId = {0};
|
||||
@@ -127,7 +129,7 @@ void DisplaySecret()
|
||||
0,
|
||||
&appSecretId,
|
||||
NULL,
|
||||
SSCS_CRED_TYPE_BASIC_F,
|
||||
&credtype, //SSCS_CRED_TYPE_BASIC_F,
|
||||
&credential,
|
||||
NULL
|
||||
);
|
||||
@@ -193,6 +195,7 @@ void RunTest()
|
||||
{
|
||||
SSCS_BASIC_CREDENTIAL credential = {0};
|
||||
SSCS_SECRET_ID_T appSecretId = {0};
|
||||
int32_t credtype = SSCS_CRED_TYPE_BASIC_F;
|
||||
|
||||
int rcode = 0;
|
||||
int iFlags = 0;
|
||||
@@ -286,7 +289,7 @@ void RunTest()
|
||||
iFlags,
|
||||
&appSecretId,
|
||||
NULL,
|
||||
SSCS_CRED_TYPE_BASIC_F,
|
||||
&credtype, //SSCS_CRED_TYPE_BASIC_F,
|
||||
&credential,
|
||||
NULL
|
||||
);
|
||||
@@ -328,7 +331,7 @@ void RunTest()
|
||||
iFlags,
|
||||
&appSecretId,
|
||||
NULL,
|
||||
SSCS_CRED_TYPE_BASIC_F,
|
||||
&credtype, //SSCS_CRED_TYPE_BASIC_F,
|
||||
&credential,
|
||||
NULL
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user