Re: [PHP-DEV] openssl_pkcs7_encrypt and 3des

2002-06-12 Thread Wez Furlong
Hi Michael, The code in PHP for SMIME is pretty much taken directly from the equivalent smime.c file (or is it pkcs7.c?) in the openssl distribution. If you want to do something like this, take a look in there and send your patch to the list (and CC me too; I'm the openssl extension maintainer

[PHP-DEV] openssl_pkcs7_encrypt and 3des

2002-06-04 Thread michael sullivan
I noticed in the documentation on openssl_pkcs7_encrypt that it only uses RC2-40. I'd like to modify it to use 3DES and was wondering if anyone has already done that, and if not, where should I modify the code to enable that encoding by default? I noticed in the php 4.2.1/ext/openssl/openssl.c