From 57dc24093015d292189ef23313ef8ff2a81431e4 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 22 Dec 2014 18:37:36 -0500 Subject: [PATCH] Fix OTP tests with pyrad 2.x Declare User-Password as having type "octets" instead of "string" or pyrad 2.x will throw a decoding error when retrieving it. ticket: 8053 (new) target_version: 1.13.1 tags: pullup --- src/tests/t_otp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py index e114f03b9d..c2ec48d2b6 100644 --- a/src/tests/t_otp.py +++ b/src/tests/t_otp.py @@ -46,7 +46,7 @@ except ImportError: # we'll just include them here. radius_attributes = ''' ATTRIBUTE User-Name 1 string -ATTRIBUTE User-Password 2 string +ATTRIBUTE User-Password 2 octets ATTRIBUTE NAS-Identifier 32 string ''' -- 2.47.2