php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37398 open_ssl_error_string()
Submitted: 2006-05-10 13:39 UTC Modified: 2006-05-15 21:51 UTC
From: magisson at ecole dot ensicaen dot fr Assigned:
Status: Not a bug Package: OpenSSL related
PHP Version: 5.1.4 OS: linux
Private report: No CVE-ID: None
 [2006-05-10 13:39 UTC] magisson at ecole dot ensicaen dot fr
Description:
------------
I read this error when using the open_ssl_error_string() function.

But the encryption data are correctly transformed. And there is no problem to find my data back.

Reproduce code:
---------------
error:0E06D06C:configuration file routines:NCONF_get_string:no value
error:0E06D06C:configuration file routines:NCONF_get_string:no value
error:0E06D06C:configuration file routines:NCONF_get_string:no value
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-10 13:45 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2006-05-10 14:51 UTC] magisson at ecole dot ensicaen dot fr
I use the openssl_pkey_new() and the openssl_csr_new($dn, $privkey) functions to create a private and a public key for the openssl_public_encrypt() and the openssl_private_decrypt() function.

The execution of my code is correct. (I m able to read my original message)

But at the end of my programme I use the open_ssl_error_string() function like this:

@ $fp=fopen('erreurSSL.log','ab');
  if($fp){	
    while (($e = openssl_error_string()) !== false) {
      fputs($fp, $e."\n");     
    }
    fclose($fp);

the content of my error file is :
error:0E06D06C:configuration file routines:NCONF_get_string:no value
error:0E06D06C:configuration file routines:NCONF_get_string:no value
 [2006-05-15 21:51 UTC] tony2001@php.net
These error messages come from OpenSSL.
PHP can't do anything about it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC