Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Created March 23, 2018 15:00
Show Gist options
  • Save sonOfRa/f95f9a1dee56740e106b84e108679e59 to your computer and use it in GitHub Desktop.
Save sonOfRa/f95f9a1dee56740e106b84e108679e59 to your computer and use it in GitHub Desktop.
/* strip base64 from the string */
decoded = apr_palloc(r->pool, apr_base64_decode_len(in));
decodedlen = apr_base64_decode(decoded, in);
decoded[decodedlen] = '\0';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment