mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 13:52:43 -04:00
Fixed utf8 issue when using strings with openssl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7726 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
512a938cfb
commit
40bfa50b29
2 changed files with 11 additions and 17 deletions
|
@ -681,7 +681,7 @@ X509 *AuthSSLimpl::SignX509ReqWithGPG(X509_REQ *req, long days)
|
|||
}
|
||||
|
||||
//long version = 0x00;
|
||||
unsigned long chtype = MBSTRING_ASC;
|
||||
unsigned long chtype = MBSTRING_UTF8;
|
||||
X509_NAME *issuer_name = X509_NAME_new();
|
||||
X509_NAME_add_entry_by_txt(issuer_name, "CN", chtype,
|
||||
(unsigned char *) AuthGPG::getAuthGPG()->getGPGOwnId().toStdString().c_str(), -1, -1, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue