Bugzilla bug #64238: removed the unnecessary inclusion of mcom_db.h from
cryptohi.h, pk11func.h, secpkcs7.h, and cms.h. Some files now need to include <errno.h>. They were including <errno.h> indirectly through mcom_db.h. Modified Files: cmd/atob/atob.c cmd/btoa/btoa.c cmd/derdump/derdump.c lib/cryptohi/cryptohi.h lib/pk11wrap/pk11func.h lib/pkcs7/secpkcs7.h lib/smime/cms.h lib/ssl/sslsnce.c git-svn-id: svn://10.0.0.236/trunk@84341 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b1068e5d40
commit
e57a4cba46
@ -34,6 +34,7 @@
|
||||
#include "plgetopt.h"
|
||||
#include "secutil.h"
|
||||
#include "nssb64.h"
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
|
||||
#if !defined(WIN32)
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
#include "plgetopt.h"
|
||||
#include "secutil.h"
|
||||
#include "nssb64.h"
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
|
||||
#if !defined(WIN32)
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "secutil.h"
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
|
||||
#if !defined(WIN32)
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
* $Id: cryptohi.h,v 1.1 2000-03-31 19:44:59 relyea%netscape.com Exp $
|
||||
* $Id: cryptohi.h,v 1.2 2001-01-04 00:44:23 wtc%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CRYPTOHI_H_
|
||||
@ -40,8 +40,6 @@
|
||||
|
||||
#include "blapi.h"
|
||||
|
||||
#include "mcom_db.h"
|
||||
|
||||
#include "seccomon.h"
|
||||
#include "secrngt.h"
|
||||
#include "secoidt.h"
|
||||
|
||||
@ -36,7 +36,6 @@
|
||||
#ifndef _PK11FUNC_H_
|
||||
#define _PK11FUNC_H_
|
||||
#include "plarena.h"
|
||||
#include "mcom_db.h"
|
||||
#include "seccomon.h"
|
||||
#include "secoidt.h"
|
||||
#include "secdert.h"
|
||||
|
||||
@ -34,14 +34,13 @@
|
||||
/*
|
||||
* Interface to the PKCS7 implementation.
|
||||
*
|
||||
* $Id: secpkcs7.h,v 1.1 2000-03-31 19:16:09 relyea%netscape.com Exp $
|
||||
* $Id: secpkcs7.h,v 1.2 2001-01-04 00:44:27 wtc%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SECPKCS7_H_
|
||||
#define _SECPKCS7_H_
|
||||
|
||||
#include "seccomon.h"
|
||||
#include "mcom_db.h" /* needed by certt.h */
|
||||
|
||||
#include "secoidt.h"
|
||||
#include "secder.h" /* needed by certt.h; XXX go away when possible */
|
||||
|
||||
@ -34,14 +34,13 @@
|
||||
/*
|
||||
* Interfaces of the CMS implementation.
|
||||
*
|
||||
* $Id: cms.h,v 1.6 2000-09-29 16:38:11 mcgreer%netscape.com Exp $
|
||||
* $Id: cms.h,v 1.7 2001-01-04 00:44:29 wtc%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CMS_H_
|
||||
#define _CMS_H_
|
||||
|
||||
#include "seccomon.h"
|
||||
#include "mcom_db.h" /* needed by certt.h */
|
||||
|
||||
#include "secoidt.h"
|
||||
#include "secder.h" /* needed by certt.h; XXX go away when possible */
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
* $Id: sslsnce.c,v 1.5 2001-01-03 19:50:48 larryh%netscape.com Exp $
|
||||
* $Id: sslsnce.c,v 1.6 2001-01-04 00:44:30 wtc%netscape.com Exp $
|
||||
*/
|
||||
|
||||
/* Note: ssl_FreeSID() in sslnonce.c gets used for both client and server
|
||||
@ -93,6 +93,7 @@
|
||||
#include <syslog.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include "unix_err.h"
|
||||
|
||||
#else /* XP_WIN32 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user