Commit 6e781e8e authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Delete the unnecessary ERR and ERRC lines in makefiles, add some functionality

to error code script: it can now find untranslatable function codes (usually
because the function is static and not defined in a header: occasionally because
of a typo...) and unreferenced function and reason codes. To see this try:
perl util/mkerr.pl -recurse -debug
Also fixed some typos in crypto/pkcs12 that this found :-)
Also tidy up some error calls that had to be all on one line: the old error
script couldn't find codes unless the call was all on one line.
parent ad38bedb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,7 +13,8 @@
     aren't needed for error creation any more) and do a better job of
     translating function codes into names. The old 'ASN1 error code imbedded
     in a comment' is no longer necessary and it doesn't use .err files which
     have now been deleted.
     have now been deleted. Also the error code call doesn't have to appear all
     on one line (which resulted in some large lines...).
     [Steve Henson]

  *) Change #include filenames from <foo.h> to <openssl/foo.h>.
+0 −2
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@ EX_LIBS=
 
CFLAGS= $(INCLUDE) $(CFLAG) -DCFLAGS="\"$(CC) $(CFLAG)\"" -DPLATFORM="\"$(PLATFORM)\""

ERR=crypto
ERRC=cpt_err

LIBS=

+0 −2
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@ AR= ar r

CFLAGS= $(INCLUDES) $(CFLAG)

ERR=asn1
ERRC=asn1_err
GENERAL=Makefile README
TEST=
APPS=
+0 −2
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@ AR= ar r

CFLAGS= $(INCLUDES) $(CFLAG)

ERR=bio
ERRC=bio_err
GENERAL=Makefile
TEST=
APPS=
+0 −2
Original line number Diff line number Diff line
@@ -19,8 +19,6 @@ BN_ASM= bn_asm.o

CFLAGS= $(INCLUDES) $(CFLAG)

ERR=bn
ERRC=bn_err
GENERAL=Makefile
TEST=bntest.c exptest.c
APPS=
Loading