krb5 commit: Fix up some strings in recent t_pac.c tests

Greg Hudson ghudson at mit.edu
Wed Oct 17 16:13:12 EDT 2018


https://github.com/krb5/krb5/commit/2e02c0cfba0bd21da071412126a0d9a04c4cc651
commit 2e02c0cfba0bd21da071412126a0d9a04c4cc651
Author: Isaac Boukris <iboukris at gmail.com>
Date:   Sat Oct 13 16:36:55 2018 +0300

    Fix up some strings in recent t_pac.c tests
    
    ticket: 8749

 src/lib/krb5/krb/t_pac.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/krb5/krb/t_pac.c b/src/lib/krb5/krb/t_pac.c
index 56e7b03..7b756a2 100644
--- a/src/lib/krb5/krb/t_pac.c
+++ b/src/lib/krb5/krb/t_pac.c
@@ -511,12 +511,12 @@ check_pac(krb5_context context, int index, const unsigned char *pdata,
     ret = krb5_pac_verify_ext(context, pac, auth_time, p, server_key, kdc_key,
                               with_realm);
     if (ret)
-        err(context, ret, "[pac: %d] krb5_pac_verify_ex", index);
+        err(context, ret, "[pac: %d] krb5_pac_verify_ext", index);
 
     ret = krb5_pac_sign_ext(context, pac, auth_time, p, server_key,
                             kdc_sign_key, with_realm, &data);
     if (ret)
-        err(context, ret, "[pac: %d] krb5_pac_sign_ex", index);
+        err(context, ret, "[pac: %d] krb5_pac_sign_ext", index);
 
     krb5_pac_free(context, pac);
 
@@ -528,7 +528,7 @@ check_pac(krb5_context context, int index, const unsigned char *pdata,
     ret = krb5_pac_verify_ext(context, pac, auth_time, p, server_key, kdc_key,
                               with_realm);
     if (ret)
-        err(context, ret, "[pac: %d] krb5_pac_verify_ex 2", index);
+        err(context, ret, "[pac: %d] krb5_pac_verify_ext 2", index);
 
     /* make a copy and try to reproduce it */
     {
@@ -574,7 +574,7 @@ check_pac(krb5_context context, int index, const unsigned char *pdata,
         ret = krb5_pac_sign_ext(context, pac2, auth_time, p, server_key,
                                 kdc_sign_key, with_realm, &data);
         if (ret)
-            err(context, ret, "[pac: %d] krb5_pac_sign_ex 4", index);
+            err(context, ret, "[pac: %d] krb5_pac_sign_ext 4", index);
 
         krb5_pac_free(context, pac2);
 
@@ -585,7 +585,7 @@ check_pac(krb5_context context, int index, const unsigned char *pdata,
         ret = krb5_pac_verify_ext(context, pac2, auth_time, p, server_key,
                                   kdc_key, with_realm);
         if (ret)
-            err(context, ret, "[pac: %d] krb5_pac_verify_ex 4", index);
+            err(context, ret, "[pac: %d] krb5_pac_verify_ext 4", index);
 
         krb5_free_data_contents(context, &data);
 


More information about the cvs-krb5 mailing list