Enforce more restraints, and allow "octets[24] encrypt=1"
authorAlan T. DeKok <aland@freeradius.org>
Mon, 14 Sep 2015 12:47:56 +0000 (08:47 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 14 Sep 2015 12:47:56 +0000 (08:47 -0400)
commit5d9c08b21ecf3ee0591b98958850728c765d68c4
tree35ba5cf8cbbda93ecc4939d33fb9fcb481b0e40b
parent6a624caa2530436a124972ad54e7b12b8ef94f91
Enforce more restraints, and allow "octets[24] encrypt=1"

dict_addattr() can be called from places other than process_attribute()
so we move some of the checks to process_attribute()

This lets us do more checks on the "length" flag.

And to allow "octets[24] encrypt=1" for MS-CHAP-MPPE-Key.
src/lib/dict.c