aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-09-11 02:57:20 -0400
committerRob Austein <sra@hactrn.net>2015-09-11 02:57:20 -0400
commitae7b3e1789a4ff96876ba09b18b5a07777a7d23b (patch)
tree429012d6f4e2f0b50735f45ee44a42040b3fdab6
parent6a80ee51ba03fd8958c566882922ddb4df39c7cd (diff)
verify_rsa_pkcs() should be static.
-rw-r--r--pkcs11.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkcs11.c b/pkcs11.c
index 6a83127..914607e 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -2292,11 +2292,11 @@ static CK_RV sign_rsa_pkcs(p11_session_t *session,
* unnecessary, but it's also harmless.
*/
-CK_RV verify_rsa_pkcs(p11_session_t *session,
- CK_BYTE_PTR pData,
- CK_ULONG ulDataLen,
- CK_BYTE_PTR pSignature,
- CK_ULONG ulSignatureLen)
+static CK_RV verify_rsa_pkcs(p11_session_t *session,
+ CK_BYTE_PTR pData,
+ CK_ULONG ulDataLen,
+ CK_BYTE_PTR pSignature,
+ CK_ULONG ulSignatureLen)
{
uint8_t keybuf[hal_rsa_key_t_size];
hal_rsa_key_t *key = NULL;