Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify IDNA usage and switch to libidn2 when needed #97

Merged
merged 6 commits into from Oct 30, 2017

Commits on Aug 24, 2017

  1. arping,tracepath: removed unused idna header

    Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
    nmav committed Aug 24, 2017
    Copy the full SHA
    44354bd View commit details
    Browse the repository at this point in the history
  2. traceroute6: use getaddrinfo IDNA conversion

    Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
    nmav committed Aug 24, 2017
    Copy the full SHA
    0749fa1 View commit details
    Browse the repository at this point in the history
  3. ping6: simplified IDNA usage

    The function was converting from locale to UTF-8, performing some
    check and then converting to IDNA form. Convert instead directly
    to IDNA from locale format and perform the check afterwards.
    
    Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
    nmav committed Aug 24, 2017
    Copy the full SHA
    8f7b690 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2017

  1. ping: use libidn2 instead of libidn

    That is, to provide IDNA2008 support instead of IDNA2003.
    See https://fedoraproject.org/wiki/Changes/IDNA2008
    for more rationale.
    
    That uses libidn2 idn2_lookup_ul() which is identical to
    idn2_to_ascii_lz() but is available on all versions of
    libidn2.
    
    Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
    nmav authored and Nikos Mavrogiannopoulos committed Sep 18, 2017
    Copy the full SHA
    665fe4d View commit details
    Browse the repository at this point in the history
  2. .travis.yml: install libidn2

    Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
    nmav authored and Nikos Mavrogiannopoulos committed Sep 18, 2017
    Copy the full SHA
    eb12a7c View commit details
    Browse the repository at this point in the history
  3. .travis.yml: corrected variable values in matrix

    This enables compilation with the functionality intended to
    be tested.
    
    Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
    nmav authored and Nikos Mavrogiannopoulos committed Sep 18, 2017
    Copy the full SHA
    ca49ea3 View commit details
    Browse the repository at this point in the history