diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-28 22:34:47 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-04-28 22:34:47 +0400 |
commit | 0e54cfa23bcee6095822b898fbea51b868193b59 (patch) | |
tree | 22055c4e2a1a36e525890ffacc5eccd4864bf034 /src/murmur/Cert.cpp | |
parent | b76ad9e2092d33553c4bea4e756709d1d17086d9 (diff) |
Use SHA1 instead of MD5 for selfsigned certs
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 c08118ea6..1cc1bc74a 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -123,7 +123,7 @@ void Server::initializeCert() { add_ext(x509, NID_subject_key_identifier, "hash"); add_ext(x509, NID_netscape_comment, "Generated from murmur"); - X509_sign(x509, pkey, EVP_md5()); + X509_sign(x509, pkey, EVP_sha1()); crt.resize(i2d_X509(x509, NULL)); unsigned char *dptr=reinterpret_cast<unsigned char *>(crt.data()); |