ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaikiran <...@git.apache.org>
Subject [GitHub] ant pull request #64: Add support for SAN extension in GenerateKey task
Date Thu, 12 Jul 2018 14:26:13 GMT
Github user jaikiran commented on a diff in the pull request:

    https://github.com/apache/ant/pull/64#discussion_r202054728
  
    --- Diff: src/main/org/apache/tools/ant/taskdefs/GenerateKey.java ---
    @@ -413,6 +429,16 @@ public void execute() throws BuildException {
                 sb.append("\" ");
             }
     
    +        if (useExtension) {
    +            sb.append("-ext ");
    --- End diff --
    
    Should this be appended only if `saname` is not null? I haven't given it a try but does
the keytool work fine if we end up passing "-ext" without any extension name value?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message