diff options
author | Rob Austein <sra@hactrn.net> | 2015-09-11 02:57:20 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-09-11 02:57:20 -0400 |
commit | ae7b3e1789a4ff96876ba09b18b5a07777a7d23b (patch) | |
tree | 429012d6f4e2f0b50735f45ee44a42040b3fdab6 | |
parent | 6a80ee51ba03fd8958c566882922ddb4df39c7cd (diff) |
verify_rsa_pkcs() should be static.
-rw-r--r-- | pkcs11.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |