oweals/openssl.git
25 years agoMore extension code. Incomplete support for subject and issuer alt
Dr. Stephen Henson [Wed, 10 Feb 1999 01:12:59 +0000 (01:12 +0000)]
More extension code. Incomplete support for subject and issuer alt
name, issuer and authority key id. Change the i2v function parameters
and add an extra 'crl' parameter in the X509V3_CTX structure: guess
what that's for :-) Fix to ASN1 macro which messed up
IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.

25 years agoUpdate dependencies.
Ben Laurie [Tue, 9 Feb 1999 23:02:47 +0000 (23:02 +0000)]
Update dependencies.

25 years agoMore exactitude with function arguments.
Ben Laurie [Tue, 9 Feb 1999 23:01:08 +0000 (23:01 +0000)]
More exactitude with function arguments.

25 years agoOops... forgot to add new ENUMERATED file...
Dr. Stephen Henson [Tue, 9 Feb 1999 01:30:41 +0000 (01:30 +0000)]
Oops... forgot to add new ENUMERATED file...

25 years agoSupport for ASN1 ENUMERATED type. This copies and duplicates the ASN1_INTEGER
Dr. Stephen Henson [Tue, 9 Feb 1999 01:29:37 +0000 (01:29 +0000)]
Support for ASN1 ENUMERATED type. This copies and duplicates the ASN1_INTEGER
code and adds support to ASN1_TYPE and asn1parse.

25 years agoComment out def of currently unimplemented function to stop warning.
Dr. Stephen Henson [Mon, 8 Feb 1999 00:48:30 +0000 (00:48 +0000)]
Comment out def of currently unimplemented function to stop warning.

25 years agoMinor tweaks to keep Perl 5.001 happy.
Ben Laurie [Sun, 7 Feb 1999 18:22:15 +0000 (18:22 +0000)]
Minor tweaks to keep Perl 5.001 happy.

25 years agoFix filename in comment.
Dr. Stephen Henson [Sun, 7 Feb 1999 01:34:26 +0000 (01:34 +0000)]
Fix filename in comment.

25 years agoAdd support for GeneralName and GeneralNames extensions. Also preliminary
Dr. Stephen Henson [Sun, 7 Feb 1999 00:14:12 +0000 (00:14 +0000)]
Add support for GeneralName and GeneralNames extensions. Also preliminary
support for subject and issuer alt name. Add a new ASN1 macro and fix a
nasty bug that left an ASN1 buffer modified on an error condition with
IMPLICIT tagging.

25 years agoDelete legacy file.
Dr. Stephen Henson [Sat, 6 Feb 1999 20:30:40 +0000 (20:30 +0000)]
Delete legacy file.

25 years agoSlightly improved diagnostics.
Ben Laurie [Sat, 6 Feb 1999 18:09:13 +0000 (18:09 +0000)]
Slightly improved diagnostics.

25 years agoProcess extensions when they are there.
Ben Laurie [Sat, 6 Feb 1999 17:46:23 +0000 (17:46 +0000)]
Process extensions when they are there.

25 years agoDiagnose errors.
Ben Laurie [Sat, 6 Feb 1999 15:20:44 +0000 (15:20 +0000)]
Diagnose errors.

25 years agoTypo in arguments.
Ben Laurie [Sat, 6 Feb 1999 15:19:16 +0000 (15:19 +0000)]
Typo in arguments.

25 years agoClear error we don't care about.
Ben Laurie [Sat, 6 Feb 1999 13:30:37 +0000 (13:30 +0000)]
Clear error we don't care about.

25 years agoRename v3_bitstr.c to v3_bitst.c to fit in 8+3. Rebuild MINFO to reflect
Dr. Stephen Henson [Sat, 6 Feb 1999 12:35:53 +0000 (12:35 +0000)]
Rename v3_bitstr.c to v3_bitst.c to fit in 8+3. Rebuild MINFO to reflect
change.

25 years agoadd what I'm doing and a vote
Mark J. Cox [Mon, 1 Feb 1999 08:18:31 +0000 (08:18 +0000)]
add what I'm doing and a vote

