Adjust for OpenSSL 0.9.7.

This commit is contained in:
markm 2003-01-28 23:03:15 +00:00
parent ecacd12edb
commit 0d82b8beac
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)