Commit 49b81422 authored by Ulf Möller's avatar Ulf Möller
Browse files

Make the perl module compile and eliminate some of the warnings.

Still doesn't work (the destructor on BIO and SSL is called immediately
after creating the object. Why that??)
parent f0e8ae72
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@ all: Makefile.ssl
	(cd $$i && echo "making all in $$i..." && \
	$(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' SDIRS='${SDIRS}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \
	done;
	cd perl; $(PERL) Makefile.PL; make

sub_all:
	@for i in $(DIRS) ;\
@@ -207,8 +208,7 @@ linux-shared:

Makefile.ssl: Makefile.org
	@echo "Makefile.ssl is older than Makefile.org."
	@echo "Reconfigure the source tree (via 'perl Configure' or 'sh config')"
	@echo "and update the error lists (via 'make errors'), please."
	@echo "Reconfigure the source tree (via './config' or 'perl Configure'), please."
	@false

libclean:
+1 −1
Original line number Diff line number Diff line
lib
date.h
buildinf.h
opensslconf.h
Makefile.save
+1 −1
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ char *CRYPTO_get_ex_data(CRYPTO_EX_DATA *ad, int idx)
		return(sk_value(ad->sk,idx));
	}

/* The callback is called with the 'object', which is the origional data object
/* The callback is called with the 'object', which is the original data object
 * being duplicated, a pointer to the
 * 'new' object to be inserted, the index, and the argi/argp
 */
+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ openssl_digest.xs
openssl_err.xs
openssl_ssl.xs
openssl_x509.xs
openssl_cb.c
t/01-use.t
t/02-version.t
t/03-bio.t
+5 −2
Original line number Diff line number Diff line
@@ -2,7 +2,11 @@
##  Makefile.PL -- Perl MakeMaker specification
##

$V = '0.9.2b';
open(IN,"<../Makefile.ssl") || die "unable to open Makefile.ssl!\n";
while(<IN>) {
    $V=$1 if (/^VERSION=(.*)$/);
}
close(IN);
print "Configuring companion Perl module for OpenSSL $V\n";

use ExtUtils::MakeMaker;
@@ -18,7 +22,6 @@ WriteMakefile(
    'DEFINE'        => '',
    'INC'           => '-I../include',
    'H'             => ['openssl.h'],
    'C'             => ['openssl_cb.c'],
    'OBJECT' =>
        'OpenSSL.o ' .
        'openssl_bio.o ' .
Loading