Hello, Will (whjochim),
My name is Anthony and I am a member of the wolfSSL team. I have been able to reproduce what you are seeing. Thank you so much for all the details you provided!!
I had to build a separate instance of wolfSSL for the server side like this:
./configure --enable-dtls --enable-dtls13
make all
./examples/server/server -u -v 3 -c certs/server-cert.pem -k certs/server-key.pem
That's when I saw
err = -173, Bad function argument
Let me run this with a debugger and get some better information. Unfortunately, I can't use your stack trace as the line numbers don't match what I have. I'm not sure what version of wolfSSL you are using. Please stay tuned.
In the meantime, can you please let me know some information about yourself and your project? We love know about the people that use our code and what they are doing with it. Some example questions for you:
- where are you geographically located?
- what are your goals?
- is your project personal, academic or professional?
- is there an institution associated with this work?
If you do not want to disclose this information on a public forum, feel free to send it to me at anthony@wolfssl.com
Warm regards, Anthony