eina: Updated example program to demonstrate base64url encode.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, jpeg

Reviewed By: jpeg

Differential Revision: https://phab.enlightenment.org/D3483
This commit is contained in:
Srivardhan Hebbar 2015-12-31 13:34:19 +09:00 committed by Jean-Philippe Andre
parent bea1243e98
commit f4a4fed258
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
free(b64);
free(decoded);
b64 = eina_str_base64url_encode((unsigned char *)"www.enlightenment.org", 21);
printf("%s\n", b64);
free(b64);
eina_shutdown();
return 0;