diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-19 00:31:41 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-19 00:31:41 +0800 |
commit | 5acee497bf3e44d86bdecf5bfa35042c363ab753 (patch) | |
tree | 8576a44683dda3c007bfec6b48831f2c31268044 /signkey.h | |
parent | 972d723484d89c71e73ed63cc17bb2a6ce8cca5a (diff) |
ext-info handling for server-sig-algs
only client side is handled
Diffstat (limited to 'signkey.h')
-rw-r--r-- | signkey.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -120,6 +120,8 @@ enum signkey_type signkey_type_from_name(const char* name, unsigned int namelen) const char* signature_name_from_type(enum signature_type type, unsigned int *namelen); enum signature_type signature_type_from_name(const char* name, unsigned int namelen); enum signkey_type signkey_type_from_signature(enum signature_type sigtype); +enum signature_type signature_type_from_signkey(enum signkey_type keytype); + int buf_get_pub_key(buffer *buf, sign_key *key, enum signkey_type *type); int buf_get_priv_key(buffer* buf, sign_key *key, enum signkey_type *type); void buf_put_pub_key(buffer* buf, sign_key *key, enum signkey_type type); |