aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi.h
diff options
context:
space:
mode:
authorDaniel Wyatt <[email protected]>2017-05-13 16:00:22 -0400
committerDaniel Wyatt <[email protected]>2017-05-13 16:00:22 -0400
commit42de5d71f61cdbacaf522ce898f915ceb12db099 (patch)
tree52952ac829308dc8a94fda89953200b54ccf2559 /src/lib/ffi/ffi.h
parent2c5919cd5aa3d7723919f729cab9938df1cc4f94 (diff)
Fix botan_privkey_load_rsa misleading parameter names.
RSA_PrivateKey's constructor take p,q,e,d,n.
Diffstat (limited to 'src/lib/ffi/ffi.h')
-rw-r--r--src/lib/ffi/ffi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h
index 5638810f9..f93265e22 100644
--- a/src/lib/ffi/ffi.h
+++ b/src/lib/ffi/ffi.h
@@ -755,7 +755,7 @@ BOTAN_DLL int botan_privkey_get_field(botan_mp_t output,
BOTAN_DLL int botan_privkey_load_rsa(botan_privkey_t* key,
botan_mp_t p,
botan_mp_t q,
- botan_mp_t d);
+ botan_mp_t e);
BOTAN_DLL int botan_privkey_rsa_get_p(botan_mp_t p, botan_privkey_t rsa_key);
BOTAN_DLL int botan_privkey_rsa_get_q(botan_mp_t q, botan_privkey_t rsa_key);