1. 02 Dec, 2019 38 commits
  2. 08 Oct, 2019 1 commit
  3. 11 Aug, 2019 1 commit
    • utils: Fix wrong integer of a function parameter. · 0bea6d53
      Julio Faracco authored
      If SSL is enabled, utils will include function `do_sha1_hash()` to
      generate a sha1 encrypted buffer. Last function argument of
      `EVP_DigestFinal_ex()` requires a `unsigned int` but the current
      parameter is an `integer` type.
      
      See error:
      utils.c:350:38: error: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign
            [-Werror,-Wpointer-sign]
              EVP_DigestFinal_ex(mdctx, md_value, md_len);
                                                  ^~~~~~
      /usr/include/openssl/evp.h:549:49: note: passing argument to parameter 's' here
                                        unsigned int *s);
      Signed-off-by: 's avatarJulio Faracco <jcfaracco@gmail.com>