Submitted by:
Reviewed by:
PR:

25 years agoOops! Restore ssleay.num: it got overwritten with libeay.num :-(
Dr. Stephen Henson [Mon, 1 Feb 1999 01:25:19 +0000 (01:25 +0000)]
Oops! Restore ssleay.num: it got overwritten with libeay.num :-(

25 years agoDelete bogus V3 prototype and update the *.num files to include ordinals for
Dr. Stephen Henson [Mon, 1 Feb 1999 01:17:53 +0000 (01:17 +0000)]
Delete bogus V3 prototype and update the *.num files to include ordinals for
the new functions. Update MINFO.

25 years agoMore Win32 fixes. The Configure script used to give *lots* of warnings about
Dr. Stephen Henson [Mon, 1 Feb 1999 00:43:14 +0000 (00:43 +0000)]
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.

25 years agoFix various stuff: that VC++ 5.0 chokes on:
Dr. Stephen Henson [Sun, 31 Jan 1999 17:30:18 +0000 (17:30 +0000)]
Fix various stuff: that VC++ 5.0 chokes on:
1. Add *lots* of missing prototypes for static ssl functions.
2. VC++ doesn't understand the 'LL' suffix for 64 bits constants: change bn.org
3. Add a few missing prototypes in pem.org
Fix mk1mf.pl so it outputs a Makefile that doesn't choke Win95.
Fix mkdef.pl so it doesn't truncate longer names.

25 years agoYet more pissing about to get PEM built at the right moment.
Ben Laurie [Sun, 31 Jan 1999 15:00:12 +0000 (15:00 +0000)]
Yet more pissing about to get PEM built at the right moment.

25 years agoAdd new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.
Mark J. Cox [Sun, 31 Jan 1999 12:14:39 +0000 (12:14 +0000)]
Add new function, EVP_MD_CTX_copy() to replace frequent use of memcpy.

Submitted by: Eric A Young - from changes to C2Net SSLeay
Reviewed by: Mark Cox
PR:

25 years agoReflect correct filename
Ralf S. Engelschall [Sun, 31 Jan 1999 11:19:17 +0000 (11:19 +0000)]
Reflect correct filename

25 years agoUpdate README file a little bit...
Ralf S. Engelschall [Sun, 31 Jan 1999 11:15:44 +0000 (11:15 +0000)]
Update README file a little bit...

25 years agoMake sure `make rehash' target really finds the `openssl' program.
Ralf S. Engelschall [Sun, 31 Jan 1999 11:10:10 +0000 (11:10 +0000)]
Make sure `make rehash' target really finds the `openssl' program.

25 years agoFix some more typos
Mark J. Cox [Sun, 31 Jan 1999 09:59:54 +0000 (09:59 +0000)]
Fix some more typos

Submitted by:
Reviewed by:
PR:

25 years agofix typo
Mark J. Cox [Sun, 31 Jan 1999 09:57:00 +0000 (09:57 +0000)]
fix typo

Submitted by:
Reviewed by:
PR:

25 years agoSqueeze a bit more speed out of MD5 assembler.
Ben Laurie [Sat, 30 Jan 1999 17:53:00 +0000 (17:53 +0000)]
Squeeze a bit more speed out of MD5 assembler.

25 years agoUpdate STATUS, modify ssl.h so mkdef.pl will pick up prototypes and
Dr. Stephen Henson [Sat, 30 Jan 1999 17:35:01 +0000 (17:35 +0000)]
Update STATUS, modify ssl.h so mkdef.pl will pick up prototypes and
add x509v3.h to mkdef.pl list of include files.

25 years agoMore pissing about to get pem.h to behave properly.
Ben Laurie [Sat, 30 Jan 1999 14:05:52 +0000 (14:05 +0000)]
More pissing about to get pem.h to behave properly.

25 years agoBreak circular dependency between pem and err.
Ben Laurie [Sat, 30 Jan 1999 13:40:34 +0000 (13:40 +0000)]
Break circular dependency between pem and err.

25 years agoIgnore crypto/x509v3/lib
Ralf S. Engelschall [Sat, 30 Jan 1999 13:26:41 +0000 (13:26 +0000)]
Ignore crypto/x509v3/lib

25 years agoUpdate dependencies.
Ben Laurie [Sat, 30 Jan 1999 12:49:44 +0000 (12:49 +0000)]
Update dependencies.

25 years agoAdd dependencies.
Ben Laurie [Sat, 30 Jan 1999 12:15:11 +0000 (12:15 +0000)]
Add dependencies.

25 years agoUpdate
Ralf S. Engelschall [Sat, 30 Jan 1999 12:06:16 +0000 (12:06 +0000)]
Update

25 years agoUpdate dependencies.
Ben Laurie [Sat, 30 Jan 1999 12:05:42 +0000 (12:05 +0000)]
Update dependencies.

25 years agoChange address now that we've the mailing lists established
Ralf S. Engelschall [Sat, 30 Jan 1999 11:52:04 +0000 (11:52 +0000)]
Change address now that we've the mailing lists established

25 years agoAdd CygWin32 platform information to Configure script.
Ralf S. Engelschall [Sat, 30 Jan 1999 11:50:48 +0000 (11:50 +0000)]
Add CygWin32 platform information to Configure script.

Submitted by: Alan Batie <batie@aahz.jf.intel.com>

25 years agoFixed ms/32all.bat script: `no_asm' -> `no-asm'
Ralf S. Engelschall [Sat, 30 Jan 1999 11:36:05 +0000 (11:36 +0000)]
Fixed ms/32all.bat script: `no_asm' -> `no-asm'

Submitted by: Rainer W. Gerling <gerling@mpg-gv.mpg.de>
Reviewed by: Ralf S. Engelschall

25 years agoNew program 'nseq' added to apps to allow Netscape certificate sequences to
Dr. Stephen Henson [Fri, 29 Jan 1999 23:34:19 +0000 (23:34 +0000)]
New program 'nseq' added to apps to allow Netscape certificate sequences to
be pulled apart and built.

25 years agoAllow the -certfile argument to be used multiple times in crl2pkcs7.
Dr. Stephen Henson [Fri, 29 Jan 1999 01:53:55 +0000 (01:53 +0000)]
Allow the -certfile argument to be used multiple times in crl2pkcs7.
Also fix typos in the usage messages: "inout" instead of "input".

25 years agoFill in more contents for the openssl(1) manpage.
Ralf S. Engelschall [Thu, 28 Jan 1999 14:50:10 +0000 (14:50 +0000)]
Fill in more contents for the openssl(1) manpage.

25 years agoOne more incorrect name in usage page
Ralf S. Engelschall [Thu, 28 Jan 1999 14:48:31 +0000 (14:48 +0000)]
One more incorrect name in usage page

25 years agoFix names in usage page of s_time, s_server and s_client
Ralf S. Engelschall [Thu, 28 Jan 1999 14:44:08 +0000 (14:44 +0000)]
Fix names in usage page of s_time, s_server and s_client

25 years agoFixes to BN code. Previously the default was to define BN_RECURSION
Mark J. Cox [Thu, 28 Jan 1999 10:40:38 +0000 (10:40 +0000)]
Fixes to BN code.  Previously the default was to define BN_RECURSION
but the BN code had some problems that would cause failures when
doing certificate verification and some other functions.

Submitted by: Eric A Young from a C2Net version of SSLeay
Reviewed by: Mark J Cox
PR:

25 years agoRemember to add the new file this time :-)
Dr. Stephen Henson [Thu, 28 Jan 1999 00:34:42 +0000 (00:34 +0000)]
Remember to add the new file this time :-)

