openssl.git
19 years agoNew -pkcs12 option to CA.pl.
Dr. Stephen Henson [Fri, 28 Jan 2000 01:35:31 +0000 (01:35 +0000)]
New -pkcs12 option to CA.pl.
Document CA.pl script.
Initialise and free up the extra DH fields
(nothing uses them yet though).

19 years agofix link
Ulf Möller [Thu, 27 Jan 2000 23:07:50 +0000 (23:07 +0000)]
fix link

19 years agoDeclare BN_pseudo_rand().
Richard Levitte [Thu, 27 Jan 2000 22:07:42 +0000 (22:07 +0000)]
Declare BN_pseudo_rand().

19 years agoIt works much better when you don't press shift at the wrong moment...
Richard Levitte [Thu, 27 Jan 2000 21:11:51 +0000 (21:11 +0000)]
It works much better when you don't press shift at the wrong moment...

19 years agoA couple of things were reversed for BN_pseudo_rand ...
Bodo Möller [Thu, 27 Jan 2000 21:09:25 +0000 (21:09 +0000)]
A couple of things were reversed for BN_pseudo_rand ...

19 years agoAdded a configuration for myself...
Richard Levitte [Thu, 27 Jan 2000 21:09:15 +0000 (21:09 +0000)]
Added a configuration for myself...

19 years agoUse the pod2man that comes with OpenSSL. Make it so config(5) really
Richard Levitte [Thu, 27 Jan 2000 20:34:03 +0000 (20:34 +0000)]
Use the pod2man that comes with OpenSSL.  Make it so config(5) really
ends up in section 5.

19 years agoSince pod2man is still evolving, and some sites (among others dev.openssl.org)
Richard Levitte [Thu, 27 Jan 2000 20:23:29 +0000 (20:23 +0000)]
Since pod2man is still evolving, and some sites (among others dev.openssl.org)
don't have a version that will handle the L<foo(1)|foo(1)> construct yet, here
is a copy from my laptop (slightly modifed to work independently of the place
where perl itself resides).

19 years agoUpdate all links so they will be rendered better.
Richard Levitte [Thu, 27 Jan 2000 20:11:26 +0000 (20:11 +0000)]
Update all links so they will be rendered better.

19 years agocomment was wrong.
Ulf Möller [Thu, 27 Jan 2000 19:52:58 +0000 (19:52 +0000)]
comment was wrong.

19 years agoUpdate comment from bn.h
Ulf Möller [Thu, 27 Jan 2000 19:36:52 +0000 (19:36 +0000)]
Update comment from bn.h

19 years agoDocument DSA and SHA.
Ulf Möller [Thu, 27 Jan 2000 19:31:26 +0000 (19:31 +0000)]
Document DSA and SHA.
New function BN_pseudo_rand().
Use BN_prime_checks_size(BN_num_bits(w)) rounds of Miller-Rabin when
generating DSA primes (why not use BN_is_prime()?)

19 years agoNew news.
Ulf Möller [Thu, 27 Jan 2000 19:29:23 +0000 (19:29 +0000)]
New news.

19 years agoIncrease the year by one.
Ulf Möller [Thu, 27 Jan 2000 19:28:49 +0000 (19:28 +0000)]
Increase the year by one.

19 years agotypo in a comment
Bodo Möller [Thu, 27 Jan 2000 14:31:31 +0000 (14:31 +0000)]
typo in a comment

19 years agoUpdate comments to provide a better approximation of reality.
Bodo Möller [Thu, 27 Jan 2000 13:00:10 +0000 (13:00 +0000)]
Update comments to provide a better approximation of reality.

