aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/der_enc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asn1/der_enc.cpp')
-rw-r--r--src/asn1/der_enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/der_enc.cpp b/src/asn1/der_enc.cpp
index ea9dfe9f8..594c32539 100644
--- a/src/asn1/der_enc.cpp
+++ b/src/asn1/der_enc.cpp
@@ -205,7 +205,7 @@ DER_Encoder& DER_Encoder::raw_bytes(const byte bytes[], size_t length)
*/
DER_Encoder& DER_Encoder::encode_null()
{
- return add_object(NULL_TAG, UNIVERSAL, 0, 0);
+ return add_object(NULL_TAG, UNIVERSAL, nullptr, 0);
}
/*