aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src/public_key.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public_key/src/public_key.erl')
-rw-r--r--lib/public_key/src/public_key.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index 42fbd59e3c..d992037357 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -214,7 +214,7 @@ pem_entry_encode('PrivateKeyInfo', #'RSAPrivateKey'{} = PrivKey) ->
pem_entry_encode('PrivateKeyInfo',
{'PrivateKeyInfo', v1,
{'PrivateKeyInfo_privateKeyAlgorithm', ?'rsaEncryption',
- {asn1_OPENTYPE, <<5, 0>>}},
+ {asn1_OPENTYPE, ?DER_NULL}},
der_encode('RSAPrivateKey', PrivKey), asn1_NOVALUE});
pem_entry_encode('PrivateKeyInfo', #'ECPrivateKey'{parameters = Parameters} = PrivKey) ->
pem_entry_encode('PrivateKeyInfo',