cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1371 usage of p12 client ceritificates is broken

From: Dmitry <dyurchuk_at_users.sf.net>
Date: Mon, 12 May 2014 10:30:52 +0000

---
** [bugs:#1371] usage of p12 client ceritificates is broken**
**Status:** open
**Created:** Mon May 12, 2014 10:30 AM UTC by Dmitry
**Last Updated:** Mon May 12, 2014 10:30 AM UTC
**Owner:** nobody
After [this commit](https://github.com/bagder/curl/commit/ce362e8eb9c6fe8600058c7b88f40a83b0af1794) libCurl is unable to handle P12 (PKCS#12) certificates, see comment of AStankov to the commit.

On head revision this code is moved to [openssl.c](https://github.com/bagder/curl/blob/master/lib/vtls/openssl.c) near line 533

Brief description:
in case of “case SSL_FILETYPE_PKCS12:” code will go to “default:” statement anyway, independently of P12 certificate check. 
The error will be "not supported file type '%s' for certificate"
Additional “break” is needed between line 533 and 541  
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-05-12

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET