mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
Adjust for OpenSSL 0.9.7.
This commit is contained in:
parent
ab643b4d66
commit
cb9c19ff86
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110011
@ -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