Skip to content

Commit b6f1b1e

Browse files
committed
xxd -c takes a 0 argument
A bit more straightforward than 9999
1 parent 23daca0 commit b6f1b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/certificates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Now sign that with the issuing private key. If using OpenSSL's command-line
2626
tool, here is a sample command:
2727

2828
ascii2der -i tbs-cert.txt | openssl dgst -sha256 -sign issuer_key.pem | \
29-
xxd -p -c 9999 > signature.txt
29+
xxd -p -c 0 > signature.txt
3030

3131
For other options, replace `-sha256` with a different digest or pass `-sigopt`.
3232
See [OpenSSL's documentation](https://www.openssl.org/docs/man1.1.1/man1/dgst.html)

0 commit comments

Comments
 (0)