# PHP 5.2.0 Openssl PKCS12 patch

- Thread: https://externals.io/message/26976
- Original archive: https://news-web.php.net/php.internals/26976
- Started by Marc Delling on 2006-12-15T17:27:13+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #26976 — Marc Delling — 2006-12-15T17:27:13+00:00

URL: https://externals.io/message/26976#26976

Hello, I'm Marc and I'm new to this list. Whew! That was easy!

I've read in the archive about a patch for supporting openssl pkcs12,  
but nothing seems to be done so far. Since I was missing the same  
thing when trying to code a quick-and-dirty certificate management  
webapp I decided to write a patch by myself. Is there still need for  
a patch introducing such functions? To whom should I post it? (I've  
included it in this posting for discussion) Where does the  
documentation go?

The patch

---

## #26978 — Marcus Boerger — 2006-12-15T19:51:50+00:00

URL: https://externals.io/message/26976#26978 · In reply to: #26976

Hello Marc,

  you cannot use c++ style comments '//', see CODING_STANDARDS.
Rest looks good on a first glimpse.

best regards
marcus

Friday, December 15, 2006, 6:27:13 PM, you wrote:

> Hello, I'm Marc and I'm new to this list. Whew! That was easy!

> I've read in the archive about a patch for supporting openssl pkcs12,  
> but nothing seems to be done so far. Since I was missing the same  
> thing when trying to code a quick-and-dirty certificate management  
> webapp I decided to write a patch by myself. Is there still need for  
> a patch introducing such functions? To whom should I post it? (I've  
> included it in this posting for discussion) Where does the  
> documentation go?

> The patch




Best regards,
 Marcus

---

## #26984 — Pierre — 2006-12-15T22:07:53+00:00

URL: https://externals.io/message/26976#26984 · In reply to: #26976

Hi Marc,


> Hello, I'm Marc and I'm new to this list. Whew! That was easy!
>
> I've read in the archive about a patch for supporting openssl pkcs12,

First, thanks for this patch :)

> but nothing seems to be done so far. Since I was missing the same
> thing when trying to code a quick-and-dirty certificate management
> webapp I decided to write a patch by myself. Is there still need for
> a patch introducing such functions? To whom should I post it? (I've
> included it in this posting for discussion) Where does the
> documentation go?

The best would be to open a bug. I store your patch locally already
but a bug report will help me to do not forget as it is too late for
5.2 (5.2.1 release process just started).  I will merge your patch in
HEAD after I review it, add some tests and cleanup (cs, ...).

--Pierre

---

## #27056 — Moritz Bechler — 2006-12-16T16:32:31+00:00

URL: https://externals.io/message/26976#27056 · In reply to: #26984

Hi

> > […]
>
> First, thanks for this patch :)

Quite nice you did this, I was just thinking about doing it myself ;)
>
> > […]

I also work on an extension wrapping OpenSSL's CRL generation and OCSP
parsing/generation functions and wonder whether it makes sense to have
two or more extensions wrapping OpenSSL functionality or whether there is
public interest in having these functions in the stock distribution?

Moritz Bechler
