equal
deleted
inserted
replaced
1 Source: Internal |
|
2 |
|
3 Info: This patch fixes the issue of pkcs11_common(NULL) being called |
|
4 when PKCS11 is not enabled. |
|
5 |
|
6 Status: This patch has been submitted to upstream, not yet accepted. |
|
7 |
|
8 --- gnutls-3.4.6/src/tpmtool.c Tue Jul 21 02:42:08 2015 |
|
9 +++ gnutls-3.4.6/src/tpmtool.c Thu Nov 19 13:43:02 2015 |
|
10 @@ -184,7 +184,9 @@ |
|
11 gnutls_datum_t data, sig = {NULL, 0}; |
|
12 int pk; |
|
13 |
|
14 +#ifdef ENABLE_PKCS11 |
|
15 pkcs11_common(NULL); |
|
16 +#endif |
|
17 |
|
18 data.data = (void*)TEST_DATA; |
|
19 data.size = sizeof(TEST_DATA)-1; |
|