Skip Menu |
 

Subject: use macros for config parameter strings
Use C preprocessor macros for configuration parameter strings, to avoid problems from typos,
etc.

Changes are in

r21871, r21872, r21873, r21879, r21880
From: tlyu@mit.edu
Subject: SVN Commit
Download (untitled) / with headers
text/plain 3.8KiB

pull up r21871, r21872, r21873, r21879, r21880 from trunk

------------------------------------------------------------------------
r21880 | ghudson | 2009-02-04 14:15:13 -0500 (Wed, 04 Feb 2009) | 3 lines
Changed paths:
M /trunk/src/plugins/preauth/pkinit/pkinit_clnt.c
M /trunk/src/plugins/preauth/pkinit/pkinit_matching.c
M /trunk/src/plugins/preauth/pkinit/pkinit_srv.c

Include k5-int.h in several pkinit source files, in order to define
the KRB5_CONFIG symbols now used by those files.

------------------------------------------------------------------------
r21879 | tsitkova | 2009-02-04 12:08:44 -0500 (Wed, 04 Feb 2009) | 2 lines
Changed paths:
M /trunk/src/include/k5-int.h
M /trunk/src/kdc/do_tgs_req.c
M /trunk/src/kdc/main.c
M /trunk/src/lib/kadm5/alt_prof.c
M /trunk/src/lib/kdb/kdb5.c
M /trunk/src/lib/krb5/krb/conv_princ.c
M /trunk/src/lib/krb5/krb/get_in_tkt.c
M /trunk/src/lib/krb5/krb/init_ctx.c
M /trunk/src/lib/krb5/krb/vfy_increds.c
M /trunk/src/lib/krb5/os/an_to_ln.c
M /trunk/src/lib/krb5/os/def_realm.c
M /trunk/src/lib/krb5/os/get_krbhst.c
M /trunk/src/lib/krb5/os/hst_realm.c
M /trunk/src/lib/krb5/os/ktdefname.c
M /trunk/src/lib/krb5/os/localaddr.c
M /trunk/src/lib/krb5/os/locate_kdc.c
M /trunk/src/lib/krb5/os/realm_dom.c
M /trunk/src/lib/krb5/os/sendto_kdc.c
M /trunk/src/lib/krb5/os/sn2princ.c
M /trunk/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
M /trunk/src/plugins/preauth/pkinit/pkinit_clnt.c
M /trunk/src/plugins/preauth/pkinit/pkinit_matching.c
M /trunk/src/plugins/preauth/pkinit/pkinit_profile.c
M /trunk/src/plugins/preauth/pkinit/pkinit_srv.c

Use macros for config parameters.

------------------------------------------------------------------------
r21873 | ghudson | 2009-02-02 16:55:13 -0500 (Mon, 02 Feb 2009) | 3 lines
Changed paths:
M /trunk/src/include/k5-int.h

Fix a whitespace error introduced when fixing a typo in the defines
added to k5-int.h.

------------------------------------------------------------------------
r21872 | ghudson | 2009-02-02 16:53:16 -0500 (Mon, 02 Feb 2009) | 2 lines
Changed paths:
M /trunk/src/include/k5-int.h

Fix a typo in the defines added to k5-int.h.

------------------------------------------------------------------------
r21871 | tsitkova | 2009-02-02 16:34:19 -0500 (Mon, 02 Feb 2009) | 2 lines
Changed paths:
M /trunk/src/include/k5-int.h

Introduces macros for config parameters.

------------------------------------------------------------------------

https://github.com/krb5/krb5/commit/33cacedb5031233aca262d12b227a7321c6068e6
Commit By: tlyu
Revision: 22013
Changed Files:
U branches/krb5-1-7/src/include/k5-int.h
U branches/krb5-1-7/src/kdc/do_tgs_req.c
U branches/krb5-1-7/src/kdc/main.c
U branches/krb5-1-7/src/lib/kadm5/alt_prof.c
U branches/krb5-1-7/src/lib/kdb/kdb5.c
U branches/krb5-1-7/src/lib/krb5/krb/conv_princ.c
U branches/krb5-1-7/src/lib/krb5/krb/get_in_tkt.c
U branches/krb5-1-7/src/lib/krb5/krb/init_ctx.c
U branches/krb5-1-7/src/lib/krb5/krb/vfy_increds.c
U branches/krb5-1-7/src/lib/krb5/os/an_to_ln.c
U branches/krb5-1-7/src/lib/krb5/os/def_realm.c
U branches/krb5-1-7/src/lib/krb5/os/get_krbhst.c
U branches/krb5-1-7/src/lib/krb5/os/hst_realm.c
U branches/krb5-1-7/src/lib/krb5/os/ktdefname.c
U branches/krb5-1-7/src/lib/krb5/os/localaddr.c
U branches/krb5-1-7/src/lib/krb5/os/locate_kdc.c
U branches/krb5-1-7/src/lib/krb5/os/realm_dom.c
U branches/krb5-1-7/src/lib/krb5/os/sendto_kdc.c
U branches/krb5-1-7/src/lib/krb5/os/sn2princ.c
U branches/krb5-1-7/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_clnt.c
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_matching.c
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_profile.c
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_srv.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r22113 from trunk

------------------------------------------------------------------------
r22113 | ghudson | 2009-03-24 13:24:31 -0400 (Tue, 24 Mar 2009) | 5 lines
Changed paths:
M /trunk/src/include/k5-int.h
M /trunk/src/plugins/preauth/pkinit/pkinit.h
M /trunk/src/plugins/preauth/pkinit/pkinit_clnt.c
M /trunk/src/plugins/preauth/pkinit/pkinit_matching.c
M /trunk/src/plugins/preauth/pkinit/pkinit_srv.c

Revert r21880 which included k5-int.h in several pkinit source files.
Instead, move the pkinit-specific KRB5_CONF macros to pkinit.h, and
add duplicate definitions of the non-pkinit-specific macros used by
the pkinit code.

https://github.com/krb5/krb5/commit/70a11c51bb4867de5425f27eee6a89ccb0317f12
Commit By: tlyu
Revision: 22233
Changed Files:
U branches/krb5-1-7/src/include/k5-int.h
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit.h
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_clnt.c
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_matching.c
U branches/krb5-1-7/src/plugins/preauth/pkinit/pkinit_srv.c