summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-08 18:37:07 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-04-08 18:37:07 +0000
commit34b7320a9d426d09fed3b55a997955f69ba375fa (patch)
tree24f7ba360f66c3973caebb26c2ccaafbcc86c536
parent265c9d00c37fcce40376db1d553b618a620aa8b7 (diff)
- (bal) Minor OpenSC updates. Fix up header locations and update
README.smartcard provided by Juha Yrjölä <jyrjola@cc.hut.fi>
-rw-r--r--ChangeLog6
-rw-r--r--README.smartcard5
-rw-r--r--configure.ac6
-rw-r--r--scard-opensc.c4
4 files changed, 13 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index c2467c7d7..48a822160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120020408
2 - (bal) Minor OpenSC updates. Fix up header locations and update
3 README.smartcard provided by Juha Yrjölä <jyrjola@cc.hut.fi>
4
120020407 520020407
2 - (stevesk) HAVE_CONTROL_IN_MSGHDR; not used right now. 6 - (stevesk) HAVE_CONTROL_IN_MSGHDR; not used right now.
3 Future: we may want to test if fd passing works correctly. 7 Future: we may want to test if fd passing works correctly.
@@ -8199,4 +8203,4 @@
8199 - Wrote replacements for strlcpy and mkdtemp 8203 - Wrote replacements for strlcpy and mkdtemp
8200 - Released 1.0pre1 8204 - Released 1.0pre1
8201 8205
8202$Id: ChangeLog,v 1.2039 2002/04/07 22:36:49 stevesk Exp $ 8206$Id: ChangeLog,v 1.2040 2002/04/08 18:37:07 mouring Exp $
diff --git a/README.smartcard b/README.smartcard
index 17bbde721..3017452c4 100644
--- a/README.smartcard
+++ b/README.smartcard
@@ -1,14 +1,15 @@
1How to use smartcards with OpenSSH? 1How to use smartcards with OpenSSH?
2 2
3OpenSSH contains experimental support for authentication using 3OpenSSH contains experimental support for authentication using
4Cyberflex smartcards and TODOS card readers. 4Cyberflex smartcards and TODOS card readers, in addition to the cards with
5PKCS #15 structure supported by OpenSC.
5 6
6WARNING: Smartcard support is still in development. Keyfile formats, etc 7WARNING: Smartcard support is still in development. Keyfile formats, etc
7are still subject to change. 8are still subject to change.
8 9
9To enable this you need to: 10To enable this you need to:
10 11
11(1) install sectok or openSC 12(1) install sectok or OpenSC
12 13
13 Sources are instructions are available from 14 Sources are instructions are available from
14 http://www.citi.umich.edu/projects/smartcard/sectok.html 15 http://www.citi.umich.edu/projects/smartcard/sectok.html
diff --git a/configure.ac b/configure.ac
index d3c94bc06..93d21bfa6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.40 2002/04/07 19:44:14 stevesk Exp $ 1# $Id: configure.ac,v 1.41 2002/04/08 18:37:09 mouring Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -1730,9 +1730,9 @@ AC_ARG_WITH(opensc,
1730 blibpath="$blibpath:${withval}" 1730 blibpath="$blibpath:${withval}"
1731 fi 1731 fi
1732 fi 1732 fi
1733 AC_CHECK_HEADERS(opensc-pkcs15.h) 1733 AC_CHECK_HEADERS(opensc/pkcs15.h)
1734 if test "$ac_cv_header_opensc_pkcs15_h" != yes; then 1734 if test "$ac_cv_header_opensc_pkcs15_h" != yes; then
1735 AC_MSG_ERROR(Can't find opensc-pkcs15.h) 1735 AC_MSG_ERROR(Can't find opensc/pkcs15.h)
1736 fi 1736 fi
1737 AC_CHECK_LIB(opensc, sc_pkcs15_bind) 1737 AC_CHECK_LIB(opensc, sc_pkcs15_bind)
1738 if test "$ac_cv_lib_opensc_sc_pkcs15_bind" != yes; then 1738 if test "$ac_cv_lib_opensc_sc_pkcs15_bind" != yes; then
diff --git a/scard-opensc.c b/scard-opensc.c
index ff59b29c4..6b80d1e68 100644
--- a/scard-opensc.c
+++ b/scard-opensc.c
@@ -29,8 +29,8 @@
29#include <openssl/evp.h> 29#include <openssl/evp.h>
30#include <openssl/x509.h> 30#include <openssl/x509.h>
31 31
32#include <opensc.h> 32#include <opensc/opensc.h>
33#include <opensc-pkcs15.h> 33#include <opensc/pkcs15.h>
34 34
35#include "key.h" 35#include "key.h"
36#include "log.h" 36#include "log.h"