Skip to content

Commit d000460

Browse files
committed
fixed #99, ssltest should now actually pick the shortest domain
1 parent a665584 commit d000460

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function validateCSR(e){
319319
var shortest_domain = domains[0];
320320
for(var d = 0; d < domains.length; d++){
321321
DOMAINS[domains[d]] = {};
322-
if(shortest_domain.length < domains[d].length){
322+
if(shortest_domain.length > domains[d].length){
323323
shortest_domain = domains[d];
324324
}
325325
}

0 commit comments

Comments
 (0)