aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-08-04 12:40:19 +0200
committerIngela Anderton Andin <[email protected]>2014-08-08 14:29:53 +0200
commit112ffb94dacc75ef4cebfbfa137ea8ce52b9631e (patch)
tree1e1d10fe04a1e165e21224f7b73039175cb9cbc9 /lib/public_key
parent301f26e7ea1335e2c6fca69884dc2dd798a61ad2 (diff)
downloadotp-112ffb94dacc75ef4cebfbfa137ea8ce52b9631e.tar.gz
otp-112ffb94dacc75ef4cebfbfa137ea8ce52b9631e.tar.bz2
otp-112ffb94dacc75ef4cebfbfa137ea8ce52b9631e.zip
public_key: Correct ASN1-type EcpkParameters in PEM handling
Diffstat (limited to 'lib/public_key')
-rw-r--r--lib/public_key/src/pubkey_pem.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public_key/src/pubkey_pem.erl b/lib/public_key/src/pubkey_pem.erl
index 3a1653d989..bee57a223d 100644
--- a/lib/public_key/src/pubkey_pem.erl
+++ b/lib/public_key/src/pubkey_pem.erl
@@ -203,7 +203,7 @@ pem_start('ContentInfo') ->
<<"-----BEGIN PKCS7-----">>;
pem_start('CertificateList') ->
<<"-----BEGIN X509 CRL-----">>;
-pem_start('OTPEcpkParameters') ->
+pem_start('EcpkParameters') ->
<<"-----BEGIN EC PARAMETERS-----">>;
pem_start('ECPrivateKey') ->
<<"-----BEGIN EC PRIVATE KEY-----">>.
@@ -260,7 +260,7 @@ asn1_type(<<"-----BEGIN PKCS7-----">>) ->
asn1_type(<<"-----BEGIN X509 CRL-----">>) ->
'CertificateList';
asn1_type(<<"-----BEGIN EC PARAMETERS-----">>) ->
- 'OTPEcpkParameters';
+ 'EcpkParameters';
asn1_type(<<"-----BEGIN EC PRIVATE KEY-----">>) ->
'ECPrivateKey'.