aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/rsa_manykey.cpp
diff options
context:
space:
mode:
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();