Commit graph

398 commits

Author SHA1 Message Date
Andy Polyakov
2dae04d038 RC4 tune-up featuring 30-40% performance improvement on most RISC
platforms. See crypto/rc4/rc4_enc.c for further details.
1999-10-07 12:03:59 +00:00
Ulf Möller
d4cf2f1882 HPUX 11 flags.
Contributed by: Peter Huang <PETER_HUANG@HP-Cupertino-om8.om.hp.com>
1999-09-30 08:32:54 +00:00
Ulf Möller
49e747e670 Generate obj_dat.h in "make update". 1999-09-29 21:03:02 +00:00
Bodo Möller
d0f2876c3f Add some debug-solaris-...-cc configurations. 1999-09-14 15:05:45 +00:00
Bodo Möller
c82c1d4a9d Truncate message about "new" include filenames 1999-09-10 00:29:33 +00:00
Bodo Möller
63d3f44abf Re-enable message about transition <foo.h> => <openssl/foo.h>
because various programs are not updated that often
and hence still expect header files names without the openssl/ prefix.
1999-09-09 20:21:10 +00:00
Ulf Möller
b7d7440cf5 Correct address in a comment. 1999-09-07 17:07:45 +00:00
Andy Polyakov
0bbd03525e Minor MIPS III/IV tune-up. 1999-08-24 16:02:16 +00:00
Ulf Möller
0b7618888b editing error. 1999-08-13 21:02:25 +00:00
Ulf Möller
5c1d0b314a Honor $PERL environment variable in Configure.
Submitted by: Even Holen <Even.Holen@itea.ntnu.no>
1999-08-13 20:48:32 +00:00
Ulf Möller
1bf0b46b13 Add pkcs7 and des apps to "make all". 1999-08-13 19:21:53 +00:00
Bodo Möller
cab161c85f Disable the text about foo.h => openssl/foo.h.
Everyone should have got it by now.
1999-08-12 11:31:01 +00:00
Dr. Stephen Henson
fd52057729 Add functions to allow extensions to be added to certificate requests.
Modify obj_dat.pl to take its files from the command line. Usage is now
perl obj_dat.pl objects.h obj_dat.h
this should avoid redirection shell escape problems under Win32.
1999-08-11 13:08:58 +00:00
Ralf S. Engelschall
70d65fe0e0 Backout the following change:
| revision 1.109
| date: 1999/06/24 19:39:23;  author: ulf;  state: Exp;  lines: +0 -1
| Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD
| versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.)

