Skip Menu |
 

To: rt-krb5@krbdev.mit.edu
Subject: annoying error message from krb5_mk_priv()
Date: Tue, 27 Aug 2002 19:22:46 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
If one calls krb5_mk_priv() without having previously populated
your auth_context with your local address via krb5_auth_con_genaddrs(),
you get the error message "ASN.1 structure is missing a required field".
While strictly true, this isn't very useful for determining what the
problem it; the error message should better indicate the problem.

Garry
From: ghudson@mit.edu
Subject: SVN Commit

mk_safe and mk_priv require the local address to be set in the auth
context; rd_safe and rd_priv require the remote address to be set.
Create error codes for both kinds of missing addresses and stop trying
futilely to handle the cases where they are not set.


https://github.com/krb5/krb5/commit/40e425b53b10f753fb62caff577d2679cdd6325b
Commit By: ghudson
Revision: 22184
Changed Files:
U trunk/src/lib/krb5/error_tables/krb5_err.et
U trunk/src/lib/krb5/krb/mk_priv.c
U trunk/src/lib/krb5/krb/mk_safe.c
U trunk/src/lib/krb5/krb/rd_priv.c
U trunk/src/lib/krb5/krb/rd_safe.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r22184 from trunk

------------------------------------------------------------------------
r22184 | ghudson | 2009-04-08 11:58:24 -0400 (Wed, 08 Apr 2009) | 7 lines
Changed paths:
M /trunk/src/lib/krb5/error_tables/krb5_err.et
M /trunk/src/lib/krb5/krb/mk_priv.c
M /trunk/src/lib/krb5/krb/mk_safe.c
M /trunk/src/lib/krb5/krb/rd_priv.c
M /trunk/src/lib/krb5/krb/rd_safe.c

ticket: 1165

mk_safe and mk_priv require the local address to be set in the auth
context; rd_safe and rd_priv require the remote address to be set.
Create error codes for both kinds of missing addresses and stop trying
futilely to handle the cases where they are not set.

https://github.com/krb5/krb5/commit/8f2bf12e45c7bd2638967b96c25df61b0f2ac16b
Commit By: tlyu
Revision: 22254
Changed Files:
U branches/krb5-1-7/src/lib/krb5/error_tables/krb5_err.et
U branches/krb5-1-7/src/lib/krb5/krb/mk_priv.c
U branches/krb5-1-7/src/lib/krb5/krb/mk_safe.c
U branches/krb5-1-7/src/lib/krb5/krb/rd_priv.c
U branches/krb5-1-7/src/lib/krb5/krb/rd_safe.c