Continue atoi() replacement with strtol() wrapper, closes issue #21
authorMichael Rash <mbr@cipherdyne.org>
Wed, 20 Feb 2013 04:11:01 +0000 (23:11 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Wed, 20 Feb 2013 04:11:01 +0000 (23:11 -0500)
commita413c6cf94afd1fcd0000f03f75ecd2a904220a9
treed00760e213661da188f778c75fcbc87920e7153a
parent6a475bbe5407b076a3c1425009efbeb93427618e
Continue atoi() replacement with strtol() wrapper, closes issue #21

This commit completes the conversion to the strtol() wrapper function in order
to remove all atoi() calls.  In addition, variable max values are enforced
using more broadly defined RCHK_* values.
15 files changed:
client/config_init.c
client/fwknop.c
client/http_resolve_host.c
client/spa_comm.c
lib/fko_decode.c
lib/fko_util.c
server/access.c
server/config_init.c
server/config_init.h
server/fw_util_ipfw.c
server/fw_util_iptables.c
server/fwknopd.c
server/fwknopd_common.h
server/incoming_spa.c
server/pcap_capture.c