Hello. I am new to WolfSSL. I am currently writing a c++ client using 5.7 on redhat linux. I have built/installed the rpm enabling pkcs12, all dtls variants, etc... I have to use DTLS v1.0 and use a PFX certificate. I have built/installed the rpm enabling pkcs12, all dtls variants, etc...
Looking at the github examples, specifically client-tls-pkcs12.c and client-dtls.c, I'm having issues with some of the functions. Specifically, wolfSSL_CTX_use_PrivateKey() and wolfSSL_CTX_use_certificate(). While I can view these functions in the header, I still get undefined references when compiling. I realize, in the example, this was indicated as optional if mutual auth is needed. I'm currently unsure if that's the case, but I believe it is.
Is the example out of date or am I missing something?
edit: I did a little more digging and added --enable-psdbased --enable-des3 --enable-keygen --enable-certgen --enable-opensslextra and --enable-arc4. This seems to have gotten me around the undefined reference issue. However, i'm still SUPER unclear if this is the correct way to go about it or if there's a better/cleaner route. Thanks!