aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-11-21 21:32:05 +0000
committerlloyd <[email protected]>2012-11-21 21:32:05 +0000
commit990b962b8f91717db6654c209c9a91e2440d1442 (patch)
tree060719a77538ad0e7d3a09d005909a89227394ce /src/asn1
parent71c830895b13aea99d24818de775a036062fa3d7 (diff)
Avoid compile time incompatability with VC 2012
Diffstat (limited to 'src/asn1')
-rw-r--r--src/asn1/alg_id.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/asn1/alg_id.cpp b/src/asn1/alg_id.cpp
index c4c6b6e24..bb8dac80a 100644
--- a/src/asn1/alg_id.cpp
+++ b/src/asn1/alg_id.cpp
@@ -43,10 +43,7 @@ AlgorithmIdentifier::AlgorithmIdentifier(const OID& alg_id,
oid = alg_id;
if(option == USE_NULL_PARAM)
- {
- parameters += std::make_pair<const byte*, size_t>(
- DER_NULL, sizeof(DER_NULL));
- }
+ parameters += std::pair<const byte*, size_t>(DER_NULL, sizeof(DER_NULL));
}
/*
@@ -60,10 +57,7 @@ AlgorithmIdentifier::AlgorithmIdentifier(const std::string& alg_id,
oid = OIDS::lookup(alg_id);
if(option == USE_NULL_PARAM)
- {
- parameters += std::make_pair<const byte*, size_t>(
- DER_NULL, sizeof(DER_NULL));
- }
+ parameters += std::pair<const byte*, size_t>(DER_NULL, sizeof(DER_NULL));
}
/*