aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-05-18 11:58:31 -0400
committerJack Lloyd <[email protected]>2017-05-18 11:58:31 -0400
commitadfaca119b15cec66dd74eb9c17c1242be846557 (patch)
treef41032b8c11d1c9b8fc45f6da51355e2dc775c83 /src/lib/ffi
parent4f4250d0a8029f9954898e1b1b1908ee1ce2de30 (diff)
Maintainer mode fixes
Diffstat (limited to 'src/lib/ffi')
-rw-r--r--src/lib/ffi/ffi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ffi/ffi.cpp b/src/lib/ffi/ffi.cpp
index 94e83122e..9442634c4 100644
--- a/src/lib/ffi/ffi.cpp
+++ b/src/lib/ffi/ffi.cpp
@@ -1449,15 +1449,15 @@ int botan_pubkey_load(botan_pubkey_t* key,
}
int botan_privkey_load_rsa(botan_privkey_t* key,
- botan_mp_t p, botan_mp_t q, botan_mp_t e)
+ botan_mp_t rsa_p, botan_mp_t rsa_q, botan_mp_t rsa_e)
{
#if defined(BOTAN_HAS_RSA)
*key = nullptr;
try
{
- *key = new botan_privkey_struct(new Botan::RSA_PrivateKey(safe_get(p),
- safe_get(q),
- safe_get(e)));
+ *key = new botan_privkey_struct(new Botan::RSA_PrivateKey(safe_get(rsa_p),
+ safe_get(rsa_q),
+ safe_get(rsa_e)));
return 0;
}
catch(std::exception& e)