]> git.cryptolib.org Git - arm-crypto-lib.git/commitdiff
some white space editing
authorbg <daniel.otte@rub.de>
Tue, 18 Sep 2012 15:50:15 +0000 (17:50 +0200)
committerbg <daniel.otte@rub.de>
Tue, 18 Sep 2012 15:50:15 +0000 (17:50 +0200)
hfal/hfal-hmac.c
test_src/cli.c

index f27105592998d7b24d3933b26b7334538c9842aa..01a6409356d4284a9cd42b92f7ba0b9525b63fe4 100644 (file)
@@ -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;
        }               
index c9e1b31aabc3a144a4cc512b063c99d6f99bec65..c138a273faf5a8d092ea7fdff48d7d9936d70e2a 100644 (file)
@@ -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;
                        }