[Swan-commit] Changes to ref refs/heads/master

Andrew Cagney cagney at vault.libreswan.fi
Fri Oct 4 19:49:53 UTC 2019


New commits:
commit f8fd9daaf72d21161ec6082a3d3b00947027aa95
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Sep 30 13:08:00 2019 -0400

    dncheck: test x509 / rfc4514 code, fix bugs
    
    in jam_raw_dn(nss_compatible):
    
    - if the OID is unknown, emit N.M.O.P and not 0xXXX
    - if the OID is unknown, dump the value's BER as #HEX
    - escape '"', '+', ',', ';', '<', '>', or '\' using \CHAR
    - escape non-printable ascii using \XX
    - escape leading ' ' using \CHAR (same for '#' but ...)
    - work around NSS bug by dumping value with leading # as #BER
    - work around NSS bug by escaping '#' and '='
    
    which means the text should always be ascii; also hack up atodn() so
    that it doesn't toally barf on the above; could do with tests with
    bad input.
    
    Also and note about ,, and // hacks to atodn() - came in via
    RHBZ#868987; see 9a2ce7936885775ba0f134f200469f34034429ca and
    b918a5176a09b558af50518f19f39e69e9b54c19.



More information about the Swan-commit mailing list