diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-16 15:34:45 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-05-18 21:07:42 +0200 |
commit | 780757cbc172daa4d9973e8e3b87fd42cfac5541 (patch) | |
tree | 0a4d3a8ebfd8c3bd992537a7349ff02aa48389a0 /src/modules/extra/m_ssl_openssl.cpp | |
parent | 8f27fefa75e2952e7ab8757eb9fe4af4586817f0 (diff) |
Deduplicate hex string creation code
Diffstat (limited to 'src/modules/extra/m_ssl_openssl.cpp')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index b8f588b06..23e770c8b 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -635,7 +635,7 @@ class ModuleSSLOpenSSL : public Module } else { - certinfo->fingerprint = irc::hex(md, n); + certinfo->fingerprint = BinToHex(md, n); } if ((ASN1_UTCTIME_cmp_time_t(X509_get_notAfter(cert), ServerInstance->Time()) == -1) || (ASN1_UTCTIME_cmp_time_t(X509_get_notBefore(cert), ServerInstance->Time()) == 0)) |