summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/pap/pbkfd2_sha2_512.unlang
blob: 95c1f3eb48f9e893259d6b387516cb74fc3694cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if ("${feature.tls}" == no) {
	test_pass
	return
}

if (&User-Name == 'pbkdf2_sha2_512') {
	update control {
		&PBKDF2-Password := 'HMACSHA2+512:AAAnEA:TG8Mb94NEmfPLaePwi5CFA==:SYSFeRf9jr4Uo5DB4NvNUEuc1gmEiLjTac5J4WgyKa7mO58KHKWop9xWmcFeuLtUN/iexLTNSgcubOugAyZcog=='
	}
	pap.authorize
	pap.authenticate
	if (!ok) {
		test_fail
	} else {
		test_pass
	}
}