diff options
author | Greg Hudson <ghudson@mit.edu> | 2019-10-21 13:56:55 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2019-12-09 17:02:52 -0500 |
commit | 0d35a5fe8a42b360d70ed84c15edbf8b7f7995f1 (patch) | |
tree | 7ac8fdf743ed8c3acbceb3dcff23db0e7855ebef | |
parent | af11dd8b8755ed31f3d24d48ae50a637678ca36c (diff) | |
download | krb5-0d35a5fe8a42b360d70ed84c15edbf8b7f7995f1.zip krb5-0d35a5fe8a42b360d70ed84c15edbf8b7f7995f1.tar.gz krb5-0d35a5fe8a42b360d70ed84c15edbf8b7f7995f1.tar.bz2 |
Fix t_otp.py for pyrad 2.2
pyrad 2.2 throws a KeyError exception in DecodePacket if any
attributes from the packet are not defined in the dictionary. Add a
dictionary entry for Service-Type so this doesn't happen.
(cherry picked from commit e60d01eb1686e112fba4743d4216ba61fec2bdc0)
ticket: 8841
version_fixed: 1.17.1
-rwxr-xr-x | src/tests/t_otp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py index 7406541..cba871a 100755 --- a/src/tests/t_otp.py +++ b/src/tests/t_otp.py @@ -47,6 +47,7 @@ except ImportError: radius_attributes = ''' ATTRIBUTE User-Name 1 string ATTRIBUTE User-Password 2 octets +ATTRIBUTE Service-Type 6 integer ATTRIBUTE NAS-Identifier 32 string ''' |