From ca7265a956ff004ee6bade2a2b58d219217c9ef0 Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Fri, 31 Oct 2008 13:31:42 -0700
Subject: [PATCH] Send openssl output to logfile on "ofp-pki self-sign" also.

---
 utilities/ofp-pki.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/ofp-pki.in b/utilities/ofp-pki.in
index a6d4521a8..89a3dba0d 100755
--- a/utilities/ofp-pki.in
+++ b/utilities/ofp-pki.in
@@ -498,7 +498,7 @@ elif test "$command" = self-sign; then
     must_not_exist "$arg1-cert.pem"
 
     openssl x509 -in "$arg1-req.pem" -out "$arg1-cert.pem" \
-        -signkey "$arg1-privkey.pem" -req -text
+        -signkey "$arg1-privkey.pem" -req -text 2>&3
 elif test "$command" = ls; then
     check_type "$arg2"
 
-- 
2.47.0