Skip to contentSkip to conversation

cleanup: pkcs11.c: resolve wanings

PATCH In review Alon Bar-Lev 2 participants 2 messages Jun 18, 2012 – Jun 22, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cleanup: pkcs11.c: resolve wanings

src/openvpn/pkcs11.c:794:2: warning: passing argument 1 of ‘pkcs11h_setPINPromptHook’ from incompatible pointer type

---
 src/openvpn/pkcs11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/openvpn/pkcs11.c +1 -1
index d86e267..645f1f4 100644
@@ -730,7 +730,7 @@ cleanup:
 }
 
 static
-bool
+PKCS11H_BOOL
 _pkcs11_openvpn_show_pkcs11_ids_pin_prompt (
 	void * const global_data,
 	void * const user_data,
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 7 lines · Alon Bar-Lev

src/openvpn/pkcs11.c:794:2: warning: passing argument 1 of ‘pkcs11h_setPINPromptHook’ from incompatible pointer type

---
 src/openvpn/pkcs11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

ACK. Applied to master.

commit befd6c2b98a65dbc968185a60fb4f9ecdee839b2

Author: Alon Bar-Lev <[email protected]...>
Date:   Mon Jun 18 20:35:04 2012 +0300
    cleanup: pkcs11.c: resolve wanings
    
    src/openvpn/pkcs11.c:794:2: warning: passing argument 1 of
    ‘pkcs11h_setPINPromptHook’ from incompatible pointer type
    
    Signed-off-by: Alon Bar-Lev <[email protected]...>
    Acked-by: David Sommerseth <[email protected]...>
    Message-Id: [email protected]...
    URL: http://article.gmane.org/gmane.network.openvpn.devel/6738
    Signed-off-by: David Sommerseth <[email protected]...>

kind regards,

David Sommerseth