wolfSSL / wolfTPM

wolfTPM is a highly portable TPM 2.0 library, designed for embedded use.
https://www.wolfssl.com
GNU General Public License v2.0
230 stars 55 forks source link

Fixes for using endorsement hierarchy #320

Closed dgarske closed 6 months ago

dgarske commented 6 months ago

Fixes https://github.com/wolfSSL/wolfTPM/issues/282

embhorn commented 6 months ago

cmake build error:

[ 21%] Linking C executable bin/activate_credential
/usr/bin/ld: libwolftpm.so: undefined reference to `wolfTPM2_CryptoDevCb'
/usr/bin/ld: libwolftpm.so: undefined reference to `wolfTPM2_ClearCryptoDevCb'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/activate_credential.dir/build.make:99: bin/activate_credential] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:192: CMakeFiles/activate_credential.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2