HomePhabricator

token, kex: Add functions to handle tokens lists

Description

token, kex: Add functions to handle tokens lists

The added functions allow splitting chains of tokens separated by a
given character (usually ','), and extracting matching parts between two
chains of tokens.

The previously existing functions in kex.c were replaced by the
introduced ones.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
ansasakiAuthored on May 15 2019, 5:48 PM
asnCommitted on Jun 12 2019, 10:17 AM
Parents
rLIBSSHb0ff64bf1b17: pki: Check if the key is allowed against right list
Branches
Unknown
Tags
Unknown