Checkout
joe
committed
on 19 Feb 08
Enable PKCS#11 (smartcard) support with neon 0.28:

* subversion/libsvn_ra_neon/session.c [SVN_NEON_0_28]: Include
ne_pkcs11.h
(cleanup_… Show more
Enable PKCS#11 (smartcard) support with neon 0.28:

* subversion/libsvn_ra_neon/session.c [SVN_NEON_0_28]: Include

 ne_pkcs11.h

 (cleanup_p11provider, client_ssl_pkcs11_pin_entry): New functions.

 (get_server_settings): Add and handle the pk11_provider parameter.

 (svn_ra_neon__open): Fetch the PKCS#11 provider from the config

 file; if specified, initialize and set up the provider and PIN

 callback for both sessions, along with the cleanup.

* subversion/libsvn_ra_neon/ra_neon.h: Add p11pin_iterstate field to

 svn_ra_neon__session_t structure.

* subversion/include/svn_config.h: Add ssl-pkcs11-provider option.

* subversion/libsvn_subr/config_file.c (svn_config_ensure): Document

 new ssl-pkcs11-provider config option.

Show less