[Cryptech-Commits] [sw/pkcs11] 06/14: verify_rsa_pkcs() should be static.

git at cryptech.is git at cryptech.is
Mon Sep 14 21:43:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch ecdsa
in repository sw/pkcs11.

commit ae7b3e1789a4ff96876ba09b18b5a07777a7d23b
Author: Rob Austein <sra at hactrn.net>
Date:   Fri Sep 11 02:57:20 2015 -0400

    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;



More information about the Commits mailing list