wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Run check for IP address in wolfSSL_X509_check_host()

Open rlm2002 opened this issue 1 month ago • 1 comments

Description

If WOLFSSL_IP_ALT_NAME is defined, the value of chk will be checked using CheckIPAddr() before attempting to run CheckHostName() if no IP address is matched.

Change affects SunJSSE tests

  • HttpsURLConnection: DNSIdentities.java, Identities.java, IPAddressDNSIdentities.java, IPAddressIPIdentities.java, IPIdentities.java
  • Misc: ServerIdentityTest.java

Testing

./configure --enable-all && make check

Checklist

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

rlm2002 avatar Dec 08 '25 20:12 rlm2002

Retest this please jenkins. PRB-scan-build-distro-check-v2: was not stable

rlm2002 avatar Dec 08 '25 22:12 rlm2002