Commit 91d5c0a
authored
fix error: implicit declaration of function 'wc_SSH_KDF'
hopefully resolves #781
when compiling with
./configure --enable-static --disable-shared --enable-scp --enable-sftp --enable-shell --enable-cryptonly --with-wolfssl=wolfssl/install/
I got:
$ make -j20
make -j17 all-am
make[1]: warning: -j17 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/hans/projects/wolfssh'
CC src/libwolfssh_la-internal.lo
src/internal.c: In function 'GenerateKey':
src/internal.c:2348:15: error: implicit declaration of function 'wc_SSH_KDF'; did you mean 'wc_HKDF'? [-Werror=implicit-function-declaration]
2348 | ret = wc_SSH_KDF(hashId, keyId, key, keySz,
| ^~~~~~~~~~
| wc_HKDF
src/internal.c:2348:15: error: nested extern declaration of 'wc_SSH_KDF' [-Werror=nested-externs]
cc1: all warnings being treated as errors
make[1]: *** [Makefile:1483: src/libwolfssh_la-internal.lo] Error 1
make[1]: Leaving directory '/home/hans/projects/wolfssh'
make: *** [Makefile:1020: all] Error 21 parent 967d6c5 commit 91d5c0a
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
2330 | 2331 | | |
2331 | 2332 | | |
2332 | 2333 | | |
2333 | | - | |
| 2334 | + | |
| 2335 | + | |
2334 | 2336 | | |
2335 | 2337 | | |
2336 | 2338 | | |
| |||
0 commit comments