aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbe/get_pbe.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-10 23:03:35 +0000
committerlloyd <[email protected]>2008-11-10 23:03:35 +0000
commitf947cfbd1523f2bd1930fccbd4a5586f633661ed (patch)
tree966e71638c8d40a63e0a11c4b2fc921810db2111 /src/pbe/get_pbe.cpp
parentc975e9017032bcbce0d5beffd7fc89fa1b3210a0 (diff)
Shorten SCAN_Name's argument arg in function names
Diffstat (limited to 'src/pbe/get_pbe.cpp')
-rw-r--r--src/pbe/get_pbe.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pbe/get_pbe.cpp b/src/pbe/get_pbe.cpp
index 34f60e241..103e64a0c 100644
--- a/src/pbe/get_pbe.cpp
+++ b/src/pbe/get_pbe.cpp
@@ -28,8 +28,8 @@ PBE* get_pbe(const std::string& pbe_name)
throw Invalid_Algorithm_Name(pbe_name);
const std::string pbe = request.algo_name();
- const std::string digest = request.argument(0);
- const std::string cipher = request.argument(1);
+ const std::string digest = request.arg(0);
+ const std::string cipher = request.arg(1);
#if defined(BOTAN_HAS_PBE_PKCS_V15)
if(pbe == "PBE-PKCS5v15")
@@ -57,8 +57,8 @@ PBE* get_pbe(const OID& pbe_oid, DataSource& params)
if(request.arg_count() != 2)
throw Invalid_Algorithm_Name(pbe_oid.as_string());
- const std::string digest = request.argument(0);
- const std::string cipher = request.argument(1);
+ const std::string digest = request.arg(0);
+ const std::string cipher = request.arg(1);
PBE* pbe = new PBE_PKCS5v15(digest, cipher, DECRYPTION);
pbe->decode_params(params);