* getkey.c (parse_key_usage): New function to parse out key usage flags.
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 29 Nov 2004 21:21:52 +0000 (21:21 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 29 Nov 2004 21:21:52 +0000 (21:21 +0000)
commit5dcc3dc3536431068daa18c6ee42428fd8f80173
treee5e8bcfc69a4873ae194b2db772cb879267630b1
parent0f8db18dc13f5f3a06ff1e1aa723e718be5f6111
* getkey.c (parse_key_usage): New function to parse out key usage flags.
Set PUBKEY_USAGE_UNKNOWN to handle flags that we don't understand.
(fixup_uidnode, merge_selfsigs_main, merge_selfsigs_subkey): Call it from
here to remove duplicate code.
g10/ChangeLog
g10/getkey.c