some white space editing
This commit is contained in:
parent
afb8447a95
commit
fba438e4a1
|
@ -38,13 +38,13 @@ uint8_t hfal_hmac_init(const hfdesc_t* hash_descriptor,
|
||||||
ctx->desc = hash_descriptor;
|
ctx->desc = hash_descriptor;
|
||||||
ctx->ctx = malloc(hash_descriptor->ctxsize_B);
|
ctx->ctx = malloc(hash_descriptor->ctxsize_B);
|
||||||
ctx->finctx = 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;
|
return 3;
|
||||||
if(ctx->finctx==NULL){
|
if(ctx->finctx == NULL){
|
||||||
free(ctx->ctx);
|
free(ctx->ctx);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
if(ctx->ctx==NULL){
|
if(ctx->ctx == NULL){
|
||||||
free(ctx->finctx);
|
free(ctx->finctx);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -369,7 +369,7 @@ int8_t cmd_interface(const cmdlist_entry_t* cmd_desc){
|
||||||
c = cli_rx();
|
c = cli_rx();
|
||||||
switch (c){
|
switch (c){
|
||||||
case CLI_ENTER:
|
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);
|
free(cli_buffer);
|
||||||
return exit_code;
|
return exit_code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue