wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Fix parsing RPK with no parameters.

Open kareem-wolfssl opened this issue 7 months ago • 0 comments

Description

Fixes zd#19911

Fix parsing RPK with no parameters. As per RFC7250 section 3, the algorithm parameters are optional.

Fix building unit tests with --enable-rpk --disable-rsa.

Testing

Customer provided test key.

The following configure line was used for building unit tests:

./configure --enable-kyber --enable-mlkem --enable-dilithium --enable-dtls --enable-dtls13 --enable-dtls-frag-ch --enable-debug --enable-debug-trace-errcodes \
CFLAGS="-DHAVE_RPK -DWOLFSSL_DER_LOAD -DWOLFSSL_LOGGINGENABLED_DEFAULT=1" --disable-rsa

Checklist

  • [ ] added tests
  • [ ] updated/added doxygen
  • [ ] updated appropriate READMEs
  • [ ] Updated manual and documentation

kareem-wolfssl avatar May 30 '25 18:05 kareem-wolfssl