summaryrefslogtreecommitdiffstats
path: root/key.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:52:03 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:52:03 +0000
commitc5b680018b1fbc58ad2316199693e2805dadf638 (patch)
treec01554c5d55ef51cc90b52dbc28c7513f75fc0bd /key.h
parenteb7a84c49e6248279ba130f8592bae356e7fb61e (diff)
- markus@cvs.openbsd.org 2001/06/26 20:14:11
[key.c key.h ssh.c sshconnect1.c sshconnect2.c] add smartcard support to the client, too (now you can use both the agent and the client).
Diffstat (limited to 'key.h')
-rw-r--r--key.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/key.h b/key.h
index 562834c9..2b4fbce0 100644
--- a/key.h
+++ b/key.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.h,v 1.15 2001/06/26 17:27:23 markus Exp $ */
+/* $OpenBSD: key.h,v 1.16 2001/06/26 20:14:10 markus Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -44,8 +44,13 @@ enum fp_rep {
SSH_FP_HEX,
SSH_FP_BUBBLEBABBLE
};
+
+/* key is stored in external hardware */
+#define KEY_FLAG_EXT 0x0001
+
struct Key {
- int type;
+ int type;
+ int flags;
RSA *rsa;
DSA *dsa;
};