Summary: | net-libs/polarssl: cannot load the ca-certificates.crt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Basile <blueness> |
Component: | [OLD] Library | Assignee: | Thomas Sachau <tommy> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | gregkh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://polarssl.org/trac/ticket/57 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 503610 |
Description
Anthony Basile
2012-04-07 05:00:38 UTC
Issue pursued upstream. A bit of background as to why this is useful: curl allows multiple backend ssl providers. If one configures curl to use polarssl and feeds it --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt, then you hit the problem. @Tommy[D], take a look at upstream. This was not an enhencement, but an actual bug. I mistakingly thought that the buffer was not large enough as the error message suggested, but in fact the buffer is dynamically allocated as one would expect. Its the return value that is not handled properly. I never had time to jump into the C to look at it and just assumed that they'd set a limit to the buffer because of memory tight embedded systems. Upstream has pushed the change: http://polarssl.org/trac/changeset/1281 is this still an issue? |