Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SelfSignedCertificate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SelfSignedCertificate.cpp b/src/SelfSignedCertificate.cpp
index 85640aa32..a77e5fad9 100644
--- a/src/SelfSignedCertificate.cpp
+++ b/src/SelfSignedCertificate.cpp
@@ -141,7 +141,7 @@ bool SelfSignedCertificate::generate(CertificateType certificateType, QString cl
}
}
- if (X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC,
+ if (X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_UTF8,
reinterpret_cast< unsigned char * >(commonName.toUtf8().data()), -1, -1, 0)
== 0) {
ok = false;