[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Sat Nov 3 14:40:49 UTC 2018
New commits:
commit 542f32f1f1c9a8dfce850271eeea445ac3653e75
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Sat Nov 3 10:31:44 2018 -0400
lib/libswan/x509dn.c dn_parse()
For each ',' or '/' in an ASN.1 string, double it in the ASCII-fied version.
This is the inverse of what is done in the ASCII to ASN.1 code.
Our code never did this before. Surely a bug.
commit 62a04f2022e4b450d87b0f9eacb1ea7840c2701f
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Sat Nov 3 10:28:49 2018 -0400
lib/libswan/asn1.c: eliminate loop from is_printablestring()
A bounded version of strspn(3) would be the best for this routine but
none exists so a bit of a dance must be done with the last byte of the
chunk.
More information about the Swan-commit
mailing list