Index: crypto/ec_private_key_openssl.cc |
diff --git a/crypto/ec_private_key_openssl.cc b/crypto/ec_private_key_openssl.cc |
index 35403f39ce88588a492f222800842268ce55ddd4..1a060283892296079e6ba7d338c914d5839cd702 100644 |
--- a/crypto/ec_private_key_openssl.cc |
+++ b/crypto/ec_private_key_openssl.cc |
@@ -176,9 +176,10 @@ bool ECPrivateKey::ExportEncryptedPrivateKey( |
// equivalent. |
ScopedX509_SIG encrypted(PKCS8_encrypt_pbe( |
NID_pbe_WithSHA1And3_Key_TripleDES_CBC, |
+ nullptr, |
reinterpret_cast<const uint8_t*>(password.data()), |
password.size(), |
- NULL, |
+ nullptr, |
0, |
iterations, |
pkcs8.get())); |