Hi Georg,
Am 18.06.2012 19:20, schrieb Georg Wicherski:
My approach was to simply see if the provided buffer starts with
"-----BEGIN CERTIFICATE-----" and then read the PEM data from the memory
buffer instead of treating it as a file path. I would just like to check
if such a dual-purpose / self-configuring API is fine with the upstream
maintainers.
I think if you add such a new feature it would be great to also support DER format in addition to PEM which is not possible with the file-based OpenSSL APIs AFAIK; your simple check would again limit it only to PEM.

Gün.



-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to