Commit 95dc05bc authored by Ulf Möller's avatar Ulf Möller
Browse files

Fix lots of warnings.

Submitted by: Richard Levitte <levitte@stacken.kth.se>
parent f36cd05b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -5,6 +5,13 @@

 Changes between 0.9.2b and 0.9.3

  *) Fix lots of warnings.
     [Richard Levitte <levitte@stacken.kth.se>]
 
  *) In add_cert_dir() in crypto/x509/by_dir.c, break out of the loop if
     the directory spec didn't end with a LIST_SEPARATOR_CHAR.
	 [Richard Levitte <levitte@stacken.kth.se>]
 
  *) Fix problems with sizeof(long) == 8.
     [Andy Polyakov <appro@fy.chalmers.se>]

+1 −1
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "apps.h"
#include "conf.h"
#include "bio.h"
#include "err.h"
#include "bn.h"
@@ -73,7 +74,6 @@
#include "x509v3.h"
#include "objects.h"
#include "pem.h"
#include "conf.h"

#ifndef W_OK
#include <sys/file.h>
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
 */

#include <stdio.h>
#include <string.h>
#include "pem.h"
#include "err.h"
#include "apps.h"
+1 −1
Original line number Diff line number Diff line
@@ -826,7 +826,7 @@ end:
static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, int attribs)
	{
	int ret=0,i;
	unsigned char *p,*q;
	char *p,*q;
	X509_REQ_INFO *ri;
	char buf[100];
	int nid,min,max;
+3 −2
Original line number Diff line number Diff line
@@ -208,7 +208,8 @@ int init_client_ip(int *sock, unsigned char ip[4], int port)

int nbio_sock_error(int sock)
	{
	int j,i,size;
	int j,i;
	unsigned int size;

	size=sizeof(int);
	i=getsockopt(sock,SOL_SOCKET,SO_ERROR,(char *)&j,&size);
@@ -359,7 +360,7 @@ int do_accept(int acc_sock, int *sock, char **host)
	int ret,i;
	struct hostent *h1,*h2;
	static struct sockaddr_in from;
	int len;
	unsigned int len;
/*	struct linger ling; */

	if (!sock_init()) return(0);
Loading