Because Ulf overlooked the ELF vs. a.out difference, i.e. the two entries were
_NOT_ identical! This way OpenSSL 0.9.4 at least compiles again under FreeBSD
2 and 3. For 0.9.5-dev I'll try to fix the stuff in a more general way to also
allow FreeBSD 4 and other variants.
1999-08-08 11:56:29 +00:00
Dr. Stephen Henson
ef54bde85b Configure fix for Windows: under Windows+perl "system" ends up going via the
command shell which means that redirecttion needs backslashes in the paths.
1999-08-04 22:52:46 +00:00
Bodo Möller
50ccbc13f6 automatically use no-mdc2 if no-des is requested. 1999-08-02 22:13:46 +00:00
Bodo Möller
3518b4cd08 Revert previous change -- it was an accident. 1999-08-02 21:58:03 +00:00
Bodo Möller
a851544169 avoid some NO_<cipher> problems 1999-08-02 21:44:49 +00:00
Bodo Möller
571199434c Always use buildinf.h, which now includes the mk1mfinf.h data.
Using different files caused problems because the dependencies
in the Makefiles produced by mk1mf.pl were for the standard case,
i.e. mentioned buildinf.h and not mk1mfinf.h.
1999-07-29 12:57:23 +00:00
Bodo Möller
2e0fc87599 Use correct CFLAG definition for makefile.one builds. 1999-07-27 09:10:36 +00:00
Andy Polyakov
1656ef2997 SPARC Solaris config updates.
./config sences whole range of SPARC instruction sets. Do note that
it favors Sun C now if both gcc and cc 4.2 or later are present!
1999-07-25 22:25:12 +00:00
Andy Polyakov
da8fa72f99 SGI IRIX config updates. 1999-07-25 20:40:58 +00:00
Andy Polyakov
a0618e3e5e Added support for SPARC Linux. 1999-07-25 15:13:49 +00:00
Bodo Möller
664b99853c avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
use new file buildinf.h instead.
1999-07-21 20:49:15 +00:00
Andy Polyakov
7363455fac MIPS III/IV assembler module is reimplemented. 1999-07-20 15:50:20 +00:00
Bodo Möller
e391116a48 New compile time option -DCRYPTO_MDEBUG_THREAD. 1999-07-19 10:36:10 +00:00
Bodo Möller
458cddc104 Have CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
and make it the default for some debugging configurations.
1999-07-19 09:25:35 +00:00
Bodo Möller
3dff94c2e4 Add optional (compile-time configurable) time to CRYPTO_mem_leaks output.
This is much more helpful than the counter when doing tests with the library
interactively.
1999-07-18 22:39:45 +00:00
Ulf Möller
f6f0420dfe Did not check the last SDIR line for excluded algorithms. 1999-07-16 00:49:51 +00:00
Bodo Möller
b5b22731f1 Judging from various messages on the OpenSSL mailing lists, HP-UX 10
with cc (but not gcc) seems to work well with BN_LLONG; but -O4 is too
much.
1999-07-14 18:09:59 +00:00
Bodo Möller
9e935d7e4c Provide CFLAGS and PLATFORM information on Windows platforms. 1999-07-09 14:04:57 +00:00
Bodo Möller
fbabb75207 Don't confuse mk1mf.pl by combining multiple options into one. 1999-07-09 12:00:34 +00:00
Ulf Möller
11302c699d Broken HPUX cc. 1999-07-09 01:17:51 +00:00
Bodo Möller
e334d78b87 Disable asserts for standard configurations. 1999-07-05 10:18:51 +00:00
Bodo Möller
b2f82c3fe3 make debug-solaris-[u]sparc-gcc more useful 1999-07-05 10:09:24 +00:00
Bodo Möller
ff1b7e09bc The Mingw32 configuration entry was missing one colon (found by
"Zot O'Connor" <zot@ZotConsulting.com>).
Also, Windows probably does not need the warning about multi-threading.
1999-06-26 21:25:01 +00:00
Bodo Möller
731cae1428 configuration change for debugging 1999-06-26 01:59:00 +00:00
Ulf Möller
9b67b4b3ca Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD
versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.)
1999-06-24 19:39:23 +00:00
Bodo Möller
946cbf67af Don't use inline assembler when configured for "no-asm". 1999-06-23 12:18:31 +00:00
Bodo Möller
0c5a65639d Make some debug-... configurations more useful for debugging. 1999-06-21 21:04:18 +00:00
Bodo Möller
9239e45ba6 Provide fallback configurations for all hpux... configurations
(problems with BN_LLONG have been reported both for hpux-cc
and for hpux10-gcc).
1999-06-14 13:56:26 +00:00
Bodo Möller
86b0c475d7 NeXT 3.3 can handle -O3 (3.0 can't). 1999-06-10 20:13:33 +00:00
Bodo Möller
522aefbb5a hpux-cc (HPUX 9.x) does not work with BN_LLONG (floating point exceptions).
Submitted by: Andreas Ley <andy@rz.uni-karlsruhe.de
1999-06-10 18:34:48 +00:00
Ralf S. Engelschall
9d9b559ef0 Fix determination of Perl interpreter: A perl or perl5
_directory_ in $PATH was also accepted as the interpreter.
1999-06-10 08:13:52 +00:00
Ulf Möller
5a2e24bad8 Put SC5 warning back in, future changes might trigger the compiler bug again. 1999-06-09 23:29:23 +00:00
Ulf Möller
f352de9f1d Don't define _ANSI_SOURCE for NetBSD.
Submitted by: Eric Ding <ericding@MIT.EDU>
1999-06-09 21:09:04 +00:00
Bodo Möller
32933c961b Delete unnecessary newlines in TABLE 1999-06-09 18:04:44 +00:00
Bodo Möller
e766a681aa Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).
Allow configuring the name of that header file.
1999-06-09 13:23:38 +00:00
Bodo Möller
861b0ddd27 Use only -O, not -O3 for NeXTstep:
> The nextstep port uses the -O3 switch to gcc.  Support for -O3 didn't appear
> until later (and buggier) versions of NeXTstep.  Use -O instead, or have a
> separate port.

