php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49438 openssl_sign,why the results are different between 'gbk' and 'utf-8'.
Submitted: 2009-09-02 05:56 UTC Modified: 2009-09-02 19:27 UTC
From: gaoc at guoli dot com Assigned:
Status: Not a bug Package: OpenSSL related
PHP Version: 5.3.0 OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 - 12 = ?
Subscribe to this entry?

 
 [2009-09-02 05:56 UTC] gaoc at guoli dot com
Description:
------------
openssl_sign($data,$sig,$privatekey);
the data is from gkb '??' and utf-8 '??'!
buy why the results are different between 'gbk' and 'utf-8'.

Reproduce code:
---------------
---
From manual page: function.openssl-sign
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-02 19:27 UTC] jani@php.net
Because the data is different. Not enough info, invalid reproduce code. 
Bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 07:01:32 2024 UTC