diff options
author | Tomas Morstein <[email protected]> | 2013-09-29 20:13:12 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-10-10 14:16:55 +0200 |
commit | 255d5450280c30b8e8f83d79281abd1fbadcfa02 (patch) | |
tree | a5f8a8d9f6b00c25ead36f432106f384a7dc784f | |
parent | 3abf1b5ef82478b152581152ad3ec749e8b7edaa (diff) | |
download | otp-255d5450280c30b8e8f83d79281abd1fbadcfa02.tar.gz otp-255d5450280c30b8e8f83d79281abd1fbadcfa02.tar.bz2 otp-255d5450280c30b8e8f83d79281abd1fbadcfa02.zip |
fix a little typo in public_key documentation
In the example of `public_key:pem_entry_encode/2`, the result
should match to `PemEntry` rather than to `PemBin` since `PemEntry`
is expected as an input argument of `public_key:pem_encode/1` called
just on the next line of the example.
-rw-r--r-- | lib/public_key/doc/src/using_public_key.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/doc/src/using_public_key.xml b/lib/public_key/doc/src/using_public_key.xml index 5d9f1536d9..b744704c47 100644 --- a/lib/public_key/doc/src/using_public_key.xml +++ b/lib/public_key/doc/src/using_public_key.xml @@ -350,7 +350,7 @@ ok</code> <p> or </p> - <code>1> PemBin = public_key:pem_entry_encode('SubjectPublicKeyInfo', RSAPubKey). + <code>1> PemEntry = public_key:pem_entry_encode('SubjectPublicKeyInfo', RSAPubKey). {'SubjectPublicKeyInfo', <<48,92...>>, not_encrypted} 2> PemBin = public_key:pem_encode([PemEntry]). |