Skip to content

crypt struct char* #2

@uragan1987

Description

@uragan1987

works fine with

char* test1= skCrypt("test1"); printf("%s", test1); //FINE

but inside a struct , string isnt decrypting back

typedef struct _testS testS;
struct _testS
{
    char* string1;
    char* string2;
};

testS MyTestStkt;

MyTestStkt.string1 = skCrypt("test2");

printf("%s", MyTestStkt.string1);  //BAAADD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions