X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=secnet.h;h=0d5b8396d9abf95e63c6a8f56c6d12b5c88ae3b8;hb=c7e6b78d0e867626783850dddc2d61c1c8999801;hp=afc635a7a6c3e12c07e055e037349b712719ca89;hpb=464d28f3278a0295e488449eb0b81bf199b78184;p=secnet.git diff --git a/secnet.h b/secnet.h index afc635a..0d5b839 100644 --- a/secnet.h +++ b/secnet.h @@ -404,7 +404,7 @@ struct sigscheme_info; typedef bool_t sigscheme_loadpub(const struct sigscheme_info *algo, struct buffer_if *pubkeydata, struct sigpubkey_if **sigpub_r, - struct log_if *log); + struct log_if *log, struct cloc loc); /* pubkeydata is (supposedly) for this algorithm. * loadpub should log an error if it fails. * pubkeydata may be modified (but not freed) */ @@ -431,6 +431,8 @@ struct sigscheme_info { extern const struct sigscheme_info rsa1_sigscheme; extern const struct sigscheme_info sigschemes[]; /* sentinel has name==0 */ +const struct sigscheme_info *sigscheme_lookup(const char *name); + /***** END of signature schemes *****/ /***** CLOSURE TYPES and interface definitions *****/