Submitted by: Mark Crispin <MRC@Panda.COM>
1999-06-07 13:20:41 +00:00
Bodo Möller
47aae74e4a "linux-sparc" configuration.
Submitted by: Christian Forster <fo@hawo.stw.uni-erlangen.de>
1999-06-07 00:25:08 +00:00
Bodo Möller
885982dc6e "linux-sparc64-gcc" configuration
Submitted by: Ray Miller <ray.miller@oucs.ox.ac.uk>
1999-06-04 21:46:35 +00:00
Ulf Möller
a53955d8ab Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress).
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-06-04 21:35:58 +00:00
Ulf Möller
3a0d23c87e gcc dumps core on HPUX. 1999-06-04 12:33:05 +00:00
Bodo Möller
02ee237fdf Adjust bsdi-elf-gcc to look more like FreeBSD-elf, linux-elf and the like. 1999-05-31 06:06:52 +00:00
Bodo Möller
0cceb1c708 BSD/OS 4.x support (bsdi-elf-gcc) 1999-05-30 23:54:52 +00:00
Bodo Möller
436a376bb0 Some assembler-related clean-ups. 1999-05-28 23:18:51 +00:00
Bodo Möller
2e36cc41ef sco5-gcc configuration.
Submitted by: David Greaves
1999-05-28 20:25:30 +00:00
Bodo Möller
288d2fb959 Set #!... path to Perl in apps/der_chop automatically. 1999-05-25 22:31:49 +00:00
Bodo Möller
9890b00082 Temporary workaround for IRIX64 build.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-25 20:27:41 +00:00
Bodo Möller
bdc98ffba9 Don't use NULL-pointer :-/ 1999-05-23 16:19:08 +00:00
Ulf Möller
1fac96e4d6 Detect Siemens platforms.
Submitted by: Martin Kraemer <Martin.Kraemer@MchP.Siemens.De>
1999-05-20 17:28:19 +00:00
Ulf Möller
e14d4443a2 Bignum library bug fix. IRIX 6 passes "make test" now!
This also avoids the problems with SC4.2 and unpatched SC5.

Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-20 01:43:07 +00:00
Bodo Möller
a2cb72537a Add -mv8 to solaris-usparc-oldgcc. 1999-05-19 22:45:08 +00:00
Bodo Möller
054810ec0e For Solaris with old gcc versions (that don't understand
-mcpu=ultrasparc), don't silently step to solaris-sparc-gcc, which
would unnecessarily use less efficient assembler code.
Instead, use new configuration variant solaris-usparc-oldgcc;
this also means that someone who reads the output of ./config will
notice that it may be advantegeous to upgrade gcc.
1999-05-19 12:27:33 +00:00
Ulf Möller
a2b21737b9 BSD alpha config.
Submitted by: Rich Bud <rbud@fortean.com>
1999-05-18 16:04:03 +00:00
Bodo Möller
84d148778e Don't run "make depend" automatically. 1999-05-16 10:55:40 +00:00
Ulf Möller
bd3576d2dd Reorganize and speed up MD5.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-13 13:16:42 +00:00
Ulf Möller
31ff97b28a mk1mf.pl and mkdef.pl read OPTIONS from toplevel Makefile.
Configure no longer changes files in place.
1999-05-13 10:28:14 +00:00
Ulf Möller
898110db6d Fix for +xxx options.
Submitted by: Anonymous
1999-05-10 20:38:47 +00:00
Bodo Möller
699dbecaf7 New entry debug-solaris-usparc-gcc, as debug-solaris-sparc-gcc no longer
applies to usparc systems.
Submitted by:
Reviewed by:
PR:
1999-05-10 11:07:50 +00:00
Ben Laurie
5b640028cb Make -pedantic work again. 1999-05-07 15:42:23 +00:00
Ulf Möller
31a674d8c9 Support additional Win32 compilers.
Borland C submitted by: Janez Jere <jj@void.si>
1999-05-06 00:46:34 +00:00
Ulf Möller
f020bef164 Note about required SC5.0 patches. 1999-05-05 17:58:11 +00:00
Ulf Möller
8e7f966bf3 SHA-1 cleanups and performance enhancements.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-05 00:23:53 +00:00
Ulf Möller
744029c154 Recognise Ultra Sparc and compiler version number. 1999-05-04 23:18:24 +00:00
Ulf Möller
ef0a535485 solaris64 entry.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-04 22:28:11 +00:00
Ulf Möller
4f5fac8011 Sparc v8plus assembler.
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-04 20:35:18 +00:00
Ulf Möller
afd1f9e80b Update HPUX config, work around HPUX library incompatibility.
Submitted by: Anonymous
1999-05-04 11:52:26 +00:00
Ben Laurie
0b3f827cf5 Yet another stack. 1999-05-02 21:36:58 +00:00
Ulf Möller
f223f0c054 Better Sun config.
Submitted by: Anonymous
1999-04-30 18:29:27 +00:00
Bodo Möller
0e88cb260b Remove extra brace.
Submitted by:
Reviewed by:
PR:
1999-04-30 11:28:46 +00:00
Ulf Möller
7185e2d6cd $perl should never be empty. 1999-04-29 22:10:24 +00:00
Bodo Möller
e5f3045fbf Support INSTALL_PREFIX for packagers.
Submitted by:
Reviewed by:
PR:
1999-04-29 21:52:08 +00:00
Ulf Möller
5dfc369ffc Close files. 1999-04-29 16:22:55 +00:00
Bodo Möller
5f8d5c967f New Configure options "threads" and "no-threads".
For Solaris and Linux, "threads" (with proper compiler options)
is the default.
Submitted by:
Reviewed by:
PR:
1999-04-29 16:10:09 +00:00
Ulf Möller
836b286fe9 exptest dumps core. Optimizer bug? 1999-04-29 16:01:53 +00:00
Bodo Möller
1314c344ac Obey $(PERL) when running util/mklink.pl.
Submitted by:
Reviewed by:
PR:
1999-04-29 12:46:59 +00:00
Ulf Möller
0973910fbb Linux shared libraries. 1999-04-28 16:16:31 +00:00
Ulf Möller
79df9d6272 New Configure option no-<cipher> (rsa, idea, rc5, ...). 1999-04-27 03:19:12 +00:00
Ulf Möller
f5d7a031a3 New Configure option no-<cipher> (rsa, idea, rc5, ...). 1999-04-27 01:14:46 +00:00
Dr. Stephen Henson
a1e464f94a Fixes so it will compile again under Win32. 1999-04-25 20:57:09 +00:00
Ulf Möller
8e945b5efb Submitted by:
Reviewed by:
PR:
1999-04-25 11:01:07 +00:00
Bodo Möller
cd46aa4ae7 Fixed a typo.
Submitted by:
Reviewed by:
PR:
1999-04-25 10:28:26 +00:00
Ulf Möller
45050a7f3d exit on error. 1999-04-25 09:22:05 +00:00
Ulf Möller
462ba4f6b6 New Configure option --openssldir to replace util/ssldir.pl. 1999-04-24 22:59:36 +00:00
Bodo Möller
09be75a480 Submitted by:
Reviewed by:
PR:

