Committer: Tim Just <tim.just@xxxxxxxxxxxxxx> Date: Sat Mar 13 12:03:34 2010 +0100 Revision: 3673 Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: tiny Log: Fixed midauth-enabled build. Modified: M hipd/output.c M lib/core/solve.c === modified file 'hipd/output.c' --- hipd/output.c 2010-03-13 10:01:16 +0000 +++ hipd/output.c 2010-03-13 11:03:34 +0000 @@ -28,6 +28,7 @@ #endif #include "lib/core/hip_udp.h" +#include "lib/core/solve.h" #include "lib/tool/checksum.h" enum number_dh_keys_t { ONE, TWO }; === modified file 'lib/core/solve.c' --- lib/core/solve.c 2010-03-09 08:57:46 +0000 +++ lib/core/solve.c 2010-03-13 11:03:34 +0000 @@ -159,9 +159,9 @@ tmp.opaque[0] = tmp.opaque[1] = 0; tmp.I = *digist & 0x40; //truncate I to 8 byte length - HIP_IFEL((solution = entry->hadb_misc_func->hip_solve_puzzle( - &tmp, in, HIP_SOLVE_PUZZLE)) == 0, - -EINVAL, "Solving of puzzle failed\n"); + HIP_IFEL((solution = hip_solve_puzzle(&tmp, in, HIP_SOLVE_PUZZLE)) == 0, + -EINVAL, + "Solving of puzzle failed\n"); HIP_IFEL(hip_build_param_challenge_response(out, pz, ntoh64(solution)) < 0, -1,