19 years agoAdd a pointer to a paper (is the algorithm in section 4.2 the
Bodo Möller [Thu, 27 Jan 2000 12:52:41 +0000 (12:52 +0000)]
Add a pointer to a paper (is the algorithm in section 4.2 the
word-based algorithm we are using?)

19 years agoenable Montgomery test
Bodo Möller [Thu, 27 Jan 2000 11:26:28 +0000 (11:26 +0000)]
enable Montgomery test

19 years agoUpdate references.
Bodo Möller [Thu, 27 Jan 2000 09:15:49 +0000 (09:15 +0000)]
Update references.

19 years agoSmall correction.
Bodo Möller [Thu, 27 Jan 2000 09:03:49 +0000 (09:03 +0000)]
Small correction.

19 years agoCorrect typos that ispell did not find.
Bodo Möller [Thu, 27 Jan 2000 08:57:57 +0000 (08:57 +0000)]
Correct typos that ispell did not find.

19 years agoMade link of reference
Richard Levitte [Thu, 27 Jan 2000 02:29:19 +0000 (02:29 +0000)]
Made link of reference

19 years agoNew manpage.
Ulf Möller [Thu, 27 Jan 2000 01:54:05 +0000 (01:54 +0000)]
New manpage.

19 years agoRun ispell.
Ulf Möller [Thu, 27 Jan 2000 01:50:42 +0000 (01:50 +0000)]
Run ispell.
Clean up bn_mont.c.

19 years agoUpdate all links so they will be rendered better.
Richard Levitte [Thu, 27 Jan 2000 01:25:31 +0000 (01:25 +0000)]
Update all links so they will be rendered better.

19 years agoSome comments added, and slight code clean-ups.
Bodo Möller [Wed, 26 Jan 2000 22:36:55 +0000 (22:36 +0000)]
Some comments added, and slight code clean-ups.

19 years agoClarification.
Bodo Möller [Wed, 26 Jan 2000 08:59:26 +0000 (08:59 +0000)]
Clarification.

19 years agoNew manual page.
Bodo Möller [Tue, 25 Jan 2000 22:35:20 +0000 (22:35 +0000)]
New manual page.

19 years agoAvoid a race condition.
Bodo Möller [Mon, 24 Jan 2000 17:57:56 +0000 (17:57 +0000)]
Avoid a race condition.

19 years agoImprove clarity.
Bodo Möller [Mon, 24 Jan 2000 16:02:29 +0000 (16:02 +0000)]
Improve clarity.

19 years agoDocument RAND_load_file change.
Bodo Möller [Mon, 24 Jan 2000 14:42:26 +0000 (14:42 +0000)]
Document RAND_load_file change.

19 years agoMan page section forgotten...
Richard Levitte [Mon, 24 Jan 2000 14:19:00 +0000 (14:19 +0000)]
Man page section forgotten...

19 years agoGive the correct e-mail address even though the message is not quite serious
Bodo Möller [Mon, 24 Jan 2000 10:20:45 +0000 (10:20 +0000)]
Give the correct e-mail address even though the message is not quite serious

19 years agoRAND_load_file(..., -1) now means "read the complete file";
Bodo Möller [Mon, 24 Jan 2000 10:03:24 +0000 (10:03 +0000)]
RAND_load_file(..., -1) now means "read the complete file";
this is what we now use to read $RANDFILE / $HOME/.rnd.
(Previously, after 'cat'ting lots of stuff into .rnd
only the first MB would be looked at.)

Bugfix for apps/enc.c: Continue if RAND_pseudo_bytes returns 0
(only -1 is an error).

19 years agoRAND_pseudo_bytes is good enough for encryption IVs,
Bodo Möller [Mon, 24 Jan 2000 09:32:20 +0000 (09:32 +0000)]
RAND_pseudo_bytes is good enough for encryption IVs,
we should not need RAND_bytes (and we cannot use the latter
unless we load a seed file)

19 years agoThe des_xcbc_encrypt apparently always fails.
Bodo Möller [Mon, 24 Jan 2000 09:24:28 +0000 (09:24 +0000)]
The des_xcbc_encrypt apparently always fails.
Workaround so that "make test" continues anyway.

19 years agoAdd the PID to the output on Win32.
Richard Levitte [Mon, 24 Jan 2000 04:05:00 +0000 (04:05 +0000)]
Add the PID to the output on Win32.

19 years agoLet's make all the example formated the same, shall we?
Richard Levitte [Mon, 24 Jan 2000 02:24:37 +0000 (02:24 +0000)]
Let's make all the example formated the same, shall we?

19 years agoCorrect indentation
Richard Levitte [Mon, 24 Jan 2000 02:15:59 +0000 (02:15 +0000)]
Correct indentation

19 years agoDocument how CRYPTO_EX_DATA stuff works for
Dr. Stephen Henson [Mon, 24 Jan 2000 01:50:17 +0000 (01:50 +0000)]
Document how CRYPTO_EX_DATA stuff works for
RSA structures. Other structures behave in
a similar way.

19 years agoDocumented in the RSA_print page
Ulf Möller [Mon, 24 Jan 2000 01:21:22 +0000 (01:21 +0000)]
Documented in the RSA_print page

19 years agoRSA_print etc
Ulf Möller [Mon, 24 Jan 2000 01:20:39 +0000 (01:20 +0000)]
RSA_print etc

19 years agoRename asn1/pkcs8.c to asn1/p8_key.c to avoid name conflict.
Ulf Möller [Mon, 24 Jan 2000 01:18:36 +0000 (01:18 +0000)]
Rename asn1/pkcs8.c to asn1/p8_key.c to avoid name conflict.

19 years agoTidy up CRYPTO_EX_DATA structures.
Dr. Stephen Henson [Sun, 23 Jan 2000 23:41:49 +0000 (23:41 +0000)]
Tidy up CRYPTO_EX_DATA structures.

19 years agoDocument the BN library.
Ulf Möller [Sun, 23 Jan 2000 22:06:24 +0000 (22:06 +0000)]
Document the BN library.

19 years agoUnder VMS, ftruncate should be available
Bodo Möller [Sun, 23 Jan 2000 22:02:34 +0000 (22:02 +0000)]
Under VMS, ftruncate should be available

19 years agoAs ftruncate is not availabe on all platforms, switch back to
Bodo Möller [Sun, 23 Jan 2000 19:58:03 +0000 (19:58 +0000)]
As ftruncate is not availabe on all platforms, switch back to
opening the output file with "wb" to truncate it except on VMS
(where the file now keeps its original length because it is opened
with "rb+" -- does VMS have ftruncate?)

19 years agoMake s_server, s_client check cipher list return codes.
Dr. Stephen Henson [Sun, 23 Jan 2000 02:28:08 +0000 (02:28 +0000)]
Make s_server, s_client check cipher list return codes.

Update docs.

19 years agoMinor patch: check only match @STRENGTH and remove eNULL
Dr. Stephen Henson [Sat, 22 Jan 2000 23:34:44 +0000 (23:34 +0000)]
Minor patch: check only match @STRENGTH and remove eNULL
comment.

Add documentation for the ciphers command including a full
description of cipher lists.

19 years agoupdate PRNG documentation/comments
Bodo Möller [Sat, 22 Jan 2000 23:11:13 +0000 (23:11 +0000)]
update PRNG documentation/comments

19 years agodh renamed to dhparam
Ulf Möller [Sat, 22 Jan 2000 21:26:52 +0000 (21:26 +0000)]
dh renamed to dhparam

19 years agoconfig string comment
Ulf Möller [Sat, 22 Jan 2000 21:26:01 +0000 (21:26 +0000)]
config string comment

19 years agofail on all errors.
Ulf Möller [Sat, 22 Jan 2000 21:25:36 +0000 (21:25 +0000)]
fail on all errors.

19 years agoDocument the DH library, and make some minor changes along the way.
Ulf Möller [Sat, 22 Jan 2000 20:05:23 +0000 (20:05 +0000)]
Document the DH library, and make some minor changes along the way.

19 years agoAdd new program dhparam and update docs.
Dr. Stephen Henson [Sat, 22 Jan 2000 13:58:29 +0000 (13:58 +0000)]
Add new program dhparam and update docs.

19 years agoGets Lutz Jaenicke's name right this time :-)
Dr. Stephen Henson [Sat, 22 Jan 2000 12:49:48 +0000 (12:49 +0000)]
Gets Lutz Jaenicke's name right this time :-)

Apologies to both concerned.

19 years agoApply Lutz Behnke's 56 bit cipher patch with a few
Dr. Stephen Henson [Sat, 22 Jan 2000 03:17:06 +0000 (03:17 +0000)]
Apply Lutz Behnke's 56 bit cipher patch with a few
minor changes.

Docs haven't been added at this stage. They are probably
best included in the 'ciphers' program docs.

19 years agoMove ssl.pod to doc/ssl
Ulf Möller [Fri, 21 Jan 2000 23:58:03 +0000 (23:58 +0000)]
Move ssl.pod to doc/ssl

19 years agoUse comment from md_rand.c (part 2, as well).
Ulf Möller [Fri, 21 Jan 2000 23:39:15 +0000 (23:39 +0000)]
Use comment from md_rand.c (part 2, as well).

19 years agoUse comment from md_rand.c in rand.pod
Ulf Möller [Fri, 21 Jan 2000 23:36:40 +0000 (23:36 +0000)]
Use comment from md_rand.c in rand.pod

19 years agoDocs for sess_id utility.
Dr. Stephen Henson [Fri, 21 Jan 2000 22:38:52 +0000 (22:38 +0000)]
Docs for sess_id utility.

19 years agochange comments
Bodo Möller [Fri, 21 Jan 2000 20:18:09 +0000 (20:18 +0000)]
change comments

19 years agoAvoid integer overflow in entropy counter.
Bodo Möller [Fri, 21 Jan 2000 19:54:22 +0000 (19:54 +0000)]
Avoid integer overflow in entropy counter.
Slightly clarify the RAND_... documentation.

19 years agoDocument RAND library.
Ulf Möller [Fri, 21 Jan 2000 17:50:27 +0000 (17:50 +0000)]
Document RAND library.

19 years agoMove ssl.pod to doc/ssl
Ulf Möller [Fri, 21 Jan 2000 17:46:36 +0000 (17:46 +0000)]
Move ssl.pod to doc/ssl

19 years agoIn RAND_write_file, truncate the file to the no. of bytes written
Bodo Möller [Fri, 21 Jan 2000 17:11:26 +0000 (17:11 +0000)]
In RAND_write_file, truncate the file to the no. of bytes written
(we're now using fopen(..., "rb+") instead of fopen(..., "wb"),
so the file is not truncated automatically).

19 years agoadd ERR_print_errors after "end" label.
Bodo Möller [Fri, 21 Jan 2000 11:30:52 +0000 (11:30 +0000)]
add ERR_print_errors after "end" label.

19 years agoDon't "goto err" in client_master_key because no such label exists;
Bodo Möller [Fri, 21 Jan 2000 11:20:22 +0000 (11:20 +0000)]
Don't "goto err" in client_master_key because no such label exists;
just return -1 as in other error cases.

19 years agodoc/man moved to doc/apps
Bodo Möller [Fri, 21 Jan 2000 09:36:47 +0000 (09:36 +0000)]
doc/man moved to doc/apps

19 years agomention manual pages
Bodo Möller [Fri, 21 Jan 2000 09:35:56 +0000 (09:35 +0000)]
mention manual pages

19 years agoMake -CAcreateserial start from 1 instead of 0 for
Dr. Stephen Henson [Fri, 21 Jan 2000 02:42:14 +0000 (02:42 +0000)]
Make -CAcreateserial start from 1 instead of 0 for
serial numbers.

19 years agoChange the 'man' directory to 'apps'. Yes I wish cvs
Dr. Stephen Henson [Fri, 21 Jan 2000 02:17:04 +0000 (02:17 +0000)]
Change the 'man' directory to 'apps'. Yes I wish cvs
could rename too :-(

19 years agoCheck RAND_bytes() return value or use RAND_pseudo_bytes().
Ulf Möller [Fri, 21 Jan 2000 01:15:56 +0000 (01:15 +0000)]
Check RAND_bytes() return value or use RAND_pseudo_bytes().

19 years agoSome more ifdefs for no-xxx options.
Ulf Möller [Fri, 21 Jan 2000 00:03:51 +0000 (00:03 +0000)]
Some more ifdefs for no-xxx options.

19 years agoDon't build the testapps automatically because the openssl program now
Ulf Möller [Fri, 21 Jan 2000 00:02:32 +0000 (00:02 +0000)]
Don't build the testapps automatically because the openssl program now
has s/mime functionality.

19 years agoAFAICS lst1 stands for "lshift test" not "list".
Ulf Möller [Fri, 21 Jan 2000 00:00:12 +0000 (00:00 +0000)]
AFAICS lst1 stands for "lshift test" not "list".

19 years agoWINDOWS is defined in e_os.h. The problem was WIN32 (the new egcs uses _WIN32).
Ulf Möller [Thu, 20 Jan 2000 23:59:24 +0000 (23:59 +0000)]
WINDOWS is defined in e_os.h. The problem was WIN32 (the new egcs uses _WIN32).

19 years agoDefine WINDOWS in all Mingw32 cases.
Bodo Möller [Thu, 20 Jan 2000 23:16:07 +0000 (23:16 +0000)]
Define WINDOWS in all Mingw32 cases.

19 years agoRename lst1 to list1 to avoid name conflict on some platforms.
Bodo Möller [Thu, 20 Jan 2000 23:15:50 +0000 (23:15 +0000)]
Rename lst1 to list1 to avoid name conflict on some platforms.

19 years agoDefine WINDOWS for Mingw32 and Cygwin.
Bodo Möller [Thu, 20 Jan 2000 23:15:15 +0000 (23:15 +0000)]
Define WINDOWS for Mingw32 and Cygwin.

19 years agoDefine WINDOWS.
Bodo Möller [Thu, 20 Jan 2000 23:08:07 +0000 (23:08 +0000)]
Define WINDOWS.

19 years agoOops... undo change to wrong prototype.
Dr. Stephen Henson [Thu, 20 Jan 2000 02:27:36 +0000 (02:27 +0000)]
Oops... undo change to wrong prototype.

19 years agoFinish off the X509_ATTRIBUTE string stuff.
Dr. Stephen Henson [Thu, 20 Jan 2000 01:37:17 +0000 (01:37 +0000)]
Finish off the X509_ATTRIBUTE string stuff.

19 years agoRename X509_att*() stuff to X509at_*(), add X509_REQ wrappers.
Dr. Stephen Henson [Wed, 19 Jan 2000 01:02:13 +0000 (01:02 +0000)]
Rename X509_att*() stuff to X509at_*(), add X509_REQ wrappers.

19 years agoRename rsa_oaep_test to the more appropriate name rsa_test for the
Ulf Möller [Tue, 18 Jan 2000 15:08:49 +0000 (15:08 +0000)]
Rename rsa_oaep_test to the more appropriate name rsa_test for the
benefit of MS-DOS users.

19 years agoCompaq C 6.2 for VMS will complain when we want to convert
Richard Levitte [Tue, 18 Jan 2000 09:30:51 +0000 (09:30 +0000)]
Compaq C 6.2 for VMS will complain when we want to convert
non-function pointers to function pointers and vice versa.
The current solution is to have unions that describe the
conversion we want to do, and gives us the ability to extract
the type of data we want.

The current solution is a quick fix, and can probably be made
in a more general or elegant way.

19 years agoAvoid converting void * to a function pointer when NULL is defined as
Richard Levitte [Tue, 18 Jan 2000 08:23:15 +0000 (08:23 +0000)]
Avoid converting void * to a function pointer when NULL is defined as
((void *)0), by have a 0 instead.

19 years agoA test script to check on the header files
Richard Levitte [Tue, 18 Jan 2000 08:10:28 +0000 (08:10 +0000)]
A test script to check on the header files

19 years agoBuild the test apps after all of the library has been built.
Richard Levitte [Tue, 18 Jan 2000 08:09:19 +0000 (08:09 +0000)]
Build the test apps after all of the library has been built.

19 years agoSOCKETSHR is showing bad declarations again. However, a simple cast
Richard Levitte [Mon, 17 Jan 2000 01:07:36 +0000 (01:07 +0000)]
SOCKETSHR is showing bad declarations again.  However, a simple cast
which does no harm fixes that problem.

19 years agoBuild the crypto test applications as well.
Richard Levitte [Mon, 17 Jan 2000 01:01:16 +0000 (01:01 +0000)]
Build the crypto test applications as well.

19 years agoPrepare for a possible disabling of certain messages that DEC C spews out.
Richard Levitte [Mon, 17 Jan 2000 00:58:09 +0000 (00:58 +0000)]
Prepare for a possible disabling of certain messages that DEC C spews out.

19 years agoGive the user the possibility to ask for compilation of only the files
Richard Levitte [Mon, 17 Jan 2000 00:57:10 +0000 (00:57 +0000)]
Give the user the possibility to ask for compilation of only the files
that are directly in crypto/, and prepare for a possible disabling of
certain messages that DEC C spews out.

19 years agoIt doesn't make sense to try see if these variables are negative, since they're unsigned.
Richard Levitte [Mon, 17 Jan 2000 00:49:52 +0000 (00:49 +0000)]
It doesn't make sense to try see if these variables are negative, since they're unsigned.

19 years agoBeautification and a few entries added.
Richard Levitte [Mon, 17 Jan 2000 00:39:55 +0000 (00:39 +0000)]
Beautification and a few entries added.

19 years agoSSL_R_UNSUPPORTED_PROTOCOL (as in s23_clnt.c) for SSL 2 when
Bodo Möller [Sun, 16 Jan 2000 21:29:57 +0000 (21:29 +0000)]
SSL_R_UNSUPPORTED_PROTOCOL (as in s23_clnt.c) for SSL 2 when
NO_SSL2 is defined, not SSL_R_UNKNOWN_PROTOCOL.

19 years agoAdd missing #ifndefs that caused missing symbols when building libssl
Ulf Möller [Sun, 16 Jan 2000 21:10:00 +0000 (21:10 +0000)]
Add missing #ifndefs that caused missing symbols when building libssl
as a shared library without RSA.  Use #ifndef NO_SSL2 instead of
NO_RSA in ssl/s2*.c.

Submitted by: Kris Kennaway <kris@hub.freebsd.org>
Modified by Ulf Möller

19 years agoHeader for RAND_seed()
Ulf Möller [Sun, 16 Jan 2000 21:07:36 +0000 (21:07 +0000)]
Header for RAND_seed()

19 years agoremove debug modification that I checked in accidentally
Ulf Möller [Sun, 16 Jan 2000 16:04:26 +0000 (16:04 +0000)]
remove debug modification that I checked in accidentally

19 years agoNew function RAND_pseudo_bytes() generated pseudorandom numbers that
Ulf Möller [Sun, 16 Jan 2000 15:58:17 +0000 (15:58 +0000)]
New function RAND_pseudo_bytes() generated pseudorandom numbers that
are not guaranteed to be unpredictable.