Adjust for OpenSSL 0.9.7.
This commit is contained in:
parent
ecacd12edb
commit
0d82b8beac
@ -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
|
||||
|
@ -7,6 +7,6 @@ INCS= mp.h
|
||||
SRCS= mpasbn.c
|
||||
|
||||
WARNS?= 2
|
||||
CFLAGS+= -ansi -pedantic
|
||||
CFLAGS+= -I${.CURDIR}/../../crypto
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -3,7 +3,9 @@
|
||||
#ifndef _MP_H_
|
||||
#define _MP_H_
|
||||
|
||||
#ifndef HEADER_BN_H_
|
||||
#include <openssl/bn.h>
|
||||
#endif
|
||||
|
||||
typedef struct _mint {
|
||||
BIGNUM *bn;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user