krb5 commit: Fix checking unencrypted PKCS12: twice

Greg Hudson ghudson at MIT.EDU
Wed May 8 01:17:40 EDT 2013


https://github.com/krb5/krb5/commit/8eab7b9ce9081002beb35c0bc5019e68225779f6
commit 8eab7b9ce9081002beb35c0bc5019e68225779f6
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Tue Apr 30 17:07:23 2013 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tests/t_authpkinit.py b/src/tests/t_authpkinit.py
index 41c10f5..76cea39 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()


More information about the cvs-krb5 mailing list