aet
4e31110496
Fix bootstrap issues with Debian/automake-1.4
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1444 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-14 10:27:21 +00:00
aet
6857ffa11a
Update PKCS#11 library version to 0.8.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1443 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-12 10:36:23 +00:00
aet
508b20ada5
The previous libsocket/libresolv configure cleanup broke
...
LDAP support for at least Solaris. Therefore assume, that
if we have to use libsocket, probe for libresolv as well
although OpenSC's internals don't use it.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1442 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-12 06:48:10 +00:00
sth
c5eea382ee
Fix: C_GenerateKeyPair(), C_CreateObject() returned CKR_USER_NOT_LOGGED_IN if lock_login is set to false in the config file, because then the pkcs15_init functions do a logoff internally
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1441 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-11 12:11:52 +00:00
sth
05a5696041
Removed compiler errors under Win32
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1440 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-11 08:01:06 +00:00
sth
1a36f46a5d
First include <stdio.h>, otherwise the #include <windows.h> turns wchar_t into an (unsigned) short (Unicode)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1439 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-11 06:02:43 +00:00
aet
c69ef430ee
C++ warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1438 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 22:20:26 +00:00
sth
68c885ebe1
Added version info to the Win32 binaries, and set the version number to 0.8.0.0 (4 numbers seems to be needed)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1437 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 14:08:29 +00:00
aet
b4ea04dfe4
Build fix for MacOS X.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1436 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 10:42:34 +00:00
aet
f2575116d0
Remove extra semicolons
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1435 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 10:41:48 +00:00
aet
2c173c4c06
Accidently changed the version number, fixed.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1434 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 10:03:24 +00:00
aet
3ee103eeda
Replace overly complex and old configure magic for connect()
...
and friends, just check for socket() in libsocket.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1433 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-10 10:02:06 +00:00
aet
b3907c5a7e
Add cert_support.c for pkcs15-ldap support, old legacy
...
code that needs to be removed at some point. Implemented
against OpenSSL 0.9.6, not much tested against 0.9.7.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1432 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-09 15:02:23 +00:00
aet
1ea97fbb5e
Add very preliminary and quick port of an old scam
...
code that implements ldap-authentication support,
needs to be rewritten for more specific OpenSC
usage some other day.
Work in progress, only tested with FINEID cards.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1431 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-09 15:00:51 +00:00
aet
09f2d373b2
Remove old cruft, enable p15-ldap support (PAM option auth_method=pkcs15-ldap)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1430 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-09 14:47:37 +00:00
sth
e6f3f9bb08
Increase log buffer size, so that 255 hex bytes still can be logged
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1429 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-08 13:38:07 +00:00
aet
0c37fe2f79
Warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1428 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 19:18:38 +00:00
aet
eb1dd0fd4d
Preliminary update for the upcoming release
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1427 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 18:30:07 +00:00
aet
bbc64d01ff
Indent sources
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1426 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 17:56:21 +00:00
aet
a02ef5e722
Bunch of generic compiler warning and C++ fixes
...
before indenting the sources, apparently OpenSSL
engines are not under a heavy development anymore.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1425 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 17:29:41 +00:00
aet
ba1a685c8e
Don't bother exposing sc_pkcs11_module_t and scdl_context_t
...
to public headers, use void instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1424 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 16:18:15 +00:00
sth
4f580598b0
Fix: don't print the contents of a NULL pointer
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1423 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 13:36:59 +00:00
sth
1decd28185
Typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1422 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 13:35:33 +00:00
sth
1941bc79b8
Build the pkcs11 spy on Win32
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1421 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 13:13:15 +00:00
sth
97f78bc65f
Fix: handle the 3rd argument of the Change PIN and Unblock PIN commands correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1420 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-06 05:57:33 +00:00
sth
842b5cd2f5
Fix: let this card driver do the unblocking itself, don't send it to the iso7816 code (Victor Tarasov)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1419 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-05 20:16:52 +00:00
aet
5bd87ee0d0
Warning fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1418 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-05 07:22:10 +00:00
aet
e66bb1ef16
Remove gcc specific code from usbtoken/openct drivers, untested.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1417 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-04 16:41:49 +00:00
aet
915ddc91ca
PKCS#11 spy fixes by Mathias Brossard
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1416 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-04 13:50:30 +00:00
aet
3bd77d0f2b
Fix make distcheck to work again, weird that it
...
stopped working only after the opensc-spy patching.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1415 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 21:53:18 +00:00
aet
03de5ba32f
error -> sc_error
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1414 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 21:31:14 +00:00
okir
3d7e8a964f
- Properly detect CarDOS lifecycle MANUFACTURING and report it as "OTHER"
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1413 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 18:55:53 +00:00
aet
de2d058617
Typo fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1412 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 18:21:42 +00:00
aet
597877eb49
Move #include <windows.h> to winconfig.h in
...
order to minimize win32 specific code sections.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1411 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 18:18:57 +00:00
aet
d63e83d4e3
- Linking cleanups for libpkcs11 / opensc-pkcs11
...
- Build fixes for PKCS#11 spy module by Mathias,
so far untested. TODO: C_UnloadModule?
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1410 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 18:08:54 +00:00
aet
c0c3c339d7
SC -> OPENSC, old legacy from the libsc days
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1409 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 17:59:08 +00:00
aet
3a2a4463b1
Add PKCS#11 spy sources by Mathias Brossard <mathias dot brossard AT idealx
...
dot com>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1408 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 17:19:08 +00:00
aet
86475ea7c0
- Remove sslengines/libpkcs11.h, it's almost identical
...
to libpkcs11's pkcs11.h.
- Move default PKCS#11 library defines to pkcs11.h,
so they can be used by 3rdparty applications as
well.
- Minor cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1407 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 17:07:15 +00:00
aet
5616dba08e
- Stop using unflexible automake conditionals when
...
building PC/SC, OpenCT or USBToken support,
use ifdef's directly in source.
- Because of above, add HAVE_PCSCLITE for winconfig.h
- Remove unnecessary includes for log.h, opensc.h and
errors.h in libopensc sources, they're already taken
care by internal.h.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1406 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-03 09:28:55 +00:00
aet
087b9c1077
Generate minimal Info.plist and PkgInfo for bundles
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1405 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-02 20:44:15 +00:00
aet
2c549055a7
EUSER: Cut'n'paste error
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1404 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-01 08:48:55 +00:00
aet
bac2b601a9
Move scdl to it's own subdirectory, although it's merely
...
for internal purposes only.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1403 c6295689-39f2-0310-b995-f0e70906c6a9
2003-09-01 08:43:38 +00:00
aet
bd54ea7a62
- Move all dynamic loading related code to src/common/scdl.c,
...
probably needs some more work.
As a side bonus, we now have a working CT-API support for MacOS X.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1402 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-29 16:29:52 +00:00
aet
5835e752b5
Cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1401 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-29 16:26:59 +00:00
okir
dc42cd3fa7
- added sc_print_path
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1400 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-29 12:55:30 +00:00
okir
8fcab2199b
- slightly improved debugging output
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1399 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-29 12:55:17 +00:00
okir
ef42ba2010
- path cache wasn't cleared on error in flex_select_file
...
- slightly better debugging output
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1398 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-29 12:54:45 +00:00
aet
d59a1034e9
- Cleanups to Makefile.am if / endif mess
...
- Don't bother checking OpenSSL engine
LDFLAGS if no engine detected
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1397 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-28 13:08:57 +00:00
okir
2fd5b30f1a
- added missing newline to error msg
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1396 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-28 12:51:33 +00:00
okir
70c3d91b23
- added missing intialization of apdu struct
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1395 c6295689-39f2-0310-b995-f0e70906c6a9
2003-08-28 12:50:51 +00:00