diff options
-rw-r--r-- | lib/libkeynote/HOWTO.add.crypto | 4 | ||||
-rw-r--r-- | lib/libkeynote/Makefile | 4 | ||||
-rw-r--r-- | lib/libkeynote/Makefile.in | 6 | ||||
-rw-r--r-- | lib/libkeynote/auxil.c (renamed from lib/libkeynote/aux.c) | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/libkeynote/HOWTO.add.crypto b/lib/libkeynote/HOWTO.add.crypto index c3b3e2ce244..3b67985e023 100644 --- a/lib/libkeynote/HOWTO.add.crypto +++ b/lib/libkeynote/HOWTO.add.crypto @@ -1,4 +1,4 @@ -# $OpenBSD: HOWTO.add.crypto,v 1.2 1999/05/25 21:42:19 angelos Exp $ +# $OpenBSD: HOWTO.add.crypto,v 1.3 2000/01/25 09:08:09 angelos Exp $ This document describes how to add support for digital signature algorithms, hash functions, and ASCII encoding mechanisms in this implementation. @@ -13,7 +13,7 @@ For a signature algorithm: - Define the algorithm public key prefixes, and add them to signature.h (the *_HEX, *_HEX_LEN, *_BASE64, *_BASE64_LEN definitions). -- In aux.c, function keynote_keyhash(), add to the switch statement +- In auxil.c, function keynote_keyhash(), add to the switch statement a case handling the new algorithm; the return value is an integer, and is used as an index into a hash table. - In signature.c: diff --git a/lib/libkeynote/Makefile b/lib/libkeynote/Makefile index b7ab8d28c79..106e4e06abc 100644 --- a/lib/libkeynote/Makefile +++ b/lib/libkeynote/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 1999/11/17 05:08:59 millert Exp $ +# $OpenBSD: Makefile,v 1.11 2000/01/25 09:08:10 angelos Exp $ LIB= keynote MAN= keynote.3 keynote.4 keynote.5 @@ -20,7 +20,7 @@ LEXFLAGS = -Cr -Pkn -s -i YACCFLAGS = -d -p kn -b k HDRS= keynote.h -SRCS= k.tab.c lex.kn.c environment.c parse_assertion.c signature.c aux.c \ +SRCS= k.tab.c lex.kn.c environment.c parse_assertion.c signature.c auxil.c \ base64.c CLEANFILES+= k.tab.c lex.kn.c k.tab.h diff --git a/lib/libkeynote/Makefile.in b/lib/libkeynote/Makefile.in index a07f101b665..6d0b106eb8c 100644 --- a/lib/libkeynote/Makefile.in +++ b/lib/libkeynote/Makefile.in @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.in,v 1.8 1999/11/05 00:27:18 angelos Exp $ +# $OpenBSD: Makefile.in,v 1.9 2000/01/25 09:08:10 angelos Exp $ # # The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) # @@ -65,7 +65,7 @@ TARGET2 = keynote TARGET3 = sample-app OBJS = k.tab.o lex.kn.o environment.o parse_assertion.o \ - signature.o aux.o base64.o + signature.o auxil.o base64.o OBJS2 = z.tab.o lex.kv.o keynote-verify.o keynote-sign.o \ keynote-sigver.o keynote-keygen.o keynote-main.o @LIBOBJS@ OBJS3 = sample-app.o @@ -101,7 +101,7 @@ lex.kv.c: keynote-ver.l z.tab.h keynote.h header.h config.h .c.o: $(CC) $(CFLAGS) $(DEFS) $(INC) -c $< -aux.c: header.h keynote.h assertion.h signature.h config.h +auxil.c: header.h keynote.h assertion.h signature.h config.h parse_assertion.c: header.h keynote.h assertion.h signature.h config.h environment.c: header.h keynote.h assertion.h config.h keynote-verify.c: header.h keynote.h header.h config.h diff --git a/lib/libkeynote/aux.c b/lib/libkeynote/auxil.c index 24ef66d5bff..e301cb24171 100644 --- a/lib/libkeynote/aux.c +++ b/lib/libkeynote/auxil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aux.c,v 1.7 1999/10/26 22:31:37 angelos Exp $ */ +/* $OpenBSD: auxil.c,v 1.1 2000/01/25 09:08:11 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * |