diff options
Diffstat (limited to 'crypto/objects/objects.pl')
-rw-r--r-- | crypto/objects/objects.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl index d0ed459..389dc34 100644 --- a/crypto/objects/objects.pl +++ b/crypto/objects/objects.pl @@ -67,7 +67,7 @@ while (<IN>) $myoid = &process_oid($myoid); } - if ($Cname eq "" && !($myln =~ / /)) + if ($Cname eq "" && ($myln =~ /^[_A-Za-z][\w.-]*$/ )) { $Cname = $myln; $Cname =~ s/\./_/g; |