OBS User unknown 2008-10-15 23:49:56 +00:00 committed by Git OBS Bridge
parent f2c55edce3
commit 1028111975
3 changed files with 62 additions and 1 deletions

View File

@ -3,7 +3,50 @@ ldap_mapper.c:757: warning: implicit declaration of function 'd2i_X509'
ldap_mapper.c:757: warning: assignment makes pointer from integer without a cast
ldap_mapper.c: In function 'ldap_mapper_match_user':
ldap_mapper.c:871: warning: implicit declaration of function 'X509_cmp'
error.c: In function 'set_error':
error.c:34: warning: implicit declaration of function 'vsnprintf'
cert_vfy.c: In function 'verify_certificate':
cert_vfy.c:36: warning: implicit declaration of function 'SECU_Strerror'
cert_vfy.c:36: warning: implicit declaration of function 'PR_GetError'
cert_vfy.c: In function 'verify_signature':
cert_vfy.c:59: warning: implicit declaration of function 'SEC_GetSignatureAlgorithmOidTag'
cert_vfy.c:63: warning: implicit declaration of function 'VFY_VerifyData'
cert_vfy.c:67: warning: implicit declaration of function 'SECKEY_DestroyPublicKey'
pkcs11_eventmgr.c: In function 'thats_all_folks':
pkcs11_eventmgr.c:93: warning: implicit declaration of function 'NSS_Shutdown'
pkcs11_eventmgr.c: In function 'main':
pkcs11_eventmgr.c:379: warning: implicit declaration of function 'NSS_Init'
pkcs11_eventmgr.c:382: warning: implicit declaration of function 'NSS_NoDB_Init'
pkcs11_eventmgr.c:421: warning: statement with no effect
pkcs11_eventmgr.c:463: warning: implicit declaration of function 'PK11_GetSlotID'
pkcs11_eventmgr.c:466: warning: implicit declaration of function 'PK11_IsPresent'
pkcs11_eventmgr.c:467: warning: implicit declaration of function 'PK11_GetSlotSeries'
pkcs11_eventmgr.c:493: warning: implicit declaration of function 'PK11_FreeSlot'
================================================================================
--- src/common/cert_vfy.c
+++ src/common/cert_vfy.c
@@ -18,8 +18,10 @@
#include "cert_vfy.h"
#ifdef HAVE_NSS
-
+#include <nspr.h>
+#include <cryptohi.h>
#include "cert.h"
+#include "secutil.h"
int verify_certificate(X509 * x509, cert_policy *policy)
{
--- src/common/error.c
+++ src/common/error.c
@@ -17,6 +17,7 @@
#include "error.h"
#include <string.h>
+#include <stdio.h>
#define __ERROR_C_
--- src/mappers/ldap_mapper.c
+++ src/mappers/ldap_mapper.c
@@ -36,6 +36,7 @@
@ -14,3 +57,14 @@ ldap_mapper.c:871: warning: implicit declaration of function 'X509_cmp'
#include "../common/cert_st.h"
#include "../common/debug.h"
--- src/tools/pkcs11_eventmgr.c
+++ src/tools/pkcs11_eventmgr.c
@@ -32,6 +32,8 @@
#ifdef HAVE_NSS
#include <secmod.h>
+#include <nss.h>
+#include <pk11pub.h>
#endif
#define DEF_POLLING 1 /* 1 second timeout */

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 15 18:30:29 CEST 2008 - sbrabec@suse.cz
- Fixed all implicit declarations.
-------------------------------------------------------------------
Tue Sep 23 17:49:42 CEST 2008 - sbrabec@suse.cz

View File

@ -20,7 +20,7 @@
Name: pam_pkcs11
Version: 0.6.0
Release: 138
Release: 139
Url: http://www.opensc-project.org/pam_pkcs11/
Group: Productivity/Security
License: LGPL v2.1 or later
@ -128,6 +128,8 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/pam.d/common-auth-smartcard
%changelog
* Wed Oct 15 2008 sbrabec@suse.cz
- Fixed all implicit declarations.
* Tue Sep 23 2008 sbrabec@suse.cz
- Fixed uninitialized variable (bnc#351207).
* Thu Apr 10 2008 ro@suse.de