[ovs-dev] [PATCH 03/10] ovs-pki: Pass correct argument to 'sign' command.

Gurucharan Shetty shettyg at nicira.com
Tue May 13 16:03:17 UTC 2014


The first argument passed to 'sign' command is used as prefix
for both req.pem and cert.pem.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
 utilities/ovs-pki.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/ovs-pki.in b/utilities/ovs-pki.in
index 501b06e..89af405 100755
--- a/utilities/ovs-pki.in
+++ b/utilities/ovs-pki.in
@@ -485,7 +485,7 @@ elif test "$command" = sign; then
     check_type "$arg2"
     verify_fingerprint "$arg1-req.pem"
 
-    sign_request "$arg1-req.pem" "$arg2-cert.pem"
+    sign_request "$arg1-req.pem" "$arg1-cert.pem"
 elif test "$command" = req+sign; then
     one_or_two_args
     check_type "$arg2"
-- 
1.7.9.5




More information about the dev mailing list