diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-05-25 21:42:25 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-05-25 21:42:25 +0000 |
commit | 72595d5cb8d24d33c697fa7a2d4eccc3cb60ff9a (patch) | |
tree | 3bad14e4209fac155477160b64675df6de54cede /lib/libkeynote/keynote.3 | |
parent | 7c983533d3b7679ec8a5d6b1ef8508d67b352fda (diff) |
Export kn_keycompare() in the API, update the spec and man pages.
Note that the *.1 manpages will all be rolled into a single one soon.
Diffstat (limited to 'lib/libkeynote/keynote.3')
-rw-r--r-- | lib/libkeynote/keynote.3 | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lib/libkeynote/keynote.3 b/lib/libkeynote/keynote.3 index cd9596883c5..d7f97e6f7b0 100644 --- a/lib/libkeynote/keynote.3 +++ b/lib/libkeynote/keynote.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.3,v 1.2 1999/05/24 01:50:04 angelos Exp $ +.\" $OpenBSD: keynote.3,v 1.3 1999/05/25 21:42:22 angelos Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -79,6 +79,8 @@ struct keynote_binary .Ft char ** .Fn kn_read_asserts "char *array" "int arraylen" "int *numassertions" .Ft int +.Fn kn_keycompare "void *key1" "void *key2" "int algorithm" +.Ft int .Fn kn_encode_base64 "unsigned char const *src" "unsigned int srclen" "char *dst" "unsigned int dstlen" .Ft int .Fn kn_decode_base64 "char const *src" "unsigned char *dst" "unsigned int dstlen" @@ -96,13 +98,6 @@ struct keynote_binary .Fn kn_verify_assertion "char *assertion" "int len" .Fd Link options: -lkeynote -lm -lcrypto .Sh DESCRIPTION -For details on -.Nm KeyNote , -see the web page -.Bd -literal -offset indent - http://www.cis.upenn.edu/~keynote -.Ed -.Pp .Va keynote_errno contains an error code if some library call failed. Failed calls return -1 (if their return value is integer), or @@ -440,6 +435,15 @@ if was .Dv NULL . .Pp +.Fn kn_keycompare +compares +.Fa key1 +and +.Fa key2 +(which must be of the same +.Fa algorithm ) +and returns 1 if equal and 0 otherwise. +.Pp .Fn kn_query takes as arguments a list of action attributes in .Fa env , |