Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: client/cros/ownership.py

Issue 6759063: [autotest] Update login_OwnershipApi to use protobufs (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: make fixes Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/cros/constants.py ('k') | client/site_tests/login_OwnershipApi/login_OwnershipApi.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cros/ownership.py
diff --git a/client/cros/ownership.py b/client/cros/ownership.py
index 0acd767d5cab43287dcd2a7ab5d927c839cb49a0..462c247f4e7b3505b3a20d35b5070b2fe1f3f0f4 100644
--- a/client/cros/ownership.py
+++ b/client/cros/ownership.py
@@ -65,8 +65,8 @@ def pairgen():
The caller is responsible for cleaning up these files.
"""
- keyfile = scoped_tempfile.tempdir.name + 'private.key'
- certfile = scoped_tempfile.tempdir.name + 'cert.pem'
+ keyfile = scoped_tempfile.tempdir.name + '/private.key'
+ certfile = scoped_tempfile.tempdir.name + '/cert.pem'
cmd = '%s -x509 -subj %s -newkey rsa:2048 -nodes -keyout %s -out %s' % (
OPENSSLREQ, '/CN=me', keyfile, certfile)
system_output_on_fail(cmd)
@@ -164,4 +164,3 @@ def sign(pem_key_file, data):
if not sig_data:
raise error.TestFail('Empty signature!')
return sig_data
-
« no previous file with comments | « client/cros/constants.py ('k') | client/site_tests/login_OwnershipApi/login_OwnershipApi.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698