Adjust for OpenSSL 0.9.7.

This commit is contained in:
Mark Murray 2003-01-28 23:03:15 +00:00
parent ab643b4d66
commit cb9c19ff86
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110011
4 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,7 @@ MAN= fetch.3
CLEANFILES= ftperr.h httperr.h
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
CFLAGS+= -DWITH_SSL
CFLAGS+= -DWITH_SSL -DOPENSSL_NO_KRB5
DPADD= ${LIBSSL} ${LIBCRYPTO}
LDADD= -lssl -lcrypto
WARNS?= 2

View file

@ -7,6 +7,6 @@ INCS= mp.h
SRCS= mpasbn.c
WARNS?= 2
CFLAGS+= -ansi -pedantic
CFLAGS+= -I${.CURDIR}/../../crypto
.include <bsd.lib.mk>

View file

@ -3,7 +3,9 @@
#ifndef _MP_H_
#define _MP_H_
#ifndef HEADER_BN_H_
#include <openssl/bn.h>
#endif
typedef struct _mint {
BIGNUM *bn;

View file

@ -79,10 +79,10 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <openssl/bn.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include "openssl/crypto/bn/bn_lcl.h"
#include "mp.h"
#define MPERR(s) do { warn s; abort(); } while (0)