25 years agoAdd ASN1 code for netscape certificate sequences.
Dr. Stephen Henson [Thu, 28 Jan 1999 00:16:44 +0000 (00:16 +0000)]
Add ASN1 code for netscape certificate sequences.

25 years agoAdd a few extended key usage OIDs.
Dr. Stephen Henson [Tue, 26 Jan 1999 23:13:14 +0000 (23:13 +0000)]
Add a few extended key usage OIDs.

25 years agoStill more X509 V3 stuff. Modify ca.c to work with the new code and modify
Dr. Stephen Henson [Tue, 26 Jan 1999 01:19:27 +0000 (01:19 +0000)]
Still more X509 V3 stuff. Modify ca.c to work with the new code and modify
openssl.cnf for the new syntax.

25 years agoOops. One header too many.
Ben Laurie [Mon, 25 Jan 1999 21:36:51 +0000 (21:36 +0000)]
Oops. One header too many.

25 years agoUpdate dependencies.
Ben Laurie [Mon, 25 Jan 1999 21:25:54 +0000 (21:25 +0000)]
Update dependencies.

25 years agoDeclare correctly on FreeBSD.
Ben Laurie [Mon, 25 Jan 1999 21:20:57 +0000 (21:20 +0000)]
Declare correctly on FreeBSD.

