diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-04-17 12:07:46 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-04-17 12:07:46 -0400 |
commit | aa0995f8cd3a2f42346439296d1e103be5926a4b (patch) | |
tree | 36c3d2eb13ee3b21a4276cec3f3ffcef450e4cb3 /src/mongo/util/hex.cpp | |
parent | fcf41ce8ddf70894ed6803420e94a1685cc60903 (diff) | |
download | mongo-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.cpp | 4 |
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); } |