From ae7b3e1789a4ff96876ba09b18b5a07777a7d23b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 11 Sep 2015 02:57:20 -0400 Subject: verify_rsa_pkcs() should be static. --- pkcs11.c | 10 +++++----- 1 file 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; -- cgit v1.2.3