aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/doc/src
diff options
context:
space:
mode:
authorTomas Morstein <[email protected]>2013-09-29 20:13:12 +0200
committerFredrik Gustafsson <[email protected]>2013-10-10 14:16:55 +0200
commit255d5450280c30b8e8f83d79281abd1fbadcfa02 (patch)
treea5f8a8d9f6b00c25ead36f432106f384a7dc784f /lib/public_key/doc/src
parent3abf1b5ef82478b152581152ad3ec749e8b7edaa (diff)
downloadotp-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.
Diffstat (limited to 'lib/public_key/doc/src')
-rw-r--r--lib/public_key/doc/src/using_public_key.xml2
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', &lt;&lt;48,92...&gt;&gt;, not_encrypted}
2> PemBin = public_key:pem_encode([PemEntry]).