summaryrefslogtreecommitdiffstats
path: root/src/tests/verify
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/verify')
-rw-r--r--src/tests/verify/pkey.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/tests/verify/pkey.c b/src/tests/verify/pkey.c
new file mode 100644
index 000000000..52f48e58a
--- /dev/null
+++ b/src/tests/verify/pkey.c
@@ -0,0 +1,29 @@
+/*
+ * $Source$
+ * $Author$
+ *
+ * Copyright 1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/copyright.h>.
+ *
+ */
+
+#if !defined(lint) && !defined(SABER)
+static char rcsid_pkey_c [] =
+"$Id$";
+#endif /* !lint & !SABER */
+#include <stdio.h>
+
+void pkey(k)
+ unsigned char *k;
+{
+ int i;
+ unsigned int foo;
+
+ for (i = 0 ; i < 8 ; i++) {
+ foo = *k++;
+ fprintf(stderr, "%x ", foo);
+ }
+}