25 years agoReduce header dependencies.
Ben Laurie [Mon, 25 Jan 1999 21:19:12 +0000 (21:19 +0000)]
Reduce header dependencies.

25 years agoMore X509 V3 stuff. Add support for extensions in the 'req' application
Dr. Stephen Henson [Mon, 25 Jan 1999 01:09:21 +0000 (01:09 +0000)]
More X509 V3 stuff. Add support for extensions in the 'req' application
so that: openssl req -x509 -new -out cert.pem
will take extensions from openssl.cnf a sample for a CA is included.
Also change the directory order so pem is nearer the end. Otherwise 'make links'
wont work because pem.h can't be built.

25 years agoAdd file x509v3.err.
Dr. Stephen Henson [Sun, 24 Jan 1999 20:58:44 +0000 (20:58 +0000)]
Add file x509v3.err.

25 years agoMake sure people know when they need to rebuild the Makefile.
Ben Laurie [Sun, 24 Jan 1999 18:15:00 +0000 (18:15 +0000)]
Make sure people know when they need to rebuild the Makefile.

25 years agoMinor constification.
Ben Laurie [Sun, 24 Jan 1999 17:54:23 +0000 (17:54 +0000)]
Minor constification.

25 years agoContinuing adding X509 V3 support. This starts to integrate the code with
Dr. Stephen Henson [Sun, 24 Jan 1999 17:50:32 +0000 (17:50 +0000)]
Continuing adding X509 V3 support. This starts to integrate the code with
the main library, but only with printing at present. To see this try:
openssl x509 -in cert.pem -text
on a certificate with some extensions in it.

25 years agoInitial addition of new X509 V3 files, tidy of old files.
Dr. Stephen Henson [Sun, 24 Jan 1999 00:50:01 +0000 (00:50 +0000)]
Initial addition of new X509 V3 files, tidy of old files.

25 years agoStart keeping track of wishes people make on our mailing lists to make sure we
Ralf S. Engelschall [Thu, 21 Jan 1999 13:01:20 +0000 (13:01 +0000)]
Start keeping track of wishes people make on our mailing lists to make sure we
don't forget them and this way we have them bundled together.

25 years agoCorrect bracketing error.
Ben Laurie [Thu, 21 Jan 1999 11:46:01 +0000 (11:46 +0000)]
Correct bracketing error.

25 years agoContinued patches so certificates and CRLs now can support and use
Dr. Stephen Henson [Wed, 20 Jan 1999 00:14:40 +0000 (00:14 +0000)]
Continued patches so certificates and CRLs now can support and use
GeneralizedTime.

25 years agoThis time, get it right.
Ben Laurie [Tue, 19 Jan 1999 23:25:22 +0000 (23:25 +0000)]
This time, get it right.

25 years agoFinally lay dependencies to rest (I hope!).
Ben Laurie [Tue, 19 Jan 1999 21:36:31 +0000 (21:36 +0000)]
Finally lay dependencies to rest (I hope!).

25 years agoSpelling mistake.
Ben Laurie [Tue, 19 Jan 1999 19:18:20 +0000 (19:18 +0000)]
Spelling mistake.

25 years agoThis is the result of a "make errors" with the new error building functionality
Dr. Stephen Henson [Mon, 18 Jan 1999 22:19:46 +0000 (22:19 +0000)]
This is the result of a "make errors" with the new error building functionality
in place.

