]> git.ipfire.org Git - thirdparty/krb5.git/commit
Merge duplicate subsections in profile library 760/head
authorRobbie Harwood <rharwood@redhat.com>
Tue, 10 Apr 2018 19:55:41 +0000 (15:55 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 17 Apr 2018 16:38:06 +0000 (12:38 -0400)
commitefab9fa5a6d23c486467264e20b58bf5a9c60f0c
tree96d6d19dda643da2f3f06136ce8c46632e7682bf
parent0c013d6bc018d5be9f694ce80a27de740628133d
Merge duplicate subsections in profile library

Modify profile_add_node() to return the existing node, rather than
making a new one, when adding subsection configuration.

This fixes an issue where the first instance of a subsection will hide
the second instance entirely.  In particular, it was previously
impossible to split realm-specific configuration across multiple
config files.

[ghudson@mit.edu: adjusted style, added test case]

ticket: 7863
tags: pullup
target_version: 1.16-next
target_version: 1.15-next
src/util/profile/prof_test1
src/util/profile/prof_tree.c
src/util/profile/test.ini