diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-10-17 17:38:28 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-10-17 17:38:28 +0400 |
commit | 48dc9ca82471a222c1fb3139611165075b38a7ed (patch) | |
tree | 6b589ae0a2825a782c5afd8a20dec306ab448adc /src/murmur/Cert.cpp | |
parent | dbacc6a72713456e8d7e7c4b2ab703052dce0c69 (diff) |
Support prehistoric OpenSSL
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@789 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/murmur/Cert.cpp')
-rw-r--r-- | src/murmur/Cert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Cert.cpp b/src/murmur/Cert.cpp index 39a1e66ba..4ecf4e775 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -112,7 +112,7 @@ void Server::initializeCert() { X509_NAME *name=X509_get_subject_name(x509);
- X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<const unsigned char *>("Murmur Autogenerated Certificate"), -1, -1, 0);
+ X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<unsigned char *>(const_cast<char *>("Murmur Autogenerated Certificate")), -1, -1, 0);
X509_set_issuer_name(x509, name);
add_ext(x509, NID_basic_constraints, "critical,CA:FALSE");
add_ext(x509, NID_ext_key_usage, "serverAuth,clientAuth");
|