Am 03.02.12 17:11, schrieb jas: > I am familiar with typecasting. Booleans, ints, strings, etc. > > However while using an extension, more specifically the OpenSSL > extension I have come across a problem I am not entirely familiar with. > > I have an array that looks like... > > array('config' => 'config/openssl.cnf', > 'encrypt_key' => true, > 'private_key_type' => 'OPENSSL_KEYTYPE_RSA', remove the quotes around the constant, it must be 'private_key_type' => OPENSSL_KEYTYPE_RSA, > 'digest_algorithm' => 'sha256', > 'private_key_bits' => 512, > 'x509_extensions' => 'usr_cert', > 'encrypt_key_cipher' => 'OPENSSL_CIPHER_3DES'); same here -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: marco@xxxxxxxxxx Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz
Attachment:
signature.asc
Description: OpenPGP digital signature