From 51be559c537e62f4057be7fda6723bd347e1ce2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 22 Aug 2013 13:35:53 +0200 Subject: [PATCH] Fix PKCS#11 deps: now goes through PK --- include/polarssl/config.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/polarssl/config.h b/include/polarssl/config.h index a5e439653..3c709fecf 100644 --- a/include/polarssl/config.h +++ b/include/polarssl/config.h @@ -1126,11 +1126,10 @@ * * Enable wrapper for PKCS#11 smartcard support. * - * Module: library/ssl_srv.c - * Caller: library/ssl_cli.c - * library/ssl_srv.c + * Module: library/pkcs11.c + * Caller: library/pk.c * - * Requires: POLARSSL_SSL_TLS_C + * Requires: POLARSSL_PK_C * * This module enables SSL/TLS PKCS #11 smartcard support. * Requires the presence of the PKCS#11 helper library (libpkcs11-helper) @@ -1484,7 +1483,7 @@ #error "POLARSSL_PEM_C defined, but not all prerequisites" #endif -#if defined(POLARSSL_PKCS11_C) && !defined(POLARSSL_SSL_TLS_C) +#if defined(POLARSSL_PKCS11_C) && !defined(POLARSSL_PK_C) #error "POLARSSL_PKCS11_C defined, but not all prerequisites" #endif