mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
reformat code
This commit is contained in:
parent
96be14940c
commit
5d52c806e6
1 changed files with 3 additions and 4 deletions
|
@ -80,8 +80,7 @@ static void client_read_cb(struct ustream *s, int bytes) {
|
|||
|
||||
//printf("RECEIVED String: %s\n", str);
|
||||
|
||||
if(network_config.use_symm_enc)
|
||||
{
|
||||
if (network_config.use_symm_enc) {
|
||||
char *base64_dec_str = malloc(B64_DECODE_LEN(strlen(str)));
|
||||
int base64_dec_length = b64_decode(str, base64_dec_str, B64_DECODE_LEN(strlen(str)));
|
||||
char *dec = gcrypt_decrypt_msg(base64_dec_str, base64_dec_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue