aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rsa_manykey.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-08-13 15:13:21 +0000
committerlloyd <[email protected]>2010-08-13 15:13:21 +0000
commit3da3b04e1ba1577b3d0e1b4b9b3f4b24381fc433 (patch)
tree8a4b3a3b8e830ffcbd41f41859db4ab4fd972fb2 /doc/examples/rsa_manykey.cpp
parent2cae6ec17984ad016f973d5925860278e575b3f4 (diff)
parent789cee0888bbede838a2a3cf6221677c9f172872 (diff)
propagate from branch 'net.randombit.botan' (head 0a3348f52bf558bc2282e1066c2913a72a1aeda5)
to branch 'net.randombit.botan.c++0x' (head 552c20ae8874f12da779fc25ea368e36e71cbfe8)
Diffstat (limited to 'doc/examples/rsa_manykey.cpp')
-rw-r--r--doc/examples/rsa_manykey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/rsa_manykey.cpp b/doc/examples/rsa_manykey.cpp
index e6a511753..c282e7882 100644
--- a/doc/examples/rsa_manykey.cpp
+++ b/doc/examples/rsa_manykey.cpp
@@ -31,7 +31,7 @@ int main()
RSA_PrivateKey key(rng, j);
- std::ofstream priv(("rsa/" + to_string(j) + ".pem").c_str());
+ std::ofstream priv(("rsa/" + std::to_string(j) + ".pem").c_str());
priv << PKCS8::PEM_encode(key);
priv.close();