aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-04-16 23:06:04 +0200
committerSimon Warta <[email protected]>2017-04-16 23:06:17 +0200
commitbc79016a55a824ed5e8db346156dd8409f1fe5f3 (patch)
tree149df0c53b776501db9028625475452941ff4f5c /src/lib
parent3d645bb685cded3060818ca9207337cba4e7df7a (diff)
Mark correct variables unused in FFI botan_{pub,priv}key_load_elgamal
Closes #1011
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ffi/ffi.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/ffi/ffi.cpp b/src/lib/ffi/ffi.cpp
index 6aedd2a38..0c5a3de67 100644
--- a/src/lib/ffi/ffi.cpp
+++ b/src/lib/ffi/ffi.cpp
@@ -1438,10 +1438,7 @@ int botan_pubkey_load_elgamal(botan_pubkey_t* key,
return -1;
#else
- BOTAN_UNUSED(p);
- BOTAN_UNUSED(q);
- BOTAN_UNUSED(g);
- BOTAN_UNUSED(x);
+ BOTAN_UNUSED(key, p, g, y);
return BOTAN_FFI_ERROR_NOT_IMPLEMENTED;
#endif
}
@@ -1464,9 +1461,7 @@ int botan_privkey_load_elgamal(botan_privkey_t* key,
}
return -1;
#else
- BOTAN_UNUSED(p);
- BOTAN_UNUSED(g);
- BOTAN_UNUSED(x);
+ BOTAN_UNUSED(key, p, g, x);
return BOTAN_FFI_ERROR_NOT_IMPLEMENTED;
#endif
}