summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2013-04-30 17:07:23 -0400
committerGreg Hudson <ghudson@mit.edu>2013-05-08 01:11:42 -0400
commit8eab7b9ce9081002beb35c0bc5019e68225779f6 (patch)
tree42c364f7216e6d596f0ec48ec032d88f572336c2 /src/tests
parentc06efb31b95bffb3bdcdfef4c87f51c33da76950 (diff)
downloadkrb5-8eab7b9ce9081002beb35c0bc5019e68225779f6.tar.gz
krb5-8eab7b9ce9081002beb35c0bc5019e68225779f6.tar.xz
krb5-8eab7b9ce9081002beb35c0bc5019e68225779f6.zip
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.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/t_authpkinit.py2
1 files changed, 1 insertions, 1 deletions
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()