This makes a few fixes, and adds the punycode comparison of CN.

I'd appreciate if anyone running LibreSSL would give this a compile.
I'm most concerned about the added const to the X509_NAME types.  I'm
hoping this just emits warnings for LibreSSL, but would like to be sure.

Kevin J. McCarthy (5):
  OpenSSL: use ASN1_STRING_get_length() in version 4.1.0
  OpenSSL: use ASN1_TIME_cmp_time_t()
  OpenSSL: X509_NAME types should be const pointers now.
  OpenSSL: remove calls to X509_NAME_get_text_by_NID().
  Fix OpenSSL check_host() CN comparsion to use punycode.

 mutt_ssl.c | 115 +++++++++++++++++++++++++++++++++++------------------
 1 file changed, 76 insertions(+), 39 deletions(-)

-- 
2.56.1

Reply via email to