Submitted by:
Reviewed by:
PR:
1999-04-23 23:27:50 +00:00
Bodo Möller
ab96338315 Submitted by:
Reviewed by:
PR:
1999-04-23 22:32:04 +00:00
Bodo Möller
ec577822f9 Change #include filenames from <foo.h> to <openssl.h>.
Submitted by:
Reviewed by:
PR:
1999-04-23 22:13:45 +00:00
Ulf Möller
995e79e317 Andy Polyakov points out that BF_PTR2 is slower than the generic case. 1999-04-23 21:29:45 +00:00
Ben Laurie
61f5b6f338 Work with -pedantic! 1999-04-23 15:01:15 +00:00
Ulf Möller
9d07a3c9a5 Ultrix compatibility.
Submitted by: Bernhard Simon <simon@zid.tuwien.ac.at>
1999-04-22 16:30:17 +00:00
Ulf Möller
8e10f2b3ac Move all autogenerated header file parts to crypto/opensslconf.h. 1999-04-21 17:31:05 +00:00
Ulf Möller
b30ff644ad -Wall implies -Wuninitialized. 1999-04-20 22:48:03 +00:00
Ulf Möller
434c5dd37c Document additional Configure flags. 1999-04-19 15:19:58 +00:00
Ulf Möller
a723979da8 Error in comment. 1999-04-19 14:55:56 +00:00
Ulf Möller
22a4f969b9 Defunct assembler files removed; various cleanups.
New Ultrix and Alpha entries submitted by Bernhard Simon
<simon@zid.tuwien.ac.at>.
1999-04-19 13:54:11 +00:00
Bodo Möller
c933b45e02 New "Configure" entry (Solaris with debug info)
Submitted by:
Reviewed by:
PR:
1999-04-19 13:40:07 +00:00
Ben Laurie
e778802f53 Massive constification. 1999-04-17 21:25:43 +00:00
Ben Laurie
c5db363e1b Fix some warnings. Contributed by Anonymous. 1999-04-16 18:13:27 +00:00
Ulf Möller
5fbe91d86b New Configure option "rsaref". 1999-04-13 00:58:49 +00:00
Bodo Möller
5fd4e2b16b Don#t auto-generate crypto/pem/pem.h -- a fixed file is fine for it.
Submitted by:
Reviewed by:
PR:
1999-04-12 19:58:17 +00:00
Ulf Möller
a5a47e4afb Use Perl 5 even if Perl 4 comes first in the search path. 1999-04-09 16:25:25 +00:00
Ulf Möller
f4ea5ec563 Fix linux-mips entry.
Submitted by: Niels Poppe <niels@netbox.org>
1999-04-08 00:10:19 +00:00
Ulf Möller
99aab1619f New Makefile variables $(RANLIB) and $(PERL). 1999-04-01 12:34:33 +00:00
Ulf Möller
2613c1fa2f New option to generate 80386 code. 1999-03-31 12:38:27 +00:00
Ben Laurie
ba423adddd Linux PPC support. 1999-03-27 13:03:37 +00:00
Ben Laurie
999e5715f2 Allow bsdi-gcc - see if it gets anyone anywhere. 1999-03-12 20:31:13 +00:00
Ben Laurie
29c0fccba8 Solaris shared library support. 1999-03-12 20:26:27 +00:00
Ben Laurie
cbb7792613 Go faster. 1999-03-09 10:10:03 +00:00
Ben Laurie
dd56626ecc Don't make links in INSTALL doc - also, work first time! 1999-03-07 15:22:59 +00:00
Ben Laurie
efadf60f9c Don't make links on Windoze. 1999-03-07 15:21:08 +00:00
Ben Laurie
7d3ce7ba37 Linux MIPS support. 1999-03-07 14:17:32 +00:00
Ben Laurie
cba5068d10 Always make links. 1999-03-07 14:05:36 +00:00
Ralf S. Engelschall
116e315303 Add a useful kludge to allow package maintainers to specify compiler and other
platforms details on the command line without having to patch the Configure
script everytime: One now can use ``perl Configure <id>:<details>'', i.e.
platform ids are allowed to have details appended to them (seperated by
colons). This is treated as there would be a static pre-configured entry in
Configure's %table under key <id> with value <details> and ``perl Configure
<id>'' is called.  So, when you want to perform a quick test-compile under
FreeBSD 3.1 with pgcc and without assembler stuff you can use ``perl Configure
"FreeBSD-elf:pgcc:-O6:::"'' now, which overrides the FreeBSD-elf entry
on-the-fly.

