summaryrefslogtreecommitdiff
path: root/src/mongo/util/hex.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-04-17 12:07:46 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-04-17 12:07:46 -0400
commitaa0995f8cd3a2f42346439296d1e103be5926a4b (patch)
tree36c3d2eb13ee3b21a4276cec3f3ffcef450e4cb3 /src/mongo/util/hex.cpp
parentfcf41ce8ddf70894ed6803420e94a1685cc60903 (diff)
downloadmongo-aa0995f8cd3a2f42346439296d1e103be5926a4b.tar.gz
SERVER-34413 Converting Certificate Subject Names to strings need to obey RFC 2253
Diffstat (limited to 'src/mongo/util/hex.cpp')
-rw-r--r--src/mongo/util/hex.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/util/hex.cpp b/src/mongo/util/hex.cpp
index adbe6ac560d..2d4a563c05b 100644
--- a/src/mongo/util/hex.cpp
+++ b/src/mongo/util/hex.cpp
@@ -62,6 +62,10 @@ std::string integerToHexDef(T inInt) {
}
template <>
+std::string integerToHex<char>(char val) {
+ return integerToHexDef(val);
+}
+template <>
std::string integerToHex<int>(int val) {
return integerToHexDef(val);
}