Ulf Möller
1a01cad3ae
Pass the $PROCESSOR variable through.
1999-04-22 19:24:18 +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
Bodo Möller
ff6a143b37
CVS confusion?
...
Submitted by:
Reviewed by:
PR:
1999-04-22 15:06:12 +00:00
Ben Laurie
6cda1005f8
Reverse unexplained change.
1999-04-22 14:17:12 +00:00
Bodo Möller
5cc146f344
Fixed some race conditions.
...
Submitted by:
Reviewed by:
PR:
1999-04-22 13:37:46 +00:00
Dr. Stephen Henson
d943e37241
Suppport for CRL distribution points extension. Also document some of
...
this stuff.
1999-04-21 17:44:45 +00:00
Ulf Möller
59b82e4f69
New header file opensslconf.h contains the macros set by Configure.
...
The configuration process could use some more clean-ups.
1999-04-21 17:33:52 +00:00
Ulf Möller
8e10f2b3ac
Move all autogenerated header file parts to crypto/opensslconf.h.
1999-04-21 17:31:05 +00:00
Ben Laurie
cb145b995b
Remove some unnecessary(?) casting.
1999-04-21 13:25:40 +00:00
Ulf Möller
95dc05bc6d
Fix lots of warnings.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-04-20 22:50:42 +00:00
Ulf Möller
f36cd05b22
Fix some warnings.
1999-04-20 22:48:55 +00:00
Ulf Möller
8fb04b9803
Problems with 64-bit long.
...
Pointed out by Andy Polyakov <appro@fy.chalmers.se>.
1999-04-20 16:23:03 +00:00
Ulf Möller
8310d7df75
Remove useless defines.
1999-04-20 15:54:24 +00:00
Ulf Möller
bb8e7ab756
Problems with 64-bit long.
...
Pointed out by Andy Polyakov <appro@fy.chalmers.se>.
1999-04-20 15:54:03 +00:00
Ulf Möller
99f53c826d
Arguments are des_cblock.
1999-04-20 15:11:04 +00:00
Ben Laurie
2dcf04d160
Update dependencies.
1999-04-20 10:38:27 +00:00
Dr. Stephen Henson
f5fedc0497
Various fixes so Win32 compile may work. Convert GeneralNames to use safe stack.
1999-04-20 01:10:33 +00:00
Ulf Möller
8d8dbb67db
Missing #endif.
1999-04-19 22:28:44 +00:00
Ulf Möller
6b691a5c85
Change functions to ANSI C.
1999-04-19 21:31:43 +00:00
Dr. Stephen Henson
3edd7ed15d
Finish off support for Certificate Policies extension.
1999-04-19 17:55:11 +00:00
Ulf Möller
0ae645db10
Clean up prototypes (prepare for removing NOPROTO).
1999-04-19 16:30:06 +00:00
Ulf Möller
df82f5c85c
Fix typos in error codes.
1999-04-19 14:45:02 +00:00
Ulf Möller
46e8ddaf64
Definition did not match prototype.
...
Pointed out by: Bernhard Simon <simon@zid.tuwien.ac.at>
1999-04-19 14:33:29 +00:00
Ulf Möller
5e85b6abaf
SPARC v8 assembler BIGNUM code.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-04-19 13:41:45 +00:00
Bodo Möller
6c5d4168ff
Removed extra semicolons.
...
Submitted by:
Reviewed by:
PR:
1999-04-19 13:37:35 +00:00
Dr. Stephen Henson
41b731f2f8
Initial support for Certificate Policies extension: print out works but setting
...
isn't fully implemented (yet).
1999-04-18 23:21:03 +00:00
Ben Laurie
8de421b6d9
Fix const declarations.
1999-04-18 11:27:54 +00:00
Ben Laurie
9587030eb9
Update dependencies.
1999-04-18 11:10:22 +00:00
Dr. Stephen Henson
c83e523d7f
Allow asn1parse to print out VISIBLESTRING and some code needed for certificate
...
policies extension.
1999-04-17 23:55:39 +00:00
Ben Laurie
e778802f53
Massive constification.
1999-04-17 21:25:43 +00:00
Dr. Stephen Henson
d77b3054cd
Add support for VISIBLESTRING and UTF8String
1999-04-17 15:53:32 +00:00
Ben Laurie
cfdcfede9c
Another STACK bites the dust.
1999-04-17 10:28:46 +00:00
Dr. Stephen Henson
1d48dd0019
Add initial support for r2i RAW extensions which can access the config database
...
add various X509V3_CTX helper functions and support for LHASH as the config
database.
1999-04-16 23:57:04 +00:00
Ben Laurie
c5db363e1b
Fix some warnings. Contributed by Anonymous.
1999-04-16 18:13:27 +00:00
Ulf Möller
2fef6785c6
Write random seed file in binary mode.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-04-16 11:16:00 +00:00
Dr. Stephen Henson
953937bdc6
Fix a horrible BN bug in bn_expand2 which caused BN_add_word() et al to fail
...
when they cause the destination to expand.
To see how evil this is try this:
#include <pem.h>
main()
{
BIGNUM *bn = NULL;
int i;
bn = BN_new();
BN_hex2bn(&bn, "FFFFFFFF");
BN_add_word(bn, 1);
printf("Value %s\n", BN_bn2hex(bn));
}
This would typically fail before the patch.
It also screws up if you comment out the BN_hex2bn line above or in any
situation where BN_add_word() causes the number of BN_ULONGs in the result
to change (try doubling the number of FFs).
1999-04-15 23:07:00 +00:00
Dr. Stephen Henson
28a98809d1
Add some utilities to support SXNet extension also add support in DEF files
...
generator to typesafe stacks.
1999-04-14 23:44:41 +00:00
Bodo Möller
9e7bd9b5fe
Make Windows compilers happy.
...
Submitted by:Tom Titchener
Reviewed by:
PR:
1999-04-14 21:43:02 +00:00
Bodo Möller
f0f1b4e400
Some tiny fixes.
...
Submitted by:
Reviewed by:
PR:
Submitted by:
Reviewed by:
PR:
1999-04-14 20:17:23 +00:00
Dr. Stephen Henson
0490a86d01
Delete all the old X509V3 pack and unpack stuff and various structures and
...
files associated with them. This stuff is all obsoleted by the new X509V3 code.
1999-04-13 23:56:39 +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
Ben Laurie
f73e07cf42
Add type-safe STACKs and SETs.
1999-04-12 17:23:57 +00:00
Ralf S. Engelschall
268c2102e3
Make sure a corresponding plain text error message exists for the
...
X509_V_ERR_CERT_REVOKED/23 error number which can occur when a
verify callback function determined that a certificate was revoked.
1999-04-12 09:59:05 +00:00
Ben Laurie
c0035435a9
Rid the world of yet more evil casts.
1999-04-10 12:09:17 +00:00
Ben Laurie
5a88a6eabf
Rid the world of more evil casts.
1999-04-10 10:36:19 +00:00
Ben Laurie
215c24fc8e
Install signal handler if we are using sigaction.
1999-04-10 10:21:44 +00:00
Ulf Möller
28847dd153
Test PKCS#1 v1.5 padding as well.
1999-04-09 16:26:37 +00:00
Ulf Möller
a8da89186c
Separate DSA functionality from ASN.1 encoding.
...
New functions DSA_do_sign and DSA_do_verify to provide access to
the raw DSA values.
1999-04-09 16:24:32 +00:00
Bodo Möller
adbfb08354
Tiny comment to improve code comprehensibility.
...
Submitted by:
Reviewed by:
PR:
1999-04-09 07:12:17 +00:00
Dr. Stephen Henson
d2e26dccd1
Add PKCS#5 v2.0 ASN1 structures.
1999-04-08 23:55:42 +00:00
Bodo Möller
fa3da3cf09
Be more optimistic about the availability of termios for ~ECHO,
...
because sgtty emulation tends to fail on various systems.
Submitted by:
Reviewed by:
PR:
1999-04-08 17:10:27 +00:00
Ulf Möller
20232a9ca5
Bug fix for X.509 two-digit year.
...
Pointed out by Alexander Tyshlek <tyshlek@fuib.com> and Peter Gutmann
<pgut001@cs.auckland.ac.nz>
1999-04-06 15:29:54 +00:00
Ulf Möller
e8d628156f
Remove obsolete files from SSLeay 0.8.
1999-04-06 15:22:55 +00:00
Dr. Stephen Henson
a0960a1d5b
Did a 'make errors' to update asn1 error codes now typo is fixed
1999-04-01 23:42:53 +00:00
Dr. Stephen Henson
ba8608012a
Delete some auto generated files and correct a typo in crypto/asn1/p5_pbe.c
1999-04-01 23:18:05 +00:00
Ulf Möller
2fb50a2905
Include bn.h instead of defining BIGNUM as char.
1999-04-01 20:05:04 +00:00
Ben Laurie
e709e485d7
Update dependencies.
1999-04-01 15:51:21 +00:00
Ulf Möller
96219db838
Remove obsolete files.
1999-04-01 13:34:22 +00:00
Ulf Möller
99aab1619f
New Makefile variables $(RANLIB) and $(PERL).
1999-04-01 12:34:33 +00:00
Ulf Möller
6b01fa6490
pre-0.9.3 development version.
1999-04-01 11:58:28 +00:00
Ralf S. Engelschall
45ee1ef628
Add .cvsignore in new pkcs12 directory
1999-04-01 10:24:51 +00:00
Ulf Möller
2613c1fa2f
New option to generate 80386 code.
1999-03-31 12:38:27 +00:00
Ulf Möller
4f49cc7493
Remove file that is to be auto-generated by sha1-586.pl.
...
PR:
1999-03-30 18:41:16 +00:00
Ulf Möller
0f247decd0
New switch "386" to generate 80386 code (emulate bswap).
1999-03-30 12:49:36 +00:00
Dr. Stephen Henson
bc37a6b81c
Remove deleted PKCS#12 functions from pkcs12.h, get rid of object creation
...
kludge, remove CRs from ssl_ciph.c and update Win32 functions for PKCS#12
code. It might compile under Win32 now ...
1999-03-29 22:18:54 +00:00
Dr. Stephen Henson
ee0508d411
Include pkcs12 program as part of openssl. This completes most of the PKCS#12
...
integration.
1999-03-29 17:50:26 +00:00
Bodo Möller
7c0f3d09b3
Added comments to des_enc_{read,write} functions warning about their
...
cryptographic weakness (IV reuse).
1999-03-29 16:07:36 +00:00
Dr. Stephen Henson
67d5ac039f
Various PKCS#12 related tidies and fixes: it might even compile now :-)
1999-03-29 00:19:55 +00:00
Dr. Stephen Henson
8d8c7266d4
Yet more PKCS#12 integration: add lots of files under crypto/pkcs12 and add
...
them to the build environment.
1999-03-28 23:17:34 +00:00
Dr. Stephen Henson
cfcefcbe2a
Further PKCS#12 integration, PBE, PKCS#8 additions.
1999-03-28 17:46:10 +00:00
Dr. Stephen Henson
4b518c2601
This is the beginning of PKCS#12 integration. This just adds the PKCS#12
...
objects to objects.h
NOTE: during this integration it will not be possible to compile my PKCS#12
program against OpenSSL because there will be conflicts between the external
functionality and that being added to the core code.
1999-03-28 01:00:56 +00:00
Dr. Stephen Henson
2f0eae31af
extranet file added...
1999-03-27 14:07:44 +00:00
Dr. Stephen Henson
785cdf2048
Add initial support for Thawte strong extranet certificate extensions and
...
include an 'indent' option to V3 stuff.
1999-03-27 14:06:25 +00:00
Ben Laurie
67da3df72e
Fix Alpha assembler, remove redundant file.
1999-03-27 12:53:21 +00:00
Ralf S. Engelschall
0e9fc7115b
Make sure the RSA OAEP test is skipped under -DRSAref because
...
OAEP isn't supported when OpenSSL is built with RSAref.
Submitted by: Ulf Moeller <ulf@fitug.de>
Reviewed by: Ralf S. Engelschall
1999-03-25 07:49:33 +00:00
Ralf S. Engelschall
1b276f3012
Move definitions of IS_SET/IS_SEQUENCE inside crypto/asn1/asn1.h
...
so they no longer are missing under -DNOPROTO.
Submitted by: Soren S. Jorvang <soren@t.dk>
Reviewed by: Ralf S. Engelschall
1999-03-24 10:24:35 +00:00
Ben Laurie
b4cadc6e13
Fix security hole.
1999-03-22 12:22:14 +00:00
Ralf S. Engelschall
afb2306346
Some more source tree cleanups (removed obsolete files crypto/bf/asm/bf586.pl,
...
test/test.txt and crypto/sha/asm/f.s; changed permission on "config" script to
be executable) and a fix for the INSTALL document.
Submitted by: Ulf Moeller <ulf@fitug.de>
Reviewed by: Ralf S. Engelschall
1999-03-20 13:04:12 +00:00
Dr. Stephen Henson
0b415fb0ed
Using int for the digest length in EVP_DigestFinal() broke some compilers.
...
Changed to unsigned int: also need an evil cast in pk7_doit.c because a
signed, unsigned comparison chokes VC++.
1999-03-14 13:31:42 +00:00
Dr. Stephen Henson
199d59e5a1
Remove some references which called malloc and free instead of Malloc and Free.
1999-03-14 01:16:45 +00:00
Ben Laurie
b4899bb1fa
Fail if test fails.
1999-03-12 20:41:09 +00:00
Ben Laurie
2a04d1e453
Update dependencies.
1999-03-12 20:33:26 +00:00
Ben Laurie
cadf126b99
Use the right compiler for ctx_size.
1999-03-12 19:58:43 +00:00
Dr. Stephen Henson
abd4c91527
Fix for RSA private key encryption if p < q. This took ***ages*** to track down.
1999-03-11 02:42:13 +00:00
Ralf S. Engelschall
47c389e7cc
Just cosmetics: replace a tab with a normal space because
...
the tab always looked too estoeric to my eyes while building... ;)
1999-03-10 20:09:29 +00:00
Dr. Stephen Henson
381380206b
Fix couple of ANSI declarations and prototypes
1999-03-10 18:30:48 +00:00
Ben Laurie
b241fefd98
Fix quad checksum bug.
1999-03-09 11:37:23 +00:00
Dr. Stephen Henson
d4d2f98c59
Comment out two unimplemented functions from bio.h. Attempt to get the
...
Win32 test batch file going again.
1999-03-09 03:01:48 +00:00
Dr. Stephen Henson
0cc395796b
Add missing funtions from non ANSI section of header files and add missing
...
ordinals to libeay.num.
1999-03-08 22:46:56 +00:00
Dr. Stephen Henson
6e0642407d
Various fixes to Win32, update ssleay.num, libeay.num, shuffle various #ifdefs
...
around so more options appear in e_os.h
1999-03-08 18:41:15 +00:00
Ralf S. Engelschall
d10f052be5
Make `openssl version' output lines consistent.
1999-03-08 12:35:01 +00:00
Ralf S. Engelschall
9ea0e64de7
Two more .cvsignore files for the assembler stuff
1999-03-08 09:47:30 +00:00
Dr. Stephen Henson
1f0f37b0a4
Delete obsolete old X509V3 files.
1999-03-07 16:25:59 +00:00
Ben Laurie
05dc84b82b
Fix DWP when only given three parameters.
1999-03-07 15:08:04 +00:00
Dr. Stephen Henson
1756d405cc
Added support for adding extensions to CRLs, also fix a memory leak and
...
make 'req' check the config file syntax before it adds extensions. Added
info in the documentation as well.
1999-03-06 19:33:29 +00:00
Ben Laurie
6242bb9c63
Put the dependencies back.
1999-03-06 14:32:48 +00:00
Ralf S. Engelschall
bb8f3c5879
General source tree makefile cleanups: Made `making xxx in yyy...' display
...
consistent in the source tree and replaced `/bin/rm' by `rm'. Additonally
cleaned up the `make links' target: Remove unnecessary semicolons, subsequent
redundant removes, inline point.sh into mklink.sh to speed processing and no
longer clutter the display with confusing stuff. Instead only the actually
done links are displayed.
1999-03-06 12:32:06 +00:00
Ralf S. Engelschall
f9b2e53052
Fix GCC warning...
...
t_req.c: In function `X509_REQ_print':
t_req.c:181: warning: suggest explicit braces to avoid ambiguous `else'
1999-03-06 11:58:03 +00:00
Dr. Stephen Henson
79a474e8f2
Add an extra 'raw' function r2i to the extension code. Nothing uses this yet and
...
it is just a place holder for functionality to be added later. Its been added
now so the X509V3_EXT_METHOD structure shouldn't (hopefully) have to change
after the release.
1999-03-06 02:34:07 +00:00
Dr. Stephen Henson
924acc5451
Fix the PKCS#7 stuff: signature verify could fail if attributes reordered, the
...
detached data encoding was wrong and free up public keys.
1999-03-05 02:05:15 +00:00