Fix ensureDN

This commit is contained in:
Niklas Mischkulnig 2023-07-21 11:08:23 +02:00 committed by GitHub
parent 3c7b7cbedf
commit 6f5b9fd796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ function validateControls (controls) {
function ensureDN (input) {
if (DN.isDn(input)) {
return DN
return input
} else if (typeof (input) === 'string') {
return DN.fromString(input)
} else {