| OLD | NEW |
| (Empty) |
| 1 diff --git a/lib/ssl/ssl3con.c b/lib/ssl/ssl3con.c | |
| 2 index 7649abe..b6f4987 100644 | |
| 3 --- a/lib/ssl/ssl3con.c | |
| 4 +++ b/lib/ssl/ssl3con.c | |
| 5 @@ -2297,6 +2297,7 @@ fail: | |
| 6 return SECFailure; | |
| 7 } | |
| 8 | |
| 9 +#ifndef NO_PKCS11_BYPASS | |
| 10 /* Returns whether we can bypass PKCS#11 for a given cipher algorithm. | |
| 11 * | |
| 12 * We do not support PKCS#11 bypass for ChaCha20/Poly1305. | |
| 13 @@ -2311,6 +2312,7 @@ ssl3_CanBypassCipher(SSLCipherAlgorithm calg) | |
| 14 return PR_TRUE; | |
| 15 } | |
| 16 } | |
| 17 +#endif | |
| 18 | |
| 19 /* Complete the initialization of all keys, ciphers, MACs and their contexts | |
| 20 * for the pending Cipher Spec. | |
| OLD | NEW |