25 years agoNew err_code.pl script to retain old error codes. This should allow the use
Dr. Stephen Henson [Mon, 18 Jan 1999 22:18:38 +0000 (22:18 +0000)]
New err_code.pl script to retain old error codes. This should allow the use
of 'make errors' without causing huge re-organisations of files when a new
code is added.

25 years agoIgnore auto-generated programs.
Ben Laurie [Sun, 17 Jan 1999 16:28:06 +0000 (16:28 +0000)]
Ignore auto-generated programs.

25 years agoDispose of generated programs.
Ben Laurie [Sun, 17 Jan 1999 16:27:15 +0000 (16:27 +0000)]
Dispose of generated programs.

25 years agoFix major cockup with short keys in CAST-128.
Ben Laurie [Sun, 17 Jan 1999 16:26:24 +0000 (16:26 +0000)]
Fix major cockup with short keys in CAST-128.

25 years agoUpdate CHANGES for GeneralizedTime info.
Dr. Stephen Henson [Sun, 17 Jan 1999 15:10:33 +0000 (15:10 +0000)]
Update CHANGES for GeneralizedTime info.

25 years agoCorrect Linux 1 recognition.
Ben Laurie [Sun, 17 Jan 1999 14:20:20 +0000 (14:20 +0000)]
Correct Linux 1 recognition.
Contributed by: Ulf Möller <ulf@fitug.de>

25 years agoOops. Missing NULL frees.
Ben Laurie [Sun, 17 Jan 1999 14:19:31 +0000 (14:19 +0000)]
Oops. Missing NULL frees.

25 years agoRemove pointless MD5 hash.
Ben Laurie [Sun, 17 Jan 1999 14:14:41 +0000 (14:14 +0000)]
Remove pointless MD5 hash.
Contributed by: Anonymous <nobody@replay.com>

25 years agoGenerate an error on an invalid directory.
Ben Laurie [Sun, 17 Jan 1999 14:10:08 +0000 (14:10 +0000)]
Generate an error on an invalid directory.

25 years agoTime to blow up the source tree :-) This is the beginning of support for
Dr. Stephen Henson [Sun, 17 Jan 1999 00:13:14 +0000 (00:13 +0000)]
Time to blow up the source tree :-) This is the beginning of support for
GeneralizedTime. At several points PKIX specifies that GeneralizedTime can be
used but OpenSSL doesn't currently support it. This patch adds several files
and a bunch of functions.

Of interest is the ASN1_TIME structure and its related functions. At several
points certificates, CRLs et al specify that a time can be expressed as a
choice of UTCTime and GeneralizedTime. Currently OpenSSL interprets this
(wrongly) as UTCTime because GeneralizedTime isn't supported. The ASN1_TIME
stuff provides this functionality.

Still todo is to trace which cert and CRL points need an ASN1_TIME and modify
the utilities appropriately and of course fix all the bugs.

Note new OpenSSL copyright in the new file a_time.c. I didn't put it in
a_gentm.c because it is a minimally modified form a_utctm.c .

Since this adds new files and error codes you will need to do a 'make errors'
at the top level to add the new codes.

25 years agoMore prototypes.
Ben Laurie [Sat, 16 Jan 1999 18:46:23 +0000 (18:46 +0000)]
More prototypes.

25 years agoMore prototypes.
Ben Laurie [Sat, 16 Jan 1999 17:56:00 +0000 (17:56 +0000)]
More prototypes.

25 years agoMore prototypes.
Ben Laurie [Sat, 16 Jan 1999 17:49:12 +0000 (17:49 +0000)]
More prototypes.

25 years agoMore prototypes.
Ben Laurie [Sat, 16 Jan 1999 17:40:04 +0000 (17:40 +0000)]
More prototypes.

25 years agoMore prototypes.
Ben Laurie [Sat, 16 Jan 1999 17:28:15 +0000 (17:28 +0000)]
More prototypes.

25 years agoMore prototypes.
Ben Laurie [Sat, 16 Jan 1999 17:12:36 +0000 (17:12 +0000)]
More prototypes.

