]> the.earth.li Git - onak.git/commit
Use generic fallback in stacked backend for non core routines
authorJonathan McDowell <noodles@earth.li>
Tue, 25 Sep 2018 10:07:06 +0000 (11:07 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 25 Sep 2018 10:07:06 +0000 (11:07 +0100)
commit409ce1e3784064ab8f2786a9600a30809c502a46
tree85931323ab4592d8af8e00996fceb133dc5df44f
parent99875e881f971aec13af9dc74aa7202feea3a7b1
Use generic fallback in stacked backend for non core routines

The non-core routines that don't directly return or store a key
structure often fall back to the generic routines under the hood. This
means we can miss propagating a retrieved key up to the top level of the
stack. Avoid this by only calling the non-generic version for the top
layer, then falling back to the generics which will do the appropriate
store on fallback.
keydb_stacked.c