aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rsa_manykey.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-21 23:30:14 +0000
committerlloyd <[email protected]>2010-03-21 23:30:14 +0000
commitf8a77dd91e8b3aed644c2c206ff9b8822fb3ae02 (patch)
tree315cbc118a8ba2afda674154e7c65e8900a00cb8 /doc/examples/rsa_manykey.cpp
parent572c106e868821da13447ca7349523ef4a90ec2c (diff)
parent634f3d27f7faad1dc558821382f71ecc2194637d (diff)
propagate from branch 'net.randombit.botan' (head 96d0a1885774b624812fd143d541c8bcda319217)
to branch 'net.randombit.botan.c++0x' (head e14368ab9d7976f3e111c6bc0adf24eebeb7c114)
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();