X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fopenssl%2Fprf.c;h=a402b8ff8498b7e405fcca2858a06aedfa2034ca;hb=28be4baae016a5a771d0d9ec6e97ef38a4fc9e46;hp=ddad522f71814db7045efddf32808fc6f749cb0b;hpb=cfc9fee931c70554353ce6c4acc3407baac08745;p=tinc diff --git a/src/openssl/prf.c b/src/openssl/prf.c index ddad522f..a402b8ff 100644 --- a/src/openssl/prf.c +++ b/src/openssl/prf.c @@ -29,7 +29,7 @@ We use SHA512 instead of MD5 and SHA1. */ -static bool prf_xor(int nid, const uint8_t *secret, size_t secretlen, uint8_t *seed, size_t seedlen, uint8_t *out, size_t outlen) { +static bool prf_xor(nid_t nid, const uint8_t *secret, size_t secretlen, uint8_t *seed, size_t seedlen, uint8_t *out, size_t outlen) { digest_t digest = {0}; if(!digest_open_by_nid(&digest, nid, DIGEST_ALGO_SIZE)) {