]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add unit tests for k5_parse_host_string
authorSarah Day <sarahday@mit.edu>
Tue, 19 Jan 2016 14:50:33 +0000 (09:50 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 10 Aug 2016 15:58:52 +0000 (11:58 -0400)
commitef1e428b19aca8a692d2ca77750a5c38b3787eae
treede81e30a19993e9535b78b74ca82aea439d8157e
parent0db097ba8b605ea7a6e0364ad786da6528868179
Add unit tests for k5_parse_host_string

Make is_string_numeric() visible outside of parse_host_string.c as
k5_is_string_numeric() so it can be tested.  Make
k5_parse_host_string() return an error when address begins with ':',
for consistency with APR's apr_parse_addr_port().

[ghudson@mit.edu: squashed three commits; added t_parse_host_string to
.gitignore and clean rule; clarified commit message]
.gitignore
src/include/k5-int.h
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/parse_host_string.c
src/lib/krb5/krb/t_parse_host_string.c [new file with mode: 0644]
src/lib/krb5/libkrb5.exports