25 years agoFix parameters to dummy function BN_ref_mod_exp().
Dr. Stephen Henson [Thu, 14 Jan 1999 18:25:07 +0000 (18:25 +0000)]
Fix parameters to dummy function BN_ref_mod_exp().

25 years agoSubmitted by: Neil Costigan <neil.costigan@celocom.com>
Dr. Stephen Henson [Thu, 14 Jan 1999 18:21:57 +0000 (18:21 +0000)]
Submitted by: Neil Costigan <neil.costigan@celocom.com>
PR:

25 years agoFix OBJ_txt2nid(): old function was broken when input used the "dot" form, e.g.
Dr. Stephen Henson [Tue, 12 Jan 1999 18:40:33 +0000 (18:40 +0000)]
Fix OBJ_txt2nid(): old function was broken when input used the "dot" form, e.g.
1.2.3.4 . Also added new function OBJ_txt2obj().

25 years agoAdd prototype, fix parameter passing bug.
Ben Laurie [Sun, 10 Jan 1999 20:36:02 +0000 (20:36 +0000)]
Add prototype, fix parameter passing bug.

25 years agoFix comment.
Ben Laurie [Sun, 10 Jan 1999 19:41:33 +0000 (19:41 +0000)]
Fix comment.

25 years agoSort openssl functions by name.
Ben Laurie [Sat, 9 Jan 1999 19:15:59 +0000 (19:15 +0000)]
Sort openssl functions by name.

25 years agoFix the gendsa program and add it to the app list. The progs.h file is
Dr. Stephen Henson [Sat, 9 Jan 1999 17:29:34 +0000 (17:29 +0000)]
Fix the gendsa program and add it to the app list. The progs.h file is
auto generated but not auto updated so it is included. Also remove the
encryption from the sample DSA keys.

25 years agoGet rid of redundant files.
Ben Laurie [Sat, 9 Jan 1999 13:01:35 +0000 (13:01 +0000)]
Get rid of redundant files.

25 years agoAccept NULL in *_free.
Ben Laurie [Thu, 7 Jan 1999 19:15:59 +0000 (19:15 +0000)]
Accept NULL in *_free.

25 years agoFix DH key generation.
Ben Laurie [Thu, 7 Jan 1999 00:37:01 +0000 (00:37 +0000)]
Fix DH key generation.
Contributed by: Anonymous <nobody@replay.com>

25 years agoSend the right CAs to the client.
Ben Laurie [Thu, 7 Jan 1999 00:16:37 +0000 (00:16 +0000)]
Send the right CAs to the client.

25 years agoFix numeric -newkey args.
Ben Laurie [Thu, 7 Jan 1999 00:10:32 +0000 (00:10 +0000)]
Fix numeric -newkey args.
Contributed by: Bodo Moeller <3moeller@informatik.uni-hamburg.de>

25 years agoFix export tests.
Ben Laurie [Wed, 6 Jan 1999 23:18:08 +0000 (23:18 +0000)]
Fix export tests.

25 years agoMake the world a safer place (if people object to this kind of change, speak up
Ben Laurie [Wed, 6 Jan 1999 22:53:34 +0000 (22:53 +0000)]
Make the world a safer place (if people object to this kind of change, speak up
soon - I intend to do a lot of it!).

25 years agoOops! update CHANGES file properly.
Dr. Stephen Henson [Wed, 6 Jan 1999 01:41:21 +0000 (01:41 +0000)]
Oops! update CHANGES file properly.

25 years agoFix things so DH_free() will be no-op when passed NULL, like RSA_free() and
Dr. Stephen Henson [Wed, 6 Jan 1999 01:39:24 +0000 (01:39 +0000)]
Fix things so DH_free() will be no-op when passed NULL, like RSA_free() and
DSA_free(): this was causing crashes when for example an attempt was made
to handle a (currently) unsupported DH public key. Also X509_PUBKEY_set()i
wasn't checking errors from d2i_PublicKey().

25 years agoFree the right thing.
Ben Laurie [Mon, 4 Jan 1999 21:43:32 +0000 (21:43 +0000)]
Free the right thing.