some white space editing

This commit is contained in:
bg 2012-09-18 17:50:15 +02:00
parent afb8447a95
commit fba438e4a1
2 changed files with 4 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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;
} }