remove old template reference in trustanchors guide

This commit is contained in:
Noah Laptop 2020-01-10 17:05:29 -08:00
parent c045607b39
commit c8030dfe4e

View file

@ -55,7 +55,7 @@ Once you've generated a trust anchor array, add it to your Arduino sketch using
```C++ ```C++
#include "yourtrustanchorfile.h" #include "yourtrustanchorfile.h"
// ... // ...
SSLClient<SomeClientType> client(SomeClient, TAs, (size_t)TAs_NUM, SomePin); SSLClient client(SomeClient, TAs, (size_t)TAs_NUM, SomePin);
// ... // ...
``` ```
Where `yourtrustanchorfile.h` contains a generated trust anchor array names `TAs`, with length `TAs_NUM`. BearSSL will now automatically use these trust anchors when `SSLClient::connect` is called. Where `yourtrustanchorfile.h` contains a generated trust anchor array names `TAs`, with length `TAs_NUM`. BearSSL will now automatically use these trust anchors when `SSLClient::connect` is called.