Repository navigation
Conversation
|
This is an example. I don't see how it serves anyone better if we add 4000 lines of PEM data into it... |
Obviously not that 4000 lines are the subject, I inserted it to make it "work" with same method, maybe it should be load from file to demonstrate "memory" operation. |
|
I think improving the example to work with more than one cert in memory is a good idea, but then I think having two in there is good enough for the example. Wouldn't you agree? |
|
Additionally, also run |
|
@DaVieS007 any plans on adjusting this as suggested above? |
|
@bagder yes for sure after I find out what causing memory leak and the code above is affacted or not. |
|
Thanks @DaVieS007 for your work on this. I did some minor edits to the code before it landed. |
Seems this example showing the only way to load CA file (curl-ca-bundle.crt) from memory now able to process the whole certificate-chain from memory.