diff options
Diffstat (limited to 'src/mongo/util/net/ssl_manager_test.cpp')
-rw-r--r-- | src/mongo/util/net/ssl_manager_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/util/net/ssl_manager_test.cpp b/src/mongo/util/net/ssl_manager_test.cpp index 1c7d866815a..8869cbede6f 100644 --- a/src/mongo/util/net/ssl_manager_test.cpp +++ b/src/mongo/util/net/ssl_manager_test.cpp @@ -326,6 +326,11 @@ TEST(SSLManager, DNParsingAndNormalization) { {"2.5.4.3", "J. Smith"}, {"0.9.2342.19200300.100.1.25", "example"}, {"0.9.2342.19200300.100.1.25", "net"}}}, + {"CN=server, O=, DC=example, DC=net", + {{"2.5.4.3", "server"}, + {"2.5.4.10", ""}, + {"0.9.2342.19200300.100.1.25", "example"}, + {"0.9.2342.19200300.100.1.25", "net"}}}, {R"(CN=James \"Jim\" Smith\, III,DC=example,DC=net)", {{"2.5.4.3", R"(James "Jim" Smith, III)"}, {"0.9.2342.19200300.100.1.25", "example"}, |