From 8eab7b9ce9081002beb35c0bc5019e68225779f6 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 30 Apr 2013 17:07:23 -0400 Subject: [PATCH] Fix checking unencrypted PKCS12: twice The test, as submitted, included a copy/paste error which caused it to test PKINIT using unencrypted PKCS12 bundles twice, and to not test a DIR: location containing unencrypted PEM-formatted keys at all. --- src/tests/t_authpkinit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/t_authpkinit.py b/src/tests/t_authpkinit.py index 41c10f580e..76cea393fe 100644 --- a/src/tests/t_authpkinit.py +++ b/src/tests/t_authpkinit.py @@ -79,7 +79,7 @@ realm = K5Realm(krb5_conf=pkinit_krb5_conf, kdc_conf=pkinit_kdc_conf, get_creds=False) setup_dir_identities(realm) realm.kinit('user@%s' % realm.realm, - flags=['-X', 'X509_user_identity=%s' % p12_identity]) + flags=['-X', 'X509_user_identity=%s' % dir_identity]) realm.klist('user@%s' % realm.realm) realm.run([kvno, realm.host_princ]) realm.stop() -- 2.47.2