Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
9d2be0b36c
  1. 4
      iguana/main.c
  2. 12
      iguana/pnacl/Release/iguana.nmf

4
iguana/main.c

@ -1452,12 +1452,12 @@ FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase)
safecopy(myinfo->permanentfile,permanentfile,sizeof(myinfo->permanentfile));
if ( (decryptstr= SuperNET_decryptjson(IGUANA_CALLARGS,password,myinfo->permanentfile)) != 0 )
{
printf("decryptstr.(%s)\n",decryptstr);
//printf("decryptstr.(%s)\n",decryptstr);
if ( (argjson= cJSON_Parse(decryptstr)) != 0 )
{
if ( jobj(argjson,"error") == 0 )
{
printf("decrypted.(%s) exp.%u pass.(%s)\n",decryptstr,myinfo->expiration,password);
//printf("decrypted.(%s) exp.%u pass.(%s)\n",decryptstr,myinfo->expiration,password);
if ( myinfo->decryptstr != 0 )
free(myinfo->decryptstr);
myinfo->decryptstr = decryptstr;

12
iguana/pnacl/Release/iguana.nmf

@ -0,0 +1,12 @@
{
"program": {
"portable": {
"pnacl-translate": {
"url": "iguana.pexe"
},
"pnacl-debug": {
"url": "iguana_unstripped.bc"
}
}
}
}
Loading…
Cancel
Save