ipsec pki --issue suports --flag authServer option

This commit is contained in:
Andreas Steffen
2009-10-05 22:44:01 +02:00
parent ce40bf5def
commit 408e46a324
6 changed files with 46 additions and 19 deletions
+5 -1
View File
@@ -104,7 +104,11 @@ static int issue()
flags |= X509_CA;
continue;
case 'f':
if (streq(arg, "ocspSigning"))
if (streq(arg, "serverAuth"))
{
flags |= X509_SERVER_AUTH;
}
else if (streq(arg, "ocspSigning"))
{
flags |= X509_OCSP_SIGNER;
}