(PS: Notice that the same effect _cannot_ be achieved by using
     ``make CC=pgcc ..'' etc, because you cannot override all
     things from there.)
1999-03-06 16:07:47 +00:00
Ralf S. Engelschall
3eb0ed6d91 Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified on the `perl
Configure ...' command line. This way one can compile OpenSSL libraries with
Position Independent Code (PIC) which is needed for linking it into DSOs.
1999-03-06 14:35:03 +00:00
Ralf S. Engelschall
0de6fd7361 Ralf is now using FreeBSD 3.1 which runs ELF instead of a.out... 1999-03-06 13:15:15 +00:00
Ben Laurie
4f9b306ca7 Fix clearly untested "clever" hack. 1999-02-25 09:43:26 +00:00
Ralf S. Engelschall
a4ed5532a8 Don't hard-code path to Perl interpreter on shebang line of Configure
script. Instead use the usual Shell->Perl transition trick.
1999-02-25 08:48:52 +00:00
Ben Laurie
15799403ad Fix more warnings. 1999-02-23 12:53:49 +00:00
Ben Laurie
57c86f79bb Fix a warning. 1999-02-20 16:36:28 +00:00
Dr. Stephen Henson
1750ebcba9 Patch to Configure script. For some reason the BN_ASM part was truncated to
the first word which broke (at least) the Linux compile. Hopefully this wont
break other platforms.
1999-02-14 22:47:21 +00:00
Dr. Stephen Henson
9becf66621 Oops... add other changes this time too. 1999-02-13 23:13:32 +00:00
Ben Laurie
08853ba82d Finally(?) fix DES stuff. 1999-02-13 21:49:34 +00:00
Ben Laurie
0628728556 Actually use BN when selected! 1999-02-12 19:33:55 +00:00
Ben Laurie
6457ad15a8 Minor tweaks to keep Perl 5.001 happy. 1999-02-07 18:22:15 +00:00
Dr. Stephen Henson
df0af1a7d8 More Win32 fixes. The Configure script used to give *lots* of warnings about
use of undefined variables: kludge so they all get initialised. Also avoid use
of POSIX module.
1999-02-01 00:43:14 +00:00
Ralf S. Engelschall
e04a6c2b35 Add CygWin32 platform information to Configure script.
Submitted by: Alan Batie <batie@aahz.jf.intel.com>
1999-01-30 11:50:48 +00:00
Ralf S. Engelschall
9b21f59103 Fix an error message 1998-12-30 07:12:35 +00:00
Ben Laurie
f2d4be3b84 Make Configure work again after eliminating files. 1998-12-28 22:05:44 +00:00
Ben Laurie
8d7ed6ff90 Deal with generated files. 1998-12-28 21:58:19 +00:00
Ben Laurie
29c7896f13 This is not a bug in NT Perl, its a bug in Configure. 1998-12-28 19:36:49 +00:00
Ben Laurie
448cb8b56f Require Perl 5. 1998-12-28 17:37:17 +00:00
Ben Laurie
11ee069b91 Fix option listing. 1998-12-28 17:35:02 +00:00
Ben Laurie
1641cb6043 Add strictness, fix variable substition bugs. 1998-12-28 17:08:48 +00:00
Ralf S. Engelschall
13e91dd365 Incorporation of RSEs assembled patches 1998-12-22 15:59:57 +00:00
Ralf S. Engelschall
dfeab0689f Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
Ralf S. Engelschall
58964a4922 Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
Ralf S. Engelschall
d02b48c63a Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00