aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509_ca.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-09-23 01:38:20 +0200
committerSimon Warta <[email protected]>2015-09-23 01:38:20 +0200
commitdd743cef685c232ff8b981fec0f01bd8532c2c76 (patch)
treefb74d95411c5f8c41ca7f409cfc8d36513023363 /src/lib/cert/x509/x509_ca.cpp
parentac9689990da914cd58788dab9d5e0d7bebb72e30 (diff)
parent1f62dbcd0108a2cd99ad473299e041163a638b1c (diff)
Merge pull request #285 from webmaster128/avoid-char-concatination
Avoid concatination of chars
Diffstat (limited to 'src/lib/cert/x509/x509_ca.cpp')
-rw-r--r--src/lib/cert/x509/x509_ca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509_ca.cpp b/src/lib/cert/x509/x509_ca.cpp
index b6bb5d8ce..d329bfdd8 100644
--- a/src/lib/cert/x509/x509_ca.cpp
+++ b/src/lib/cert/x509/x509_ca.cpp
@@ -243,7 +243,7 @@ PK_Signer* choose_sig_format(const Private_Key& key,
const Signature_Format format = (key.message_parts() > 1) ? DER_SEQUENCE : IEEE_1363;
- padding = padding + '(' + hash->name() + ')';
+ padding = padding + "(" + hash->name() + ")";
sig_algo.oid = OIDS::lookup(algo_name + "/" + padding);
sig_algo.parameters = key.algorithm_identifier().parameters;