]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix checking unencrypted PKCS12: twice
authorNalin Dahyabhai <nalin@redhat.com>
Tue, 30 Apr 2013 21:07:23 +0000 (17:07 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 8 May 2013 05:11:42 +0000 (01:11 -0400)
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

index 41c10f580e6fc57a8e26afb32426e29155d529f7..76cea393fe4234984ffd81ef3abf78f8a3f799a7 100644 (file)
@@ -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()