Commit 1e26a8ba authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

Fix a variety of warnings generated by some elevated compiler-fascism,

OPENSSL_NO_DEPRECATED, etc. Steve, please double-check the CMS stuff...
parent 7c337e00
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -63,8 +63,11 @@
#include <time.h>
#include "apps.h" /* needs to be included before the openssl headers! */
#include <openssl/e_os2.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/evp.h>
#include <openssl/bn.h>

#if defined(NETWARE_CLIB)
#  ifdef NETWARE_BSDSOCK
+1 −0
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@ typedef unsigned int u_int;
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/ocsp.h>
#include <openssl/bn.h>
#include "s_apps.h"
#include "timeouts.h"

+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/ts.h>
#include <openssl/bn.h>

#undef PROG
#define PROG	ts_main
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@
#include <openssl/buffer.h>
#include <openssl/asn1.h>
#include <openssl/objects.h>
#include <openssl/bn.h>

int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp)
	{
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ BIO *BIO_new_mem_buf(void *buf, int len)
		BIOerr(BIO_F_BIO_NEW_MEM_BUF,BIO_R_NULL_PARAMETER);
		return NULL;
	}
	sz = (len<0) ? strlen(buf) : len;
	sz = (len<0) ? strlen(buf) : (size_t)len;
	if(!(ret = BIO_new(BIO_s_mem())) ) return NULL;
	b = (BUF_MEM *)ret->ptr;
	b->data = buf;
Loading