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

Side by Side Diff: src/platform/vboot_reference/utils/sign_data.sh

Issue 578025: Refactor code from test/ to utils/ since they are not just used by tests. (Closed)
Patch Set: Fix nits. Created 10 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 if [ $# -ne 3 ]
8 then
9 echo "Usage: `basename $0` <algorithm> <key file> <input file>"
10 exit -1
11 fi
12
13 ./signature_digest $1 $3 | openssl rsautl -sign -pkcs -inkey $2
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/utils/Makefile ('k') | src/platform/vboot_reference/utils/signature_digest.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698