svn commit: lorikeet r538 - in trunk/heimdal/lib/krb5: .

abartlet at samba.org abartlet at samba.org
Sun May 7 09:10:53 GMT 2006


Author: abartlet
Date: 2006-05-07 09:10:52 +0000 (Sun, 07 May 2006)
New Revision: 538

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=538

Log:
I hit this (probably due to a programming error), but make this easier for
the next person.

Andrew Bartlett

Modified:
   trunk/heimdal/lib/krb5/crypto.c


Changeset:
Modified: trunk/heimdal/lib/krb5/crypto.c
===================================================================
--- trunk/heimdal/lib/krb5/crypto.c	2006-05-07 03:01:03 UTC (rev 537)
+++ trunk/heimdal/lib/krb5/crypto.c	2006-05-07 09:10:52 UTC (rev 538)
@@ -2042,7 +2042,8 @@
     }
     keyed_checksum = (ct->flags & F_KEYED) != 0;
     if(keyed_checksum && crypto == NULL) {
-	krb5_clear_error_string (context);
+	krb5_set_error_string (context, "checksum type %s is keyed, and requires a crypto context",
+			       ct->name);
 	return KRB5_PROG_SUMTYPE_NOSUPP; /* XXX */
     }
     if(keyed_checksum)



More information about the samba-cvs mailing list