Commit fba438e4 authored by bg's avatar bg

some white space editing

parent afb8447a
......@@ -38,13 +38,13 @@ uint8_t hfal_hmac_init(const hfdesc_t* hash_descriptor,
ctx->desc = hash_descriptor;
ctx->ctx = malloc(hash_descriptor->ctxsize_B);
ctx->finctx = malloc(hash_descriptor->ctxsize_B);
if(ctx->ctx==NULL && ctx->finctx==NULL)
if(ctx->ctx == NULL && ctx->finctx == NULL)
return 3;
if(ctx->finctx==NULL){
if(ctx->finctx == NULL){
free(ctx->ctx);
return 2;
}
if(ctx->ctx==NULL){
if(ctx->ctx == NULL){
free(ctx->finctx);
return 1;
}
......
......@@ -369,7 +369,7 @@ int8_t cmd_interface(const cmdlist_entry_t* cmd_desc){
c = cli_rx();
switch (c){
case CLI_ENTER:
if((exit_code=search_and_call(cli_buffer, maxcmdlength, cmd_desc))<=0){
if((exit_code = search_and_call(cli_buffer, maxcmdlength, cmd_desc))<=0){
free(cli_buffer);
return exit_code;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment