aboutsummaryrefslogtreecommitdiffstats
path: root/src/alg_id.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/alg_id.cpp')
-rw-r--r--src/alg_id.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alg_id.cpp b/src/alg_id.cpp
index d85396295..317329102 100644
--- a/src/alg_id.cpp
+++ b/src/alg_id.cpp
@@ -40,7 +40,7 @@ AlgorithmIdentifier::AlgorithmIdentifier(const OID& alg_id,
oid = alg_id;
if(option == USE_NULL_PARAM)
- parameters.append(DER_NULL, sizeof(DER_NULL));
+ parameters.push_back(DER_NULL, sizeof(DER_NULL));
}
/*************************************************
@@ -53,7 +53,7 @@ AlgorithmIdentifier::AlgorithmIdentifier(const std::string& alg_id,
oid = OIDS::lookup(alg_id);
if(option == USE_NULL_PARAM)
- parameters.append(DER_NULL, sizeof(DER_NULL));
+ parameters.push_back(DER_NULL, sizeof(DER_NULL));
}
/*************************************************