summaryrefslogtreecommitdiff
path: root/lib/libkeynote
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-08-16 02:33:38 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-08-16 02:33:38 +0000
commitb446ebd37f35118779c1684f7f8824dd86fcb2c4 (patch)
treead7dab28ac9935efb67ecfa1952e5be086b5b723 /lib/libkeynote
parent91ff4d2791020e1645be4b81b6b4587079b14a09 (diff)
Indentation.
Diffstat (limited to 'lib/libkeynote')
-rw-r--r--lib/libkeynote/keynote.h4
-rw-r--r--lib/libkeynote/signature.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libkeynote/keynote.h b/lib/libkeynote/keynote.h
index ad6e15fb633..a90fdeed518 100644
--- a/lib/libkeynote/keynote.h
+++ b/lib/libkeynote/keynote.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: keynote.h,v 1.5 1999/08/13 22:34:26 angelos Exp $ */
+/* $OpenBSD: keynote.h,v 1.6 1999/08/16 02:33:37 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -137,7 +137,7 @@ struct keynote_binary
#define KEYNOTE_ALGORITHM_PGP 3
#define KEYNOTE_ALGORITHM_BINARY 4
#define KEYNOTE_ALGORITHM_X509 5
-#define KEYNOTE_ALGORITHM_RSA 6
+#define KEYNOTE_ALGORITHM_RSA 6
#define KEYNOTE_ERROR_ANY 0
#define KEYNOTE_ERROR_SYNTAX 1
diff --git a/lib/libkeynote/signature.c b/lib/libkeynote/signature.c
index 818b8e59f85..39fb4b54ac4 100644
--- a/lib/libkeynote/signature.c
+++ b/lib/libkeynote/signature.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signature.c,v 1.5 1999/08/13 22:49:54 angelos Exp $ */
+/* $OpenBSD: signature.c,v 1.6 1999/08/16 02:33:37 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -328,15 +328,15 @@ keynote_get_key_algorithm(char *key, int *encoding, int *internalencoding)
if (!strncasecmp(X509_BASE64, key, X509_BASE64_LEN))
{
- *internalencoding=INTERNAL_ENC_ASN1;
- *encoding=ENCODING_BASE64;
+ *internalencoding = INTERNAL_ENC_ASN1;
+ *encoding = ENCODING_BASE64;
return KEYNOTE_ALGORITHM_X509;
}
if (!strncasecmp(X509_HEX, key, X509_HEX_LEN))
{
- *internalencoding=INTERNAL_ENC_ASN1;
- *encoding=ENCODING_HEX;
+ *internalencoding = INTERNAL_ENC_ASN1;
+ *encoding = ENCODING_HEX;
return KEYNOTE_ALGORITHM_X509;
}