11795 ksslf: cast between incompatible function types

Review Request #2381 — Created Oct. 9, 2019 and submitted — Latest diff uploaded

tsoome
illumos-gate
11795
2e48c3b...
general
../../common/inet/kssl/ksslrec.c:88:33: error: cast between incompatible function types from 'void (*)(SHA1_CTX *, const void *, size_t)' {aka 'void (*)(struct <anonymous> *, const void *, long unsigned int)'} to 'void (*)(void *, uchar_t *, uint32_t)' {aka 'void (*)(void *, unsigned char *, unsigned int)'} [-Werror=cast-function-type]
      (hashinit_func_t)SHA1Init, (hashupdate_func_t)SHA1Update,
                                 ^
cc1: all warnings being treated as errors


Loading...