cvs2svn
fe8767737b
This commit was manufactured by cvs2svn to create tag 'BEFORE_COMPAQ_PATCH'.
2002-05-21 08:59:59 +00:00
cvs2svn
606efc54e6
This commit was manufactured by cvs2svn to create branch 'BRANCH_VMS_64BIT'.
2002-05-21 08:59:58 +00:00
Bodo Möller
7711de24f9
accept NULL in 'free' functions
2002-05-21 08:59:57 +00:00
Dr. Stephen Henson
eee6c81af8
Reorganise -subj option code, fix buffer overrun.
2002-05-19 16:31:10 +00:00
Dr. Stephen Henson
b89670ef0e
Fix Mingw32 asm build: use the Unix
...
bignum assembly method of bn-586.pl
and co-586.pl which (for some reason)
VC++ doesn't use.
2002-05-19 12:03:05 +00:00
Dr. Stephen Henson
0fccb00b5b
Add missing EVP_CIPHER_CTX_init call.
2002-05-18 23:43:10 +00:00
Lutz Jänicke
72da660ddb
Fix incorrect =over 4 location.
...
Submitted by: David Waitzman <djw@bbn.com >
Reviewed by: Lutz Jaenicke
PR: [openssl.org #38 ]
2002-05-16 17:45:37 +00:00
Bodo Möller
46ffee4792
fix EVP_dsa_sha macro
...
Submitted by: Nils Larsch
2002-05-16 12:51:18 +00:00
Lutz Jänicke
c0a953650b
Use the indirect way to the actual request tracker, so that people
...
also are informed about the credentials required for guest access
and the operation instructions.
2002-05-16 10:01:53 +00:00
Bodo Möller
0424fe1a8f
update
2002-05-16 09:28:09 +00:00
Dr. Stephen Henson
544a2aea4b
Zero cipher_data in EVP_CIPHER_CTX_cleanup
...
Add cleanup calls to evp_test.c
Allow reuse of cipher contexts by removing
automatic cleanup in EVP_*Final().
2002-05-15 18:49:25 +00:00
Bodo Möller
60e5f36d27
make b_print.c consistent with the rest of OpenSSL:
...
disable assert() except for debug builds
2002-05-14 19:40:58 +00:00
Lutz Jänicke
2469361c0f
Add missing '"'
...
Submitted by: Boyd Gerber <gerberb@zenez.com >
2002-05-12 20:37:44 +00:00
Lutz Jänicke
6fa865a325
Recognize PPC64 target.
...
Submitted by:
Reviewed by:
PR: 26
2002-05-12 19:45:51 +00:00
Dr. Stephen Henson
e9ba69631b
EVP_SealFinal should return a value.
2002-05-11 17:37:08 +00:00
Ulf Möller
d80a8d1919
values were reset for no reason.
2002-05-11 09:15:42 +00:00
Ulf Möller
d0ff2a237b
updated Mingw32 instructions.
2002-05-11 09:14:40 +00:00
Dr. Stephen Henson
6e5dd63c77
Add config entry debug-steve-linux-pseudo64. This sets the
...
SIXTY_FOUR bignum library option to use 64 bit operations
on the 32 bit linux platform.
This is very inefficient but it can be used to test some
of the 64 bit logic on a 32 bit platform.
2002-05-10 23:00:43 +00:00
Dr. Stephen Henson
dc014d43af
Fallback to normal multiply if n2 == 8 and dna or dnb is not zero
...
in bn_mul_recursive.
This is (hopefully) what was triggering bignum errors on 64 bit
platforms and causing the BN_mod_mul test to fail.
2002-05-10 22:18:13 +00:00
Dr. Stephen Henson
2f9cf160e4
Avoid gcc warning: BN_DEC_CONV when SIXTY_FOUR_BIT is defined is unsigned.
2002-05-10 22:07:37 +00:00
Richard Levitte
336c35dc9e
Updating status for 0.9.6d
2002-05-09 23:54:02 +00:00
Richard Levitte
72b5215645
Synchronise the FAQ
2002-05-09 23:41:40 +00:00
Richard Levitte
06bed64317
Make the huge buffer smaller, so the size becomes reasonable for small-stack environments.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 20:14:00 +00:00
Richard Levitte
c559759265
One place where VMS wasn't changed to OPENSSL_SYS_VMS...
2002-05-09 18:27:06 +00:00
Richard Levitte
b4000e8ad8
Move an assert() to avoid core dumps when a static buffer hasn't been given.
...
Notified by Verdon Walker <VWalker@novell.com >
2002-05-09 18:19:21 +00:00
Richard Levitte
21d5ed98d5
Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex.
...
Notified by Stella Power <snpower@maths.tcd.ie >.
PR: 24
2002-05-08 15:20:38 +00:00
Richard Levitte
e9a182fa30
Generate an error if rewinding wasn't possible.
...
Notified by Ken Hirsch <kenhirsch@myself.com >.
PR: 23
2002-05-08 15:12:59 +00:00
Bodo Möller
b6db386ffd
Change internals of the EC library so that the functions
...
EC_GROUP_{set_generator,get_generator,get_order,get_cofactor} are
implemented directly in crypto/ec/ec_lib.c and not dispatched to
methods.
Also fix EC_GROUP_copy to copy the NID.
2002-05-08 11:54:24 +00:00
Lutz Jänicke
2c975b501d
Add missing ";" after fi
...
Submitted by: bryanh@giraffe-data.com
Reviewed by:
PR: [openssl.org #18 ]
2002-05-07 15:35:48 +00:00
Bodo Möller
279fe3b1c5
in SignerInfo, use ecdsa-with-SHA1 OID for ECDSA (not ecPublicKey)
...
Submitted by: Nils Larsch
2002-05-07 15:14:12 +00:00
Bodo Möller
98a9092af1
Fix ciphersuite list to enforce low priority for RC4.
2002-05-07 08:36:26 +00:00
Bodo Möller
87108f5af9
ensure that, for each strength, RC4 ciphers have least preference
...
in the default ciphersuite list
2002-05-07 07:59:35 +00:00
Bodo Möller
f257d984b7
refer to latest draft for AES ciphersuites
2002-05-07 07:55:36 +00:00
Bodo Möller
b889d6a8e8
fix warning
2002-05-06 10:44:59 +00:00
Bodo Möller
47234cd3d2
update
2002-05-05 23:47:46 +00:00
Bodo Möller
2c8d0dccfc
improve wNAF generation
2002-05-05 23:45:09 +00:00
Bodo Möller
a4f576a378
disable AES ciphersuites unless explicitly requested
2002-05-05 23:44:27 +00:00
Bodo Möller
3def5a010e
fix casts
2002-05-05 23:00:28 +00:00
Richard Levitte
294bd1e2f3
Make sure that date is run under the C locale, so dates are given in the
...
default format.
PR: 16
2002-05-02 08:05:46 +00:00
Dr. Stephen Henson
253ef2187c
Add apps_startup and bio_err init code to smime.c
2002-05-01 20:07:46 +00:00
Lutz Jänicke
c0455cbb18
Fix escaping when using the -subj option of "openssl req", document
...
'hidden' -nameopt support. (Robert Joop <joop@fokus.gmd.de >)
2002-04-30 12:08:18 +00:00
Lutz Jänicke
17e2c77a77
Add information about -nameopt option for x509.
2002-04-29 16:01:41 +00:00
Bodo Möller
b52f3818f4
undo nonsense patch (r *is* signed or we have signedness mismatches elsewhere)
2002-04-29 11:03:06 +00:00
Richard Levitte
cc12975514
Fix unsigned vs. signed clash
2002-04-29 10:29:38 +00:00
Richard Levitte
9738f395c6
Synchronise with 0.9.7-stable.
2002-04-29 10:28:29 +00:00
Richard Levitte
d4294c8984
Synchronise with 0.9.7-stable.
2002-04-29 10:19:19 +00:00
Bodo Möller
8df61b5011
Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not
...
encoded as NULL) with id-dsa-with-sha1.
Submitted by: Nils Larsch
2002-04-26 08:28:34 +00:00
Lutz Jänicke
f1e6643751
Add generationQualifier OID (proposed by Fiel Cabral).
2002-04-25 18:03:13 +00:00
Richard Levitte
6991bf196c
Potential memory leak removed. Notified by <threaded@totalise.co.uk>
2002-04-25 10:11:21 +00:00
Bodo Möller
822a4c1bdb
new items for 0.9.7
2002-04-25 07:52:07 +00:00
Bodo Möller
a5868b3fe2
oops
2002-04-25 07:46:35 +00:00
Bodo Möller
4edfacb983
AlgorithmIdentifier bugs
2002-04-25 06:29:27 +00:00
Bodo Möller
c6efe6f59e
fix usage (no 'key')
2002-04-23 13:56:14 +00:00
Richard Levitte
35c2b3a9ac
Uhmmm, if we use && after having tested for the presence of the certificate,
...
we just *might* stand a certain chance of actually getting it written
to file...
2002-04-23 13:15:08 +00:00
Lutz Jänicke
af9675e75a
ERR_file_name is no longer being used.
2002-04-22 13:54:50 +00:00
Lutz Jänicke
8b2f9cdfad
Add cygwin build script (Corinna Vinschen <vinschen@redhat.com>).
2002-04-21 17:54:03 +00:00
Richard Levitte
01682a8b3c
Make sure ec and ecdsa is properly handled in Windows.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:23:56 +00:00
Richard Levitte
8b07f23c30
Signedness mismatch.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:23:19 +00:00
Richard Levitte
45932ad508
The callback must have (void) as argument list.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:22:42 +00:00
Richard Levitte
ce94682ce1
No point constifying an int.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:22:01 +00:00
Richard Levitte
2d7ab7e9ea
Do not free p if it hasn't been used yet.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com >
2002-04-20 10:19:20 +00:00
Richard Levitte
6176df94ed
Make sure the opened directory is closed on exit.
...
Notified by Lorinczy Zsigmond <lzsiga@mail.ahiv.hu >
2002-04-18 16:20:13 +00:00
Lutz Jänicke
a8f8788248
Missing "Configure" entry (Jean-Marc Desperrier <jean-marc.desperrier@certplus.com>).
2002-04-18 12:47:50 +00:00
Lutz Jänicke
d5d007abe3
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
2002-04-18 11:54:06 +00:00
Lutz Jänicke
151457ab16
Handle headings uniformly to allow automatic processing.
2002-04-18 08:11:31 +00:00
Bodo Möller
dde3e83129
'version' is not optional in the encoding
...
Submitted by: Nils Larsch
2002-04-17 11:35:52 +00:00
Bodo Möller
8f182fdc69
'version' is not optional in the encoding
...
Submitted by: Nils Larsch
2002-04-17 11:31:20 +00:00
Bodo Möller
1064acafc4
check return values
...
Submitted by: Nils Larsch
2002-04-17 09:31:34 +00:00
Bodo Möller
ff8e412ceb
get rid of some assignments that have become obsolete
2002-04-15 15:29:43 +00:00
Lutz Jänicke
e9cbcb1d98
Document OID changes.
2002-04-15 14:18:30 +00:00
Lutz Jänicke
ea7fc0311c
Use the "mail" short name according to RFC2798 (Michael Bell
...
<michael.bell@rz.hu-berlin.de >).
2002-04-15 13:30:41 +00:00
Lutz Jänicke
30911232c1
Some more OID enhancements.
2002-04-15 10:41:38 +00:00
Lutz Jänicke
2940a1298e
Fix CRLF problem in BASE64 decode.
2002-04-15 09:55:40 +00:00
Bodo Möller
f916052eab
remove disabled code
2002-04-14 13:28:17 +00:00
Bodo Möller
2fb3f002d0
fix length field we create when converting SSL 2.0 format into SSL 3.0/TLS 1.0 format
...
(the bug was introduced with message callback support)
2002-04-14 13:05:15 +00:00
Bodo Möller
82b0bf0b87
Implement known-IV countermeasure.
...
Fix length checks in ssl3_get_client_hello().
Use s->s3->in_read_app_data differently to fix ssl3_read_internal().
2002-04-13 22:47:20 +00:00
Richard Levitte
3a7cef3e76
Avoid emacs backup files when making a snapshot
2002-04-13 12:28:44 +00:00
Ulf Möller
592c0e0273
another error discovered by Karsten Braaten. The number was not even
...
prime!
2002-04-13 09:58:50 +00:00
Bodo Möller
08b977b5a5
looks like a typo
2002-04-12 13:52:40 +00:00
Bodo Möller
85fb12d554
clean up and synchronize with 0.9.6-stable
2002-04-12 13:45:29 +00:00
Bodo Möller
b975183c41
ECDSA representation bugfixes
...
Submitted by: Nils Larsch
2002-04-12 08:57:01 +00:00
Richard Levitte
083100e2ab
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:13:58 +00:00
Richard Levitte
241d2ba1da
Change the date to XX xxx XXXX in development versions.
2002-04-11 21:51:40 +00:00
Lutz Jänicke
e4fb49775b
Synchronize with 0.9.7-stable.
2002-04-11 18:43:52 +00:00
Lutz Jänicke
381a146dc6
Synchronize with 0.9.7-stable branch
2002-04-10 19:52:40 +00:00
Lutz Jänicke
b4a262832a
Keep my own specially optimized HP-UX shared library building up to date.
2002-04-10 12:35:45 +00:00
Bodo Möller
6d498d478e
harmonize capitalization
2002-04-09 12:42:47 +00:00
Bodo Möller
d0561b5c2d
fix ECDSA handling
...
Submitted by: Nils Larsch
2002-04-09 12:01:21 +00:00
Bodo Möller
4f4b192402
add usage examples
2002-04-09 11:54:24 +00:00
Lutz Jänicke
0ae1661ba2
Apply OID fixes for elliptic curves as supplied by
...
Nils Larsch <nlarsch@compuserve.de >.
2002-04-08 15:49:53 +00:00
Ulf Möller
4e9ef338fc
error reported by Karsten Braaten
2002-04-07 13:33:16 +00:00
Richard Levitte
d16e1131b4
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 20:22:48 +00:00
Richard Levitte
a18894d159
make update (libeay.num has been edited to match 0.9.7-stable)
2002-04-06 19:16:12 +00:00
Richard Levitte
dfee50ecd9
Allow longer program names (VMS allows up to 39 characters).
...
Submitted by Compaq.
2002-04-06 19:00:50 +00:00
Richard Levitte
10189984f9
Oops, the system macro for VMS is OPENSSL_SYS_VMS, not VMS
2002-04-06 11:58:04 +00:00
Richard Levitte
d8425465a3
Recognise DEC C++ as equivalent to DEC C for the definitions of OPENSSL_EXTERN and OPENSSL_GLOBAL.
...
Submitted by Compaq.
2002-04-06 11:37:18 +00:00
Richard Levitte
1fc02dcf6a
Use recv() and send() for socket communication on VMS instead of read()
...
and write(). The reason is that read() and write() make additional record
level locking which causes hangs of Compaq Secure Web Server (Apache) with
SSL.
Submitted by Compaq.
2002-04-06 11:35:49 +00:00
Richard Levitte
83d092f785
Make shared libraries resolve global symbols within themselves first.
...
Currently only on GNUish linkers...
Submitted by Steven Bade <sbade@austin.ibm.com >
2002-04-06 09:42:19 +00:00
Lutz Jänicke
4825092bbe
Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).
2002-04-04 17:48:37 +00:00
Richard Levitte
bbd79bdf03
Forgot one of the casts
2002-04-03 15:01:28 +00:00
Richard Levitte
a096e9b719
Cast the pointers to the BIGNUM data to unsigned long *. This would be
...
harmful if we didn't also pass the exact number of bytes of that data
2002-04-03 14:47:38 +00:00
Richard Levitte
ddab25a90d
Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.
...
Furthermore, make SO_MAXCONN the first choice, since that's the standard
(as far as I know).
2002-03-29 23:48:55 +00:00
Lutz Jänicke
ffbe98b763
Make short names of objects RFC2256-compliant.
2002-03-26 17:18:48 +00:00
Richard Levitte
d7a9bb0a2a
A forgotten file
2002-03-26 16:42:38 +00:00
Richard Levitte
0d81c69b8e
Add the possibility to enable olde des support, not just disable it, for future support. Redocument
2002-03-26 14:28:04 +00:00
Richard Levitte
401cd0af0f
Add the mapping of des_random_seed() for 0.9.6 compatibility.
...
Make sure DES_cblock is defined at all times (meaning one shouldn't include
openssl/des_old.h directly any more).
2002-03-26 13:59:22 +00:00
Richard Levitte
c7b41e67f0
Correct the mapping for des_read_pw()
2002-03-26 13:54:15 +00:00
Richard Levitte
003144a8e8
Make the change to strong keys in the string to key(s) functions experimental in the main trunk as well
2002-03-26 12:44:35 +00:00
Bodo Möller
af1cb47e65
fix warnings
...
Submitted by: Nils Larsch
2002-03-25 23:41:32 +00:00
Bodo Möller
e8e7fbdb16
fix memory leak
...
Submitted by: Nils Larsch
2002-03-25 23:18:11 +00:00
Bodo Möller
d5c21afd4b
add missing declaration
...
Submitted by: Nils Larsch
2002-03-25 23:15:21 +00:00
Lutz Jänicke
1afa967909
Fix typo (Craig Davison <cd@securityfocus.com>).
2002-03-25 17:12:24 +00:00
Bodo Möller
85b7b80434
fix conditational compilation for OPENSSL_NO_...
2002-03-22 11:02:13 +00:00
Richard Levitte
fe0f662310
Merge changes from 0.9.7-stable
2002-03-22 10:51:41 +00:00
Richard Levitte
90453438ff
Merge changes from 0.9.7-stable
2002-03-22 10:32:23 +00:00
Richard Levitte
2e63f3b733
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:49:46 +00:00
Richard Levitte
125cc35b59
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:42:57 +00:00
Lutz Jänicke
7e58aa7d71
Fix buggy if-condition (thomas poindessous <poinde_t@epita.fr>).
2002-03-21 19:16:02 +00:00
Lutz Jänicke
be3d90de02
Remove superflous (and buggy) statement <justin.fletcher@ntlworld.com>.
2002-03-21 19:08:35 +00:00
Bodo Möller
82652aaf17
fix DH_generate_parameters for general 'generator'
2002-03-20 16:04:04 +00:00
Bodo Möller
17d6bb8158
New function EC_GROUP_check_discriminant().
...
Restructure implementation of EC_GROUP_check().
Submitted by: Nils Larsch
2002-03-20 10:18:07 +00:00
Lutz Jänicke
11c26ecf81
Map new X509 verification errors to alert codes (Tom Wu <tom@arcot.com>).
2002-03-19 16:42:09 +00:00
Bodo Möller
99d5b23023
Fix typo.
...
Submitted by: Nils Larsch
2002-03-19 09:51:31 +00:00
Dr. Stephen Henson
611ba3f4a1
Initialize ciph_ctx in kssl.c
2002-03-19 01:28:00 +00:00
Bodo Möller
af28dd6c75
Fix bugs and typos.
...
Add some WTLS curves.
New function EC_GROUP_check() (this will probably
be implemented differently soon).
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-03-18 13:10:45 +00:00
Bodo Möller
e79ec456be
fix #include position
...
Submitted by: Nils Larsch
2002-03-18 13:05:20 +00:00
Dr. Stephen Henson
3e268d2717
Ensure EVP_CipherInit() uses the correct encode/decode parameter if
...
enc == -1
[Reported by Markus Friedl <markus@openbsd.org >]
Fix typo in dh_lib.c (use of DSAerr instead of DHerr).
2002-03-16 23:20:05 +00:00
Bodo Möller
c46acbacde
Rename 'cray-t90-cc' into 'cray-j90'.
...
Add to 'config'.
2002-03-15 16:46:41 +00:00
Bodo Möller
304d90425f
fix ssl3_pending
2002-03-15 10:52:32 +00:00
Lutz Jänicke
bfaa8a89e1
Add missing strength entries.
2002-03-14 18:53:15 +00:00
Dr. Stephen Henson
de941e289e
Initialize cipher context in KRB5
...
("D. Russell" <russelld@aol.net >)
Allow HMAC functions to use an alternative ENGINE.
2002-03-14 18:22:23 +00:00
Bodo Möller
1d28453529
add OIDs for WAP/TLS curves
2002-03-14 13:18:57 +00:00
Bodo Möller
690ecff795
Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.
...
Fix dsaparam usage output.
Submitted by: Nils Larsch
2002-03-14 09:52:03 +00:00
Bodo Möller
234c73767d
use BIO_nwrite() more properly to demonstrate the general idea of
...
BIO_nwrite0/BIO_nwrite (the previous code was OK for BIO pairs but not
in general)
2002-03-14 09:48:54 +00:00
Dr. Stephen Henson
497810cae7
Undo previous patch: avoid warnings by #undef'ing
...
duplicate definitions.
Suggested by "Kenneth R. Robinette" <support@securenetterm.com >
2002-03-13 13:59:38 +00:00
Dr. Stephen Henson
cbc9d9713d
Fix Kerberos warnings with VC++.
2002-03-12 19:37:18 +00:00
Dr. Stephen Henson
98fa4fe8c5
Fix ASN1 additions for KRB5
2002-03-12 13:32:35 +00:00
Dr. Stephen Henson
0b4c91c0fc
Fix various warnings when compiling with KRB5 code.
2002-03-12 02:59:37 +00:00
Bodo Möller
b9b43196e1
asm/mips3.o problems
2002-03-11 09:36:04 +00:00
Dr. Stephen Henson
bf6a9e66d6
Make ciphers and digests obtain an ENGINE functional reference
...
if impl is explicitly supplied.
2002-03-09 18:58:05 +00:00
Dr. Stephen Henson
0c372b94f7
Make {RSA,DSA,DH}_new_method obtain and release an ENGINE
...
functional reference in all cases.
2002-03-09 18:25:03 +00:00
Dr. Stephen Henson
26e1237380
Fix the Win32_rename() function so it correctly
...
returns an error code. Use the same code in Win9X
and NT.
Fix some ca.c options so they work under Win32:
unlink/rename wont work under Win32 unless the file
is closed.
2002-03-08 19:11:15 +00:00
Bodo Möller
4882171df5
EC curve stuff
...
Submitted by: Nils Larsch
2002-03-08 11:10:40 +00:00
Richard Levitte
931627e6a0
Synchronise the AEP engine in all branches. For 0.9.6-stable [engine], implement software fallback
2002-03-07 19:38:59 +00:00
Richard Levitte
274a2c9970
When closing, do not use close(). Also, if the closing call fails, do
...
not return immediately since that leaves a locked lock.
2002-03-07 17:13:30 +00:00
Richard Levitte
006fcc22a8
Change des_old.c to use types prefixed with _ossl_old_des_.
2002-03-07 15:41:36 +00:00
Bodo Möller
709c51c424
fix spacing
2002-03-07 12:21:31 +00:00
Bodo Möller
9bc448546e
Add more curves.
...
Submitted by: Nils Larsch
Remove unnecessary 'const'.
2002-03-07 12:14:03 +00:00
Dr. Stephen Henson
0dc092334b
ENGINE module additions.
...
Add "init" command to control ENGINE
initialization.
Call ENGINE_finish on initialized ENGINEs on exit.
Reorder shutdown in apps.c: modules should be shut
down first.
Add test private key loader to openssl ENGINE: this
just loads a private key in PEM format.
Fix print format for dh length parameter.
2002-03-06 14:15:13 +00:00
Bodo Möller
36c194638e
add SECG OIDs
...
Submitted by: Nils Larsch
2002-03-06 13:47:32 +00:00
Bodo Möller
45fb737950
reference counting for EC_GROUP structures is not needed (at the
...
moment at least), so remove it
2002-03-06 09:46:17 +00:00
Richard Levitte
a01273bae3
OpenSSL currently fails on certain pure 64-bit architectures. This is a showstopper
2002-03-06 06:25:31 +00:00
Bodo Möller
2c17323e15
Rephrase statement on the security of two-key 3DES.
...
[Chosen plaintext attack: R. Merkle, M. Hellman: "On the Security of
Multiple Encryption", CACM 24 (1981) pp. 465-467, p. 776.
Known plaintext angriff: P.C. van Oorschot, M. Wiener: "A
known-plaintext attack on two-key triple encryption", EUROCRYPT '90.]
2002-03-05 15:29:30 +00:00
Bodo Möller
870694b3da
fix 'ecdsaparam -C'
2002-03-05 15:17:17 +00:00
Bodo Möller
87a4b4d1f4
fix printf call
2002-03-05 15:05:00 +00:00
Bodo Möller
8ecf5104b3
typo
2002-03-05 14:58:53 +00:00
Bodo Möller
2b3aeffbbd
fix 'ecdsaparam -C' output
...
Submitted by: Nils Larsch
2002-03-05 14:56:17 +00:00
Dr. Stephen Henson
2c2f9e2cc3
Make sure the type accessed by the LONG and ZLONG ASN1 type
...
is really a long, to avoid problems on platforms where
sizeof(int) != sizeof(long).
2002-03-05 13:48:51 +00:00
Bodo Möller
2d9b1b3ffa
more X9.62 OIDs
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-03-05 12:39:19 +00:00
Bodo Möller
f070480275
disable '#ifdef DEBUG' code
2002-03-05 12:37:35 +00:00
Richard Levitte
49f1597de2
Provide a pre 0.9.7 compatibility mapping if
...
OPENSSL_DES_PRE_0_9_7_COMPATIBILITY is defined. NOT AT ALL TESTED YET!
Add a comment as to the libdes compatibility.
2002-03-05 11:26:03 +00:00
Richard Levitte
b44e425f39
New configuration targets for OpenBSD, handed to me by Bob Beck <beck@openbsd.org>
2002-03-05 09:43:18 +00:00
Bodo Möller
93683c3cf8
'#if OPENSSL_VERSION_NUMBER >= ...' to document the recent change
2002-03-05 09:07:16 +00:00
Richard Levitte
a08ee55e2d
Typo. In DCL, the continuation character is a dash at the end of the
...
line, which I forgot when spliting one.
2002-03-04 18:07:59 +00:00
Richard Levitte
3bac6d9479
Rename des_SPtrans to DES_SPtrans to differentiate from libdes and avoid certain linkage clashes.
2002-03-04 16:08:13 +00:00
Richard Levitte
5c5143de48
Make it so one can select tests from within the test directory
2002-03-04 15:58:38 +00:00
Dr. Stephen Henson
c8cd7d9e0f
Fix warnings about signed/unsigned mismatch and global
...
shadowing (random, index) in hw_4758_cca.c
2002-03-03 17:08:20 +00:00
Richard Levitte
e0a6cdcf30
This change was only made in 0.9.7-stable. Synchronise
2002-03-03 01:25:21 +00:00
Richard Levitte
a0ecb9b8fc
Remove the perl/ subdirectory. It hasn't been worked on for ages, is
...
very broken, and there are working modules in CPAN, which makes our
module even more moot.
2002-02-28 22:07:50 +00:00
Richard Levitte
4bf4bc784f
make update
2002-02-28 20:29:20 +00:00
Bodo Möller
9437fef8cc
use ERR_peek_last_error() instead of ERR_peek_error()
2002-02-28 14:07:37 +00:00
Bodo Möller
16b0384bd2
use ERR_peek_last_error() instead of ERR_peek_error() to ignore
...
any other errors that may be left in the error queue
Submitted by: Jeffrey Altman
2002-02-28 14:05:13 +00:00
Richard Levitte
87ebdd8a71
VMS addaptation, including a few more long names that needed hacking.
2002-02-28 13:17:40 +00:00
Richard Levitte
7d68189d8a
Make sure aep_close_connection() is declared and has a prototype that's
...
consistent with the rest of the AEP functions
2002-02-28 12:58:43 +00:00
Richard Levitte
26414ee013
Increase internal security when using strncpy, by making sure the resulting string is NUL-terminated
2002-02-28 12:42:19 +00:00
Richard Levitte
5c62f68e14
Updated AEP engine, submitted by Diarmuid O'Neill <Diarmuid.ONeill@aep.ie>
2002-02-28 11:36:38 +00:00
Richard Levitte
0d22b5dace
Document the added modes for AES
2002-02-28 11:29:55 +00:00
Bodo Möller
023ec151df
Add 'void *' argument to app_verify_callback.
...
Submitted by: D. K. Smetters <smetters@parc.xerox.com >
Reviewed by: Bodo Moeller
2002-02-28 10:52:56 +00:00
Bodo Möller
59dbdb51dc
disable '#ifdef DEBUG' sections
2002-02-28 10:51:56 +00:00
Geoff Thorpe
92d1bc09cb
This adds a new ENGINE to support IBM 4758 cards, contributed by Maurice
...
Gittens.
2002-02-27 22:55:28 +00:00
Lutz Jänicke
d62bfb39cd
Fix the fix (Yoram Zahavi)...
2002-02-27 11:23:05 +00:00
Lutz Jänicke
ce4b274aa1
SSL_clear != SSL_free/SSL_new
2002-02-27 08:08:57 +00:00
Lutz Jänicke
334f1842fc
Make sure to remove bad sessions in SSL_clear() (found by Yoram Zahavi).
2002-02-26 21:40:09 +00:00
Dr. Stephen Henson
b12540520d
Always init ctx_tmp in PKCS7_dataFinal since it is always cleaned up.
2002-02-26 19:33:24 +00:00
Richard Levitte
0d7b9b8b7e
make update, after moving around symbols in libeay.num to match
...
0.9.7-stable.
2002-02-26 14:41:29 +00:00
Dr. Stephen Henson
31188ee1a8
Fix new -aes command argument handling
2002-02-26 13:46:55 +00:00
Dr. Stephen Henson
4a3e6bce79
Make the engine config module always add dynamic ENGINEs
...
to the list using dynamic_path. This stops ENGINEs which
don't supply any default algorithms being automatically
freed (because they have no references) and allows them
to be accessed by id.
Alternative dynamic loading behaviour can be achieved by
issuing the dynamic ENGINE ctrls separately in the config file.
2002-02-24 16:20:50 +00:00
Dr. Stephen Henson
a3829cb720
Updates from stable branch.
2002-02-23 13:50:29 +00:00
Dr. Stephen Henson
e84be9b495
New OPENSSL_LOAD_CONF define to load openssl.cnf
...
when OpenSSL_add_all_algorithms() is called.
2002-02-23 01:00:44 +00:00
Dr. Stephen Henson
3a3ca3f515
Fix for AIX.
...
Submitted by Dawn Whiteside <dwhitesi@tiercel.uwaterloo.ca >
2002-02-22 21:26:25 +00:00
Dr. Stephen Henson
032c49b8b3
non-Monolith fixes.
...
Submitted by Andrew W. Gray <agray@iconsinc.com >
2002-02-22 21:21:18 +00:00
Dr. Stephen Henson
3208ff58ca
make errors
2002-02-22 21:17:31 +00:00
Dr. Stephen Henson
6707d22a40
Update from stable branch.
2002-02-22 14:07:35 +00:00
Dr. Stephen Henson
3647bee263
Config code updates.
...
CONF_modules_unload() now calls CONF_modules_finish()
automatically.
Default use of section openssl_conf moved to
CONF_modules_load()
Load config file in several openssl utilities.
Most utilities now load modules from the config file,
though in a few (such as version) this isn't done
because it couldn't be used for anything.
In the case of ca and req the config file used is
the same as the utility itself: that is the -config
command line option can be used to specify an
alternative file.
2002-02-22 14:01:21 +00:00
Richard Levitte
e2aebccba1
We have AES support in openssl speed
2002-02-21 17:23:04 +00:00
Bodo Möller
3e563bcea7
disable '#ifdef DEBUG' sections
2002-02-21 13:07:44 +00:00
Dr. Stephen Henson
92f91ff48b
Config file updates from stable branch
2002-02-21 00:54:54 +00:00
Richard Levitte
b3dfaaa143
Add AES support in the applications that support -des and -des3.
2002-02-20 18:03:07 +00:00
Richard Levitte
5b7848a345
Add comfy aliases for AES in CBC mode.
2002-02-20 17:59:49 +00:00
Richard Levitte
915c6a21ba
Stop assuming the IV is 8 bytes long, use the real size instead.
...
This is especially important for AES that has a 16 bytes IV.
2002-02-20 17:55:08 +00:00
Richard Levitte
58706d595b
Including openssl/e_os.h in the OpenSSL 0.9.6 branch is legal, since
...
it's exported. Changing that is a BIG step, which has been done in
0.9.7-dev.
2002-02-20 14:07:07 +00:00
Richard Levitte
236be53269
gcc figures that the format specifier %2x means unsigned int, so let's
...
make n unsigned.
2002-02-20 13:50:36 +00:00
Richard Levitte
1fc1bd382b
Instead of casting a lvalue, let's constify meth.
2002-02-20 13:49:17 +00:00
Richard Levitte
a60033f106
Update the status on 64-bit thingy.
2002-02-20 13:19:59 +00:00
Bodo Möller
3613e6fc57
simplifications
...
Submitted by: Nils Larsch
2002-02-20 13:08:17 +00:00
Bodo Möller
f8e21776f9
typo
2002-02-20 12:38:00 +00:00
Richard Levitte
006723cf76
Add reports on checked 64-bit platforms and make space to add platforms that need to be checked
2002-02-20 12:31:23 +00:00
Richard Levitte
aa89bcd279
With Compaq make, it seems like # inside an action becomes part of the command, not a comment at all
2002-02-20 12:16:17 +00:00
Richard Levitte
f19759a182
Instead of just checking for OpenVMS, check if DEC C is used, since it's as
...
picky on all platforms
2002-02-20 12:01:24 +00:00
Bodo Möller
d009bcbfb6
bugfix: allocate sufficiently large buffer
...
Submitted by: Nils Larsch
2002-02-20 11:59:42 +00:00
Richard Levitte
4b71f63ac0
Comparing a pointer (data) with 0 using > is incorrect. The changed
...
comparison doesn't look right, but at least it compiles. It would be nice
if the one who knows what this is supposed to do changed it to do it correctly
2002-02-20 11:57:33 +00:00
Richard Levitte
3adb8c3854
With Compaq make, it seems like # inside an action becomes part of the command, not a comment at all
2002-02-20 11:43:40 +00:00
Richard Levitte
02e666d59f
Don't shadow already defined variables
2002-02-20 11:42:42 +00:00
Geoff Thorpe
5b2d6ff07e
make update
2002-02-20 08:33:55 +00:00
Geoff Thorpe
877b2fbd3c
A rough little self-test for tunala. This runs through all cipher-suite /
...
SSL/TLS version combinations looking for mishaps.
2002-02-20 05:12:45 +00:00
Geoff Thorpe
afeab58a3c
Make the "ungunk" logic a little more robust.
2002-02-20 05:09:22 +00:00
Geoff Thorpe
744c49a81b
- Add support for cipher suites that require a temporary RSA key for
...
key-agreement.
- Tolerate signal interruptions of select().
2002-02-20 05:02:50 +00:00
Richard Levitte
9c5b91fd0b
Oh, and since config figures out that we run Cygwin and what versions,
...
let's recommend running config instead of a manual Configure.
2002-02-16 22:31:16 +00:00
Richard Levitte
290d3eab76
Since Cygwin is the proper spelling, let's change to that everywhere.
...
Also, with the change in Configure, it now knows on it's own if
threads are supported or not.
2002-02-16 22:28:31 +00:00
Ulf Möller
46dae77c23
Cygwin target name has been changed!
2002-02-16 16:53:25 +00:00
Richard Levitte
a6cd870784
The AES modes OFB and CFB are defined with 128 feedback bits. This
...
deviates from the "standard" 64 bits of feedback that all other
algorithms are using. Therefore, let's redo certain EVP macros to
accept different amounts of feedback bits for these modes.
Also, change e_aes.c to provide all usually available modes for AES.
CTR isn't included yet.
2002-02-16 12:39:07 +00:00
Richard Levitte
97879bcd57
Add the modes OFB128, CFB128 and CTR128 to AES.
...
Submitted by Stephen Sprunk <stephen@sprunk.org >
2002-02-16 12:20:34 +00:00
Richard Levitte
ab1dee1efc
Adjust the NID names for the AES modes OFB and CFB to contain the number
...
of feedback bits
2002-02-16 12:15:30 +00:00
Richard Levitte
e072aa535d
The macro IMPLEMENT_ASN1_FUNCTIONS_const already contains an ending ;,
...
so do not add one after the expansion, since ANSI C doesn't allow ;;
at this level (or at least, so tells me gcc).
2002-02-16 12:03:25 +00:00
Richard Levitte
48f9859d2a
Local time' shadows the global function time()'. Rename the local
...
variable to `tim' (and, as a matter of consequence, `time_d' to `tim_d').
2002-02-16 12:01:13 +00:00
Richard Levitte
48b5083ca0
Missing #endif
2002-02-16 11:58:16 +00:00
Richard Levitte
cd64618674
gcc chokes on C++ comments in C code.
2002-02-16 11:57:25 +00:00
Richard Levitte
5d7e960adf
Give the linux-sparv9 target shared capability.
...
Submitted by Ian Marsh <mushypea@dominion.net.uk >
2002-02-15 16:22:22 +00:00
Lutz Jänicke
f0d6ee6be8
Even though it is not really practical people should know about it.
2002-02-15 07:41:42 +00:00
Bodo Möller
e65991f977
fix indentation
2002-02-14 16:08:55 +00:00
Richard Levitte
3e83e686ba
Add the configuration target VxWorks.
2002-02-14 15:37:38 +00:00
Bodo Möller
8f06b00373
make it possible to disable memory checking for timings
2002-02-14 14:41:13 +00:00
Bodo Möller
1dea1f4509
'-C' is still quite broken
2002-02-14 14:30:20 +00:00
Bodo Möller
44411db8e0
fix '-C'
2002-02-14 14:25:33 +00:00
Bodo Möller
23ac7a1407
fix memory leak
2002-02-14 14:21:49 +00:00
Bodo Möller
dda640835f
move ECDSA test right after EC test
2002-02-14 14:03:32 +00:00
Bodo Möller
6cc3700314
don't call OPENSSL_config(), this does not make any sense during "make test"
2002-02-14 13:51:20 +00:00
Richard Levitte
cc1489d2f2
Make sure memset() is defined by including string.h
...
Notified by Oscar Jacobsson <oscar@jacobsson.org >
2002-02-14 13:51:04 +00:00
Richard Levitte
016029c69f
For some reason, getting the topmost error was done the same way as
...
getting the bottommost one. I hope I understood correctly how this
should be done. It seems to work when running evp_test in an
environment where it can't find openssl.cnf.
2002-02-14 13:45:26 +00:00
Richard Levitte
516b848286
make update, with libeay.num remade to match the 0.9.7-stable one.
2002-02-14 13:43:30 +00:00
Richard Levitte
c4202285ef
The Cygwin shared extension was shifted.
2002-02-14 13:36:28 +00:00
Richard Levitte
49e045482a
At Corinna Vinschen's request, change CygWin32 to Cygwin
2002-02-14 12:28:24 +00:00
Bodo Möller
d8309efc72
EC_GROUP_get_group_by_name() is now called EC_GROUP_new_by_name()
2002-02-14 10:23:20 +00:00
Ben Laurie
f43acc8a50
Fix warnings.
2002-02-14 09:59:35 +00:00
Richard Levitte
ba47f5c9b0
Correct sh, please
2002-02-14 02:20:34 +00:00
Bodo Möller
4d94ae00d5
ECDSA support
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-02-13 18:21:51 +00:00
Bodo Möller
60d8bae30d
some modifications to named curve support
2002-02-13 17:57:52 +00:00
Richard Levitte
0caec9e8f8
Modify the main trunk version to 0.9.8-dev.
...
0.9.7 now lives in the branch OpenSSL_0_9_7-stable.
2002-02-13 17:46:38 +00:00
Bodo Möller
4f85a2e21e
new locks
2002-02-13 17:25:27 +00:00
Bodo Möller
945e15a253
add support for named curves
...
Submitted by: Nils Larsch <nla@trustcenter.de >
2002-02-13 17:22:59 +00:00
Richard Levitte
1fe198b6f9
Update the configuration of CygWin32 to use the new capabilities of
...
CygWin 1.3.x, which includes thread and shared library support.
Submitted by Corinna Vinschen <vinschen@redhat.com > and modified a
little bit.
2002-02-13 14:44:33 +00:00
Bodo Möller
78d6603aad
We should implement a countermeasure against the predictable-IV CBC
...
weakness in SSL/TLS
2002-02-13 10:21:25 +00:00
Richard Levitte
7241ae1a0a
Move teh silencer to the right place.
2002-02-13 10:16:37 +00:00
Richard Levitte
5f58d6a5e0
Make link-shard a little bit more efficient. If there are no
...
extensions to link together, there's no point looping at all.
2002-02-13 10:15:05 +00:00
Lutz Jänicke
acfe628b6e
Make removal from session cache more robust.
2002-02-10 12:46:41 +00:00
Bodo Möller
182d8435f0
add a wish
2002-02-09 01:49:53 +00:00
Lutz Jänicke
4de920c91d
Do not store unneeded data.
2002-02-08 15:15:04 +00:00
Richard Levitte
3cd039dd8f
Add notes on the added support for aep and sureware crypto cards in
...
0.9.7.
2002-02-07 22:15:53 +00:00
Richard Levitte
81269a81ee
Remove an unused variable.
2002-02-07 21:55:22 +00:00
Richard Levitte
3537525e00
Oops, do not unlock CRYPTO_LOCK_DYNLOCK when we locked
...
CRYPTO_LOCK_RAND...
2002-02-07 21:49:21 +00:00
Richard Levitte
d38f3ad1ee
I forgot to include the aep and sureware vendor header files.
2002-02-07 21:43:05 +00:00
Richard Levitte
e083f91497
Because AEP and we used the same AEP_R_ prefix for error reasons,
...
lets change our prefix to AEPHK_R_. Otherwise, we get very mysterious
errors because we happen to redefine AEP_R_OK and AEP_R_GENERAL_ERROR.
2002-02-07 21:12:08 +00:00
Richard Levitte
ba2cad19cf
Add aep and sureware implementations and clean up some error reasons
...
that were never part of the engine framework.
The aep and sureware implementations are taken directly from 0.9.6c
[engine] and have been modified to fit the newer engine framework and
to be possible to build shared libraries of.
The aep implementation has gone through quite a bunch of tests and is
cleaned up (there were some misunderstandings in it about how to use
locks).
The sureware hasn't been tested at all in this incarnation and is
basically a quick hack to get it to compile properly.
2002-02-07 20:44:14 +00:00
Richard Levitte
db0a1efcc9
Certain reasons aren't really part of the engine framework, so let's
...
make them ubsec-specific in the ubsec implementation.
2002-02-07 20:37:55 +00:00
Richard Levitte
9074521458
Generate the individual engines' error strings and macros
...
automatically.
2002-02-07 20:02:49 +00:00
Richard Levitte
f924200e1b
If the intended header file doesn't exist, create it.
2002-02-07 19:23:35 +00:00
Richard Levitte
de2f6e4dae
'make update'
2002-02-05 17:34:58 +00:00
Richard Levitte
44bdb056d4
With the changed des_old API, let's complete the work by renaming the
...
functions in ui_compat. This gave reason to rework that part more
thoroughly, so here are the changes made:
1. Add DES_read_password() and DES_read_2passwords() with the same
functionality as the corresponding old des_ functions, as a
convenience to the users.
2. Add UI_UTIL_read_pw_string() and UI_UTIL_read_pw() with the
functionality from des_read_pw_string() and des_read_pw(), again as
a concenience to the users.
3. Rename des_read_password(), des_read_2passwords(),
des_read_pw_string() and des_read_pw() by changing des_ to
_ossl_old_des_, and add the usual mapping macros.
4. Move the implementation of des_read_password() and
des_read_2passwords() to the des directory, since they are tightly
tied to DES anyway.
This change was inspired by a patch from Assar Westerlund <assar@sics.se >:
There are some functions that didn't get the kick-away-old-des-and-
replace-des-with-DES action. Here's a patch that adds DES_ and des_
(in des_old.h) versions of des_read_pw_string et al. This patch
includes some of the first des_old.h semi-colon macro fixes that I've
already sent.
2002-02-05 17:15:18 +00:00
Richard Levitte
c31bbf1e68
Apply one patch from Assar Westerlund <assar@sics.se>:
...
The following patch makes sure that string2key does not use weak DES
keys (then making them non-weak by xor:ing with 0xF0).
2002-02-05 15:05:42 +00:00
Richard Levitte
5e68f8ce15
Apply three patches from Assar Westerlund <assar@kth.se>:
...
This patch makes the macros in des_old.h actually pretend to be
functions.
There's no reason not to define _ossl_old_crypt when using
PERL5/FreeBSD/darwin/Next, since it makes using crypt and including
des.h break. Here's a trivial patch.
This patch fixes some of the typos used in macro names in des_old.h
and the number of arguments for some of them.
2002-02-05 06:02:58 +00:00
Richard Levitte
b9a3ef4c6e
ASN1_BIT_STRING_set_bit() didn't clear previously set bits
2002-02-03 21:31:41 +00:00
Dr. Stephen Henson
1955b87423
#undef some things that cause a conflict under Win32 when
...
wincrypt.h is included.
2002-02-02 13:19:27 +00:00
Lutz Jänicke
866eedb936
Shut up compiler warnings for inconsistent declarations.
2002-01-29 17:14:50 +00:00
Lutz Jänicke
f701551f36
HP-UX 32bit:
...
* When linking against shared libraries, the absolute path is remembered.
- When linking against -L.., '..' is remembered inside the executable,
so it will fail after "make install" or when not called from inside the
"apps/" subdirectory of the build tree.
- When using the "+cdp" option of "ld", the ".." information can be
exchanged against $(INSTALL_TOP)/lib. In this case the executable
will however refuse to work before "make install" has been called.
This makes testing the 'openssl' executable a problem.
* Solution 1:
Relink the "openssl" executable, when "make install" is called.
This would however require significant changes to the toplevel Makefile
and the apps/ Makefile.
* Solution 2:
Statically link against libssl and libcrypto, so that the "openssl"
executable is no longer dependant on the openssl shared libraries.
Select option 2 for HP-UX 32bit, as this requires the smallest change.
2002-01-29 16:32:40 +00:00
Lutz Jänicke
adc4df3616
Make SHLIB_TARGET available in subdirs (here: apps/)
2002-01-29 16:20:08 +00:00
Richard Levitte
1199e2d8cf
Apply patch from Toomas Kiisk <vix@cyber.ee> and complete it.
2002-01-29 12:36:01 +00:00
Lutz Jänicke
0f180d1d1d
Superflous '\' messes up with HP-UX make.
2002-01-28 16:30:06 +00:00
Bodo Möller
072569e0f1
Undo previous change, X509_check_issued() was correct.
...
[See
Message-ID: <3BB07999.30432AD2@celocom.com >
Date: Tue, 25 Sep 2001 13:33:29 +0100
From: Dr S N Henson <drh@celocom.com >
To: openssl-dev@openssl.org
Subject: Re: Error in v3_purp.c
]
2002-01-27 17:41:12 +00:00
Richard Levitte
ba9786e4b8
Spelling correction.
2002-01-27 16:12:27 +00:00
Richard Levitte
613599ffff
Correct the number of colons for the targets aix43-cc, aix43-gcc,
...
alpha-cc, alpha-cc-rpath, alpha-gcc, alpha164-cc and alphaold-cc.
2002-01-27 16:03:40 +00:00
Richard Levitte
c9c21d3b89
Detect one-step shifts of the dso_scheme.
2002-01-27 15:58:34 +00:00
Richard Levitte
d0d046eca2
I got some reports that some targets have weird dso_schemes.
...
Therefore, I've added a sanity checker.
Note that it can be combined with almost any other argument (the other
arguments will be completely ignored), with "reconf" as the blatant
exception, since it also has the behavior of ignoring all following
command line arguments. If --test-sanity and reconf are both used on
the command line, the first one wins.
2002-01-27 15:52:37 +00:00
Lutz Jänicke
2a81428489
Remove blanks at begin of empty lines irritating epv_test.c
2002-01-26 15:24:38 +00:00
Richard Levitte
7073e9e2a0
Update SCO5 targets.
2002-01-26 05:24:05 +00:00
Richard Levitte
d866df33a1
Apply a small patch from Dan Lanz <lanz@zolera.com> to get shared
...
libraries with debug-linux-elf.
2002-01-26 05:08:31 +00:00
Richard Levitte
b77fcddb6b
Apply a small patch from Oscar Jacobsson <oscar@jacobsson.org> that
...
makes things more compilable with VC++.
2002-01-26 04:50:41 +00:00
Richard Levitte
f6fbd470e3
It looks like I didn't remove everything that has to do with the
...
non-existant aestest.c.
2002-01-26 04:45:37 +00:00
Richard Levitte
63810d8566
Apply a small patch from Diego R. Lopez <diego.lopez@rediris.es>,
...
making X509_check_issued() properly match an issuer that's found in a
Authority Key Identifier.
2002-01-26 04:25:16 +00:00
Richard Levitte
123c401967
GCC uses __i386__.
2002-01-26 03:57:41 +00:00
Richard Levitte
a3fffd648b
Add old patch from Robert Dahlem <Robert.Dahlem@ffm2.siemens.de> to
...
make it possible to produce shared libraries on ReliantUNIX.
2002-01-26 03:17:27 +00:00
Richard Levitte
2d57b73a50
I got a request to make the "old des" symbols more closely tied to
...
OpenSSL. Adding '_ossl' in the name seems to be a good way to do
this.
2002-01-26 01:14:09 +00:00
Richard Levitte
f14845d999
Apply Neale Ferguson's patch to add a configuration target for linux-s390x
2002-01-25 22:06:59 +00:00
Richard Levitte
80bb905d3d
Apply the following changes by Toomas Kiisk <vix@cyber.ee>:
...
* make openssl rsa work with -engine chil
* misc changes, including debug-linux-ppro Configure target
and FORMAT_NETSCAPE-aware load_{,pub}key()
This completes the application of his changes.
2002-01-25 19:43:52 +00:00
Richard Levitte
a297985f42
Apply a change by Toomas Kiisk <vix@cyber.ee>:
...
* Fix a crashbug and a logic bug in hwcrhk_load_pubkey()
2002-01-25 17:45:30 +00:00
Richard Levitte
404dcc5e8e
I must learn to compile before I commit...
2002-01-25 17:35:19 +00:00
Richard Levitte
8242a6a9fc
Document the change in rsautl.
2002-01-25 17:00:56 +00:00
Richard Levitte
17bcb8d465
Add -keyform. Document -engine.
2002-01-25 16:51:46 +00:00
Richard Levitte
72165799a8
There is no aestest currently. The EVP tester is used to check the
...
AES algorithm.
2002-01-25 07:52:25 +00:00
Geoff Thorpe
f1c2a9de45
The 'type' parameter, an EVP_MD pointer, represents the type of digest
...
required as well as a default implementation (when no ENGINE provides a
replacement implementation). This change makes sure the correct
implementation's "init()" handler is used rather than assuming 'type'.
2002-01-25 03:13:50 +00:00
Richard Levitte
52b66a622d
Keep the NIST AES vectors that were there previously.
2002-01-24 18:09:50 +00:00
Bodo Möller
273db408a8
sort functions ...
2002-01-24 17:17:33 +00:00
Bodo Möller
957b6db3b1
fix formatting of automatically generated error section
2002-01-24 16:20:42 +00:00
Bodo Möller
a14e2d9dfe
New functions
...
ERR_peek_last_error
ERR_peek_last_error_line
ERR_peek_last_error_line_data
(supersedes ERR_peek_top_error).
Rename OPENSSL_NO_OLD_DES_SUPPORT into OPENSSL_DISABLE_OLD_DES_SUPPORT
because OPENSSL_NO_... indicates disabled algorithms (according to
mkdef.pl).
2002-01-24 16:16:43 +00:00
Bodo Möller
a8b94d6409
Reword CHANGES entry for _old_des_..., as it was a little complicated
...
syntactically.
2002-01-24 14:05:55 +00:00
Richard Levitte
fe19c448f0
make update
...
libeay.num got tweaked so the old des symbols would retain their
positions.
2002-01-24 12:31:54 +00:00
Richard Levitte
fcf6473199
Because of recent changes, there's no need to hack the des symbols any
...
more.
2002-01-24 12:30:15 +00:00
Richard Levitte
1285221370
To avoid all kinds of link-level clashes, rename all old des_*
...
functions to _old_des_*.
2002-01-24 12:26:50 +00:00
Richard Levitte
5dcf517d84
To avoid all kinds of link-level clashes, rename all old des_*
...
functions to _old_des_*.
2002-01-24 12:19:13 +00:00
Lutz Jänicke
9b2f486c9e
Document the current behaviour of the DES interface.
2002-01-23 10:12:45 +00:00
Ben Laurie
24995f3a10
Support old DES APIs by default.
2002-01-22 23:19:01 +00:00
Ben Laurie
0fc5cf0870
Make no config file not an error. Move /dev/crypto config to ctrl.
2002-01-22 22:29:58 +00:00
Dr. Stephen Henson
f78d4a35f8
Constification.
2002-01-22 02:06:33 +00:00
Dr. Stephen Henson
df5eaa8a52
default_algorithms option in ENGINE config.
2002-01-22 01:40:18 +00:00
Lutz Jänicke
6ce46d69f5
Typos (jsyn <jsyn@openbsd.org>).
2002-01-21 18:01:46 +00:00
Lutz Jänicke
575e664a7c
Fix incorrect BIO_*_ctrl() macros (Shay Harding <sharding@ccbill.com>).
2002-01-21 17:59:37 +00:00
Richard Levitte
7389c848d4
Use FIPS-197 vectors for AES. The NIST vectors were constructed by
...
reencrypting or redecrypting the ciphertext 10000 times, which of
course gives higly different results.
2002-01-21 17:55:38 +00:00
Richard Levitte
4d393410f3
Add more of the NIST test vectors for AES.
...
For some reason, they give incorrect results with the OpenSSL
implementation. I wonder why...
2002-01-21 16:09:45 +00:00
Richard Levitte
bd69750360
Bring VMS up to date with development.
2002-01-21 15:37:53 +00:00
Dr. Stephen Henson
c9501c223f
Initial ENGINE config module, docs to follow.
...
Fix buffer overrun errors in OPENSSL_conf().
2002-01-21 03:02:36 +00:00
Ben Laurie
9dd5ae6553
Constification, add config to /dev/crypto.
2002-01-18 16:51:05 +00:00
Bodo Möller
e1e876072d
disable broken code
2002-01-18 12:28:05 +00:00
Ben Laurie
dd2589494f
Other errors are possible.
2002-01-18 12:19:24 +00:00
Ben Laurie
1cfa8a397f
Stupid apps should die, not fail silently.
2002-01-18 11:46:39 +00:00
Ben Laurie
bdae099862
Fix memory leak.
2002-01-18 11:32:30 +00:00
Ben Laurie
cca28b291c
Constification, missing declaration, update dependencies.
2002-01-18 10:59:43 +00:00
Geoff Thorpe
062d3e39e7
Correct for the recent prototype changes.
2002-01-17 01:51:37 +00:00
Ulf Möller
e29f478a7a
*** empty log message ***
2002-01-16 19:22:13 +00:00
Geoff Thorpe
1b58b616e3
Produce less confusing statistics when "-out_totals" is used.
2002-01-16 05:31:02 +00:00
Geoff Thorpe
c70d381775
The sample certs had expired, so these are newer ones that should last
...
quite a bit longer.
2002-01-16 05:29:11 +00:00
Bodo Möller
508d8b1617
run test_evp before test_ssl
2002-01-15 11:43:51 +00:00
Bodo Möller
8c74b5e56c
Bugfix: In ssl3_accept, don't use a local variable 'got_new_session'
...
to indicate that a real handshake is taking place (the value will be
lost during multiple invocations). Set s->new_session to 2 instead.
2002-01-14 23:40:26 +00:00
Bodo Möller
c59ba5b528
Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if
...
the SSL_R_LENGTH_MISMATCH error is detected.
2002-01-14 12:37:59 +00:00
Ben Laurie
45d87a1ffe
Prototype info function.
2002-01-12 15:56:13 +00:00
Ben Laurie
a3feb21bbe
Add client_cert_cb prototype.
2002-01-12 13:15:40 +00:00
Ben Laurie
37530362fa
Return value could be undefined.
2002-01-12 13:13:22 +00:00
Geoff Thorpe
fd69886aed
- Network errors could pollute the buffers because -1 isn't noticed in an
...
"unsigned int".
- Remove redundant processing with machine->ssl is NULL.
- Remove compiler warnings about uninitialised 'ctx' (it's not used
uninitialised, but gcc can't see that).
2002-01-10 06:03:12 +00:00
Richard Levitte
fd795679bb
Patches to make OpenSSL compilable on MacOS/X.
...
Submitted by Pier Fumagalli <pier@betaversion.org >
2002-01-08 09:19:31 +00:00
Geoff Thorpe
e523f5f389
- libtool finally annoyed me too much, so I'm nuking it,
...
- tidy up some output,
- print a warning when running an SSL server with no cert,
- only log each connect/disconnect if the new "-out_conns" switch is used.
2002-01-08 02:58:55 +00:00
Geoff Thorpe
e4dd79bbc8
- Add the same header stuff to aes_locl.h as is in des_locl.h to avoid
...
undefined functions (memset, etc).
- Put a .cvsignore in the aes directory too.
2002-01-05 12:55:08 +00:00
Dr. Stephen Henson
bc37d996fc
Experimental configuration code.
...
Incomplete, largely untested and subject to change/deletion.
2002-01-05 01:37:16 +00:00
Bodo Möller
31cafe53c9
add a sentence previously deleted by accident
2002-01-04 15:22:40 +00:00
Bodo Möller
dc4ddcd2bb
add documentation for SSLeay_version(SSLEAY_DIR) and
...
'openssl version -d'
use some descriptions from Lutz' redundant manual page
instead of the previous ones
2002-01-04 15:17:09 +00:00
Lutz Jänicke
5256b021f3
Tsss, SSLeay_version() was already documented, it just was not linked in.
2002-01-04 15:05:51 +00:00
Bodo Möller
1bb68d62ab
synchronize with engine-0.9.6 tree
2002-01-04 15:03:25 +00:00
Lutz Jänicke
4ab1e7ceaf
Add information as provided by Richard Levitte on openssl-users :-)
2002-01-04 14:55:38 +00:00
Dr. Stephen Henson
06623ff028
Update PEM docs
2002-01-04 13:35:37 +00:00
Bodo Möller
67d48c8cc8
fix 'Configure TABLE' output
2002-01-04 13:30:05 +00:00
Bodo Möller
d59fb0dd2f
Changes that break something should be included in CHANGES
...
to make it easier to fix things.
2002-01-04 13:27:52 +00:00
Bodo Möller
245f44e2ab
add automatically generated ERR_load_... prototype
2002-01-04 13:12:08 +00:00
Bodo Möller
e5d6528a12
fix EVP_CIPHER_mode macro
...
Submitted by: "Dan S. Camper" <dan@bti.net >
2002-01-04 13:04:45 +00:00
Geoff Thorpe
980afccf98
Constify.
2002-01-04 07:01:35 +00:00
Richard Levitte
9bd2cd745f
Better clarification on perl
2002-01-03 18:53:47 +00:00
Richard Levitte
015fbde807
make update
2002-01-02 17:31:23 +00:00
Richard Levitte
ba1b888384
Implement speed measurement for AES.
...
Submitted by Stephen Sprunk <stephen@sprunk.org > as part of his AES
integration patch.
2002-01-02 16:57:57 +00:00
Richard Levitte
6f9079fd50
Because Rijndael is more known as AES, use crypto/aes instead of
...
crypto/rijndael. Additionally, I applied the AES integration patch
from Stephen Sprunk <stephen@sprunk.org > and fiddled it to work
properly with the normal EVP constructs (and incidently work the same
way as all other symmetric cipher implementations).
This results in an API that looks a lot like the rest of the OpenSSL
cipher suite.
2002-01-02 16:55:35 +00:00
Richard Levitte
c938563a81
The block size may be something other than 8!
2002-01-02 16:51:17 +00:00
Richard Levitte
40928698bb
When RSA or DSA are disabled, do not include the stuff that's specific
...
to them.
2002-01-02 12:45:51 +00:00
Richard Levitte
138d8ab0c7
make update
2002-01-02 12:44:54 +00:00
Richard Levitte
47cc5525a2
RSA counter should only be defined of RSA is available.
2002-01-02 12:40:38 +00:00
Richard Levitte
67fec850e1
Allow verification of other types than DATA.
...
Submitted by Leonard Janke <leonard@votehere.net >
2002-01-02 11:54:38 +00:00
Richard Levitte
82db6e1646
Say that recent CygWin perl versions work as well.
...
Submitted by Eric Hanchrow <erich@votehere.net >
2002-01-02 11:25:17 +00:00
Richard Levitte
e7227322b3
Allow 8-bit characters. This is not really complete, it only marks
...
characters with the highest bit set as HIGHBIT. We need to expand
this to support the UTF-8 character set properly. However, this
solves the problem that the character 0x80 (which is common in UTF-8)
gets masked to 0x00.
Patch submitted by "Huang Yuzhen" <huangyuzhen@bj.tom.com >
2002-01-02 11:06:02 +00:00
Richard Levitte
a5595fde9a
On Solaris64, cc needs the flag -xarch=v9 when linking shared
...
libraries. Make a general change to support shared library
linking flags in general.
Noted by Nick Briggs <briggs@parc.xerox.com >
2002-01-02 10:30:07 +00:00
Richard Levitte
95f8c7195c
Add support for Linux on HP/PA.
...
Submitted by "Bryan W. Headley" <bheadley@interaccess.com >
2002-01-02 10:00:22 +00:00
Ulf Möller
dcbbf83dba
ssl3_read_bytes bug fix
...
Submitted by: D P Chang <dpc@qualys.com >
Reviewed by: Bodo
2001-12-28 17:14:35 +00:00
Bodo Möller
3c89d78dba
update FAQ and CHANGES file (0.9.6c has been released)
2001-12-21 12:29:52 +00:00
Richard Levitte
84fcd6f83e
Status update
2001-12-21 03:23:15 +00:00
Richard Levitte
a92ae07091
And just for the sake of completeness, let's add some standard macros...
2001-12-21 01:12:29 +00:00
Richard Levitte
68809d3969
Better use the same number in all branches, to avoid confusion
2001-12-21 01:08:40 +00:00
Richard Levitte
d6a89fcf88
Do not forget to compile comp_err.c
2001-12-20 22:12:10 +00:00
Richard Levitte
ef5f6a08ff
Synchronise with the 0.9.6 branch.
2001-12-20 16:58:26 +00:00
Ben Laurie
7c517a04b1
Security fix.
2001-12-20 12:18:08 +00:00
Ulf Möller
d78e52987e
Cygwin patch. Submitted by Michael Kobar <mkobar@lymeware.com>
2001-12-19 19:37:31 +00:00
Bodo Möller
755cc53a6e
formatting consistency
2001-12-17 19:28:05 +00:00
Bodo Möller
1226c472b7
oops
2001-12-17 19:26:43 +00:00
Bodo Möller
4d7072f4b5
remove redundant ERR_load_... declarations
2001-12-17 19:22:23 +00:00
Bodo Möller
b5348a095d
consistency with 0.9.6 stable "CHANGES"
2001-12-17 19:11:03 +00:00
Bodo Möller
66df02fd98
fix BN_rand_range
2001-12-14 10:09:29 +00:00
Richard Levitte
206eb6a11d
Change pkcs12 so the certificates coming from -in do not get tossed if
...
-certfile is given as well.
2001-12-12 16:49:02 +00:00
Richard Levitte
f11fd3f4e1
Implement failover for ubsec. Submitted by Subramanian Ramamoorthy
...
<sram@broadcom.com > with the following comment:
[...] We have implemented failover (ie, if for some reason that the
hardware fails, the implementation detects this failure and performs
this operation as if no hardware is present, ie, in software) for
sometime now and have tested it here with our hardware. [...]
This change was cc:ed to exports@crypto.com
2001-12-12 12:53:13 +00:00
Richard Levitte
29b108f939
make update
2001-12-11 10:57:13 +00:00
Ulf Möller
31106cc750
name confusion with HP library function prototype (?)
2001-12-10 18:52:06 +00:00
Ben Laurie
ff3fa48fc7
Improve back compatibility.
2001-12-09 21:53:31 +00:00
Bodo Möller
87166e1fb6
fix warnings (one of them was clearly justified)
2001-12-07 17:02:01 +00:00
Dr. Stephen Henson
f3e24baddf
Don't overwrite signing time.
2001-12-07 00:36:32 +00:00
Lutz Jänicke
a6977ee73d
HPUX 9.X on m68k with gcc
...
("Anton J. Gamel" <gamel@anna.anatomie.uni-freiburg.de >)
2001-12-06 13:15:51 +00:00
Richard Levitte
d4704d5245
UID was never a lable for uniqueIdentifier. However, LDAP and certain
...
RFCs concerning X.500 directories use UID as a shorter name for the
attribute type userId, which is defined by CCITT and available through
RFCs 1274 and 2247.
Unfortunately, if some applications have used the name "UID" for the
uniqueIdentifier attribute type, they will produce incorrect results.
However, I found it better to follow the standards that are out there
rather than having our own incompatible one.
2001-12-04 11:01:17 +00:00
Richard Levitte
8f0edcb3d2
I was recently informed that some people wrongly use ssleay.txt as
...
main documentation, so let's warn them a little more, so the word
"OBSOLETE" really gets understood.
2001-12-04 07:38:17 +00:00
Bodo Möller
35e25255e0
crypto/objects stuff
2001-12-03 14:03:23 +00:00
Bodo Möller
c3fbf5d9a8
Fix: 2.5.29 is "id-ce", not "ld-ce" (sort of a typo in objects.h).
...
Fix (?): Delete 'ip-pda 6' (id-pda-pseudonym) because it does not exist
in RFC 3039.
Also change Perl scripts to put auto-generation warning in the
first lines of the file.
2001-12-03 13:47:22 +00:00
Dr. Stephen Henson
55e42c93a8
EVP_BytesToKey documentation.
2001-12-03 03:07:37 +00:00
Dr. Stephen Henson
6a0dec9584
Make EVP_SealInit() return the correct value.
2001-12-01 23:09:38 +00:00
Dr. Stephen Henson
21a85f1977
Add -pubkey option to req command.
2001-12-01 23:03:30 +00:00
Dr. Stephen Henson
322de0c8c1
NO_DSA, NO_RSA patches.
2001-12-01 22:41:39 +00:00
Lutz Jänicke
6a9af68b56
Support for QNX (wrat@jump.net (the wharf rat)).
2001-11-30 09:38:57 +00:00
Richard Levitte
b6e4dac217
Certain missing algorithms make some SSL versions or TLS impossible to
...
build.
2001-11-27 11:48:30 +00:00
Bodo Möller
8a0a9392ab
discuss -name and default_ca more correctly (I hope)
2001-11-26 12:13:50 +00:00
Geoff Thorpe
bcbe4e5254
This looks to have been a typo.
2001-11-24 04:02:42 +00:00
Bodo Möller
47ff5c6279
For future portability reasons MIT is moving all macros to function
...
calls. This patch allows compilation either way.
Submitted by: Jeffrey Altman <jaltman@columbia.edu >
2001-11-23 21:50:50 +00:00
Bodo Möller
898f856c44
info on 0.9.6 engine branch
2001-11-23 21:12:44 +00:00
Bodo Möller
883b0c2274
fix submitted by Andy Schneider <andy.schneider@bjss.co.uk>
...
(in main branch, hn_ncipher.c is already correct)
2001-11-23 20:58:40 +00:00
Bodo Möller
4f94d1a8b1
check OPENSSL_NO_... before including header files that might be
...
disabled
2001-11-22 11:13:10 +00:00
Bodo Möller
1d4581c2dd
OS/390 support
...
Submitted by: Richard Shapiro <rshapiro@abinitio.com >
2001-11-22 11:09:42 +00:00
Bodo Möller
c05940edc7
comment
2001-11-22 11:08:38 +00:00
Geoff Thorpe
c507a16e49
Cut "ENGINE_ID" to the more concise "ID".
2001-11-22 10:08:49 +00:00
Geoff Thorpe
308f028e28
In this particular error condition, the structural reference wasn't being
...
released.
2001-11-22 09:20:08 +00:00
Geoff Thorpe
e4a6cf421a
When the "dynamic" ENGINE loads another ENGINE from a shared-library, it
...
essentially overwrites itself with the new ENGINE, with the exception of
reference counts, ex_data structures, and other 'admin' elements. However
if the new ENGINE doesn't populate certain elements, there's the risk of
the "dynamic" ENGINE's elements showing through - the "cmd_defns" were just
one of the possibilities. This implements a more comprehensive cleanup.
2001-11-22 09:13:18 +00:00
Geoff Thorpe
329636d6e3
The "openssl" ENGINE is no longer used except as a testing/debugging
...
device. This change enables it for building as a self-contained "dynamic"
ENGINE, to help testing such mechanisms.
2001-11-22 09:01:11 +00:00
Geoff Thorpe
9163b8fb23
'flags' should only be set inside DSO_load() if constructing a new DSO
...
object - otherwise we overwrite any flags that had been previously set in
the DSO before calling DSO_load().
2001-11-22 08:48:09 +00:00
Richard Levitte
a542db90c6
Extentions of the explanations to the linking problem on Win32. Provided by Andrew Gray <agray@iconsinc.com>
2001-11-19 20:46:35 +00:00
Lutz Jänicke
a7ce69dbd7
Clarify reference count handling/removal of session
...
(shinagawa@star.zko.dec.com ).
2001-11-19 11:11:23 +00:00
Richard Levitte
9d93ce246c
On VMS, the norm is still that symbols are uppercased, so for now it's better
...
to trust that norm. I might implement a control for this later on
2001-11-16 13:12:19 +00:00
Bodo Möller
76c4336c43
wNAFs use does not bring that much performance on Sparcs (where
...
elliptic curves are are relatively faster than on PCs anyway)
2001-11-16 12:02:01 +00:00
Bodo Möller
e71adb85c5
avoid stupid compiler warning
2001-11-16 11:37:36 +00:00
Richard Levitte
033c51f0a3
Build dynamic rsaref engine on VMS. Tested on VAX so far.
2001-11-16 09:14:06 +00:00
Richard Levitte
452d1595a6
End assembler macro correctly.
...
On VAX, all global variables are accessed through functions, so skip
doing transfer entries for variables.
Forgot the looping gotos.
2001-11-16 09:09:15 +00:00
Richard Levitte
0d197a833c
On systems that don't do too well including headers from a different
...
directory, trust the building scripts to handle it properly.
2001-11-16 08:54:34 +00:00
Richard Levitte
e0031b80ee
Make sure evp_locl.h can be included (hw_openbsd_dev_crypto.c needs that).
2001-11-16 08:52:56 +00:00
Bodo Möller
b19941ab05
comment
2001-11-16 06:22:21 +00:00
Bodo Möller
752938daab
use a more interesting test case
2001-11-16 06:22:05 +00:00
Bodo Möller
c78515f55e
comments etc.
2001-11-15 22:35:41 +00:00
Bodo Möller
3ba1f11147
Improve EC efficiency.
2001-11-15 22:32:11 +00:00
Richard Levitte
bbc206fdf7
A missing comma added.
2001-11-15 22:29:02 +00:00
Richard Levitte
2bd065dfbe
make update
2001-11-15 20:24:00 +00:00
Richard Levitte
6d7dbc12f2
Add MD digests.
...
And this finishes this engine, it now offers all ciphers and digests
that RSAref 2.0 has.
2001-11-15 20:23:29 +00:00
Richard Levitte
83c40e7fc0
Make it possible to give digest names as -evp arguments.
2001-11-15 20:19:40 +00:00
Richard Levitte
b5fe234588
Add DES functions.
...
Restructure the code and comment it a bit.
Prepare for the presence of digests.
2001-11-15 18:52:28 +00:00
Richard Levitte
e1a00d7d1d
If an engine isn't built in, try loading it as a shareable library
...
instead. This also makes it possible for users to simply give said
shareable library as argument for the -engine option.
2001-11-15 18:48:42 +00:00
Richard Levitte
acf60ef707
At least for the two common Unixly DSO loading methods, include the
...
system error in the error text.
2001-11-15 18:24:42 +00:00
Richard Levitte
c85a157854
Use the generated error code files.
2001-11-15 16:57:36 +00:00
Richard Levitte
0c5d16e4f5
'make update' + some touches.
2001-11-15 16:57:00 +00:00
Richard Levitte
bd2af5e707
Add targets to update the error code files.
2001-11-15 16:56:17 +00:00
Richard Levitte
58d55afa6f
Add a local error code configuration file for the rsaref dynamic
...
engine.
2001-11-15 16:53:50 +00:00
Richard Levitte
6343e2fac3
Make it possible to build completely static, independent error C
...
files.
2001-11-15 16:52:10 +00:00
Richard Levitte
b476df64a1
make update
...
perl util/mkerr.pl -recurse -write -rebuild
2001-11-15 12:25:14 +00:00
Richard Levitte
1d46b6b3b9
Make use of RSAref's header files instead of EAY's crafted rsaref.h.
2001-11-14 23:39:01 +00:00
Richard Levitte
bbb35447c4
In a Debian Linux environment, it's not a good idea, apparently, to
...
manually declare the include directory /usr/include at the same time
as the macro PROTOTYPES is defined with the value 1. Besides,
/usr/include is the standard include directory anyway, so there's no
need to specify it explicitely.
2001-11-14 23:25:46 +00:00
Richard Levitte
6276f1e100
Add a demo that reimplements the RSAref glue in form of a dynamically
...
loadable engine.
2001-11-14 22:42:35 +00:00
Richard Levitte
5b8a57ecae
After loading a dynamic engine, reset the command definitions to the
...
empty set. This prevents engines that do not set the command
definitions themselves to inherit the ones from "dynamic", which would
otherwise be very confusing.
2001-11-14 22:32:19 +00:00
Richard Levitte
817dfc18a3
Change the order of events so the capabilities of loaded engines can
...
get listed as well.
2001-11-14 22:30:17 +00:00
Bodo Möller
0b0b2a8087
remove obsolete entry
2001-11-14 21:21:47 +00:00
Bodo Möller
c23d16ac19
cast to unsigned int, not to int to avoid the warning -- all these
...
values really are unsigned
2001-11-14 21:18:35 +00:00
Bodo Möller
1b28ed575b
consistency between main branch and stable branch
2001-11-14 21:17:39 +00:00
Richard Levitte
135c0af1bb
Implement STARTTLS for certain protocols, currently only supporting SMTP.
2001-11-14 13:57:52 +00:00
Richard Levitte
475918410b
Remove temporary files
2001-11-14 10:58:37 +00:00
Richard Levitte
3102792161
unsigned int vs. int.
2001-11-14 10:55:29 +00:00
Richard Levitte
a291182757
Exclude .out files
2001-11-14 10:53:47 +00:00
Bodo Möller
b26ca3408c
synchronise with 0.9.6 stable branch
2001-11-12 23:22:29 +00:00
Bodo Möller
83978bd37a
information on 0.9.6c-engine
2001-11-12 22:10:15 +00:00
Mark J. Cox
a3790c0d01
Phew, finished
...
Submitted by:
Reviewed by:
PR:
2001-11-12 20:30:01 +00:00
Mark J. Cox
63b6090f7c
I've still got one left; the backport of the Broadcom UBSEC driver to
...
0.9.6 that we've got - just waiting for clearance on that one
Submitted by:
Reviewed by:
PR:
2001-11-12 15:32:11 +00:00
Bodo Möller
c5571db0c2
Add unixware-7-gcc as in 0.9.6 branch (except that we need a 'sys_id'
...
field here, which is left empty).
Various configurations are *only* in the 0.9.6 branch at the moment:
OpenUNIX
OpenUNIX-8-gcc-shared
OpenUNIX-8-shared
Either Configure or CHANGES must be changed to rectify the situation.
2001-11-12 15:31:39 +00:00
Bodo Möller
e0457d5f7c
the PRNG race conditions were mostly a theoretical issue, remove from NEWS
2001-11-12 11:33:38 +00:00
Bodo Möller
ae52ec9869
add changes between OpenSSL 0.9.6b and OpenSSL 0.9.6c
2001-11-12 11:28:15 +00:00
Dr. Stephen Henson
0b33bc6b72
Add an FAQ.
2001-11-12 01:58:50 +00:00
Bodo Möller
7aa983c6db
Order chronologically: move entry for recent s2_clnt.c/s2_srvr.c fixes
...
(nearly) to the top.
Move msg_callback entry to the top as the implementation for SSL 2.0
is based on the s2_clnt.c/s2_srvr.c changes.
2001-11-10 15:14:00 +00:00
Bodo Möller
2b90b1f344
make code a little more similar to what it looked like before the fixes,
...
call ssl2_part_read again to parse error message
2001-11-10 10:44:15 +00:00
Bodo Möller
65123f8064
remove incorrect 'callback' prototype
2001-11-10 02:12:56 +00:00
Bodo Möller
1d8634b110
msg_callback documentation
2001-11-10 02:12:09 +00:00
Bodo Möller
29e0c30c2a
more output for SSL 2.0 in our msg_callback
2001-11-10 01:17:02 +00:00
Bodo Möller
cf82191d77
Implement msg_callback for SSL 2.0.
...
Important SSL 2.0 bugfixes (bugs found while implementing msg_callback).
2001-11-10 01:16:28 +00:00
Bodo Möller
3a8a0a3945
2001, not 2000
2001-11-09 13:15:05 +00:00
Bodo Möller
c5d4ab7e35
adjust to OpenSSL_0_9_6-stable version
2001-11-09 13:09:11 +00:00
Bodo Möller
b955dbd325
cast to 'unsigned long' before using ~ if we need an unsigned long result
...
Submitted by: "Stefan Marxen" <stefan.marxen@gmx.net >
2001-11-09 12:58:05 +00:00
Bodo Möller
45582d1e2b
clarify
2001-11-08 14:54:21 +00:00
Bodo Möller
60c50cbf9c
Don't define _REENTRANT here in e_os.h. On systems where we need
...
_REENTRANT if threads support is enabled, the ./Configure entry must
define it so that it ends up in CFLAG.
2001-11-08 14:32:06 +00:00
Dr. Stephen Henson
3a3619b46a
PKCS#12 code fixes: initialize and cleanup digests and ciphers
...
properly.
2001-11-06 13:54:48 +00:00
Dr. Stephen Henson
b83eddc578
Win32 fixes.
2001-11-06 13:40:27 +00:00
Richard Levitte
7f558334ad
des_old.h doesn't really need to include des.h, so don't. That will
...
avoid clashes with other code that have their own DES_ functions but
really only use OpenSSL's old des_ functions.
2001-11-06 11:37:14 +00:00
Dr. Stephen Henson
6229a5607c
Fix email address delete code.
2001-11-06 01:44:21 +00:00
Richard Levitte
6acc3b9689
Place the OpenSSL-specific headers back so they always get included,
...
or we get a dependency war in Makefile.ssl
2001-11-05 18:18:12 +00:00
Richard Levitte
66aa856698
No need to include anything on systems that do not have /dev/crypt
2001-11-05 12:44:14 +00:00
Richard Levitte
f559f31bef
DOS and Windows do not like unistd.h
2001-11-05 12:43:17 +00:00
Ben Laurie
3210b4fd14
If verify fails, say why.
2001-11-02 13:29:14 +00:00
Richard Levitte
a7b42009c4
Change the shared library support so the shared libraries get built
...
sooner and the programs get built against the shared libraries.
This requires a bit more work. Things like -rpath and the possibility
to still link the programs statically should be included. Some
cleanup is also needed. This will be worked on.
2001-10-30 08:00:59 +00:00
Richard Levitte
7b5ffd6834
Addapt VMS scripts to the newer disk layout system ODS-5, which allows more than one period and mixed size characters in file names
2001-10-29 13:05:28 +00:00
Dr. Stephen Henson
9b55da73ca
Another noemailDN fix.
2001-10-27 17:53:06 +00:00
Dr. Stephen Henson
e7156ff2e8
Allow ca to certify requests containing BMPStrings and UTF8Strings.
2001-10-27 17:04:47 +00:00
Dr. Stephen Henson
437db75b94
Bugfixes for noemailDN option. Make it use the
...
correct name (instead of NULL) if nomailDN is
not set, fix memory leaks and retain DN structure
when deleting emailAddress.
2001-10-27 17:03:20 +00:00
Dr. Stephen Henson
1586365835
Stop compiler warnings.
2001-10-27 00:18:04 +00:00
Dr. Stephen Henson
7d5b04db4e
Add support for Subject Info Acess extension.
2001-10-27 00:16:53 +00:00
Bodo Möller
48b0cf8b10
Note BUF_MEM_grow() consistency fix.
2001-10-26 14:06:33 +00:00
Bodo Möller
b693f941fd
Consistency fix in BUF_MEM_grow: Initialise to zero when new memory
...
had to be allocated, not just when reusing the existing buffer.
2001-10-26 13:12:25 +00:00
Bodo Möller
c602e7f4e8
disable caching in BIO_gethostbyname
2001-10-26 13:04:23 +00:00
Dr. Stephen Henson
1fc6d41bf6
New options to allow req to accept UTF8 strings as input.
2001-10-26 12:40:38 +00:00
Ulf Möller
a41477f92e
remove compatibility notes that no longer apply
2001-10-25 17:45:25 +00:00
Richard Levitte
5f68c5feef
Correct some links...
2001-10-25 16:56:06 +00:00
Richard Levitte
ee84a5a7fb
Change the DES documentation to reflect the current status. Note that
...
some password reading functions are really part of the UI
compatibility library...
2001-10-25 16:55:17 +00:00
Richard Levitte
66d3e7481e
Make sure openssl speed is compilable on systems where fork() doesn't
...
exist. For now, that's all the ones we "support" except Unix.
2001-10-25 16:08:17 +00:00
Ben Laurie
0e21156333
Add paralellism to speed - note that this currently causes a weird memory leak.
2001-10-25 14:27:17 +00:00
Ben Laurie
f533b7780e
Fix warning.
2001-10-25 14:24:59 +00:00
Bodo Möller
cc2f5a8022
Like MD_Init, MD now must include a NULL engine pointer in its definition.
2001-10-25 08:53:54 +00:00
Bodo Möller
b441bf9226
remove redundant definitions that are also in des.h
2001-10-25 08:46:10 +00:00
Bodo Möller
2a9aca32dc
mention des_old.h
2001-10-25 08:44:10 +00:00
Bodo Möller
89da653fa6
Add '-noemailDN' option to 'openssl ca'. This prevents inclusion of
...
the e-mail address in the DN (i.e., it will go into a certificate
extension only). The new configuration file option 'email_in_dn = no'
has the same effect.
Submitted by: Massimiliano Pala madwolf@openca.org
2001-10-25 08:25:19 +00:00
Bodo Möller
af50b58c3f
filenames are des_old.[ch], not des.comp*
2001-10-25 08:23:13 +00:00
Bodo Möller
4d635a7001
Consistency with s2_... and s23_... variants (no real functional
...
change)
2001-10-25 08:17:53 +00:00
Richard Levitte
ce15d5a9dc
Remove DES_random_seed() but retain des_random_seed() for now. Change
...
the docs to reflect this change and correct libeay.num.
2001-10-25 06:46:22 +00:00
Bodo Möller
ba1c602281
Assume TLS 1.0 when ClientHello fragment is too short.
2001-10-25 06:09:51 +00:00
Richard Levitte
cfc781be6e
Have the removal warnings very high up in the source.
2001-10-25 05:37:10 +00:00
Richard Levitte
84acc3c2bc
A C file is a C file is a C file!
2001-10-24 21:31:14 +00:00
Richard Levitte
c2e4f17c1a
Due to an increasing number of clashes between modern OpenSSL and
...
libdes (which is still used out there) or other des implementations,
the OpenSSL DES functions are renamed to begin with DES_ instead of
des_. Compatibility routines are provided and declared by including
openssl/des_old.h. Those declarations are the same as were in des.h
when the OpenSSL project started, which is exactly how libdes looked
at that time, and hopefully still looks today.
The compatibility functions will be removed in some future release, at
the latest in version 1.0.
2001-10-24 21:21:12 +00:00
Bodo Möller
979689aa5c
Fix SSL handshake functions and SSL_clear() such that SSL_clear()
...
never resets s->method to s->ctx->method when called from within
one of the SSL handshake functions.
2001-10-24 19:03:22 +00:00
Richard Levitte
a3faebd104
Deprecate the macro MAC_OS_pre_X.
2001-10-24 15:32:53 +00:00
Richard Levitte
025c7737b2
make update
2001-10-24 15:32:14 +00:00
Richard Levitte
513d4b4c16
make update
2001-10-24 08:27:22 +00:00
Richard Levitte
7ef701519b
Correction of the id-pda OID's.
...
Submitted by Frederic.Giudicelli@INTRINsec.com
2001-10-23 14:30:57 +00:00
Dr. Stephen Henson
50d194af4d
Sanitize CHANGES entry.
2001-10-23 00:54:58 +00:00
Bodo Möller
287973746e
Fix memory leak.
2001-10-22 13:59:36 +00:00
Dr. Stephen Henson
f1558bb424
Reject certificates with unhandled critical extensions.
2001-10-21 02:09:15 +00:00
Dr. Stephen Henson
6ca487992b
Stop spurious "unable to load config info" errors in req
2001-10-21 01:05:53 +00:00
Bodo Möller
cf3a5cebd7
Call msg_callback with correct length parameter if ssl3_write_bytes had to
...
be called multiple times
2001-10-20 18:56:01 +00:00
Bodo Möller
a661b65357
New functions SSL[_CTX]_set_msg_callback().
...
New macros SSL[_CTX]_set_msg_callback_arg().
Message callback imlementation for SSL 3.0/TLS 1.0 (no SSL 2.0 yet).
New '-msg' option for 'openssl s_client' and 'openssl s_server'
that enable a message callback that displays all protocol messages.
In ssl3_get_client_hello (ssl/s3_srvr.c), generate a fatal alert if
client_version is smaller than the protocol version in use.
Also change ssl23_get_client_hello (ssl/s23_srvr.c) to select TLS 1.0
if the client demanded SSL 3.0 but only TLS 1.0 is enabled; then the
client will at least see that alert.
Fix SSL[_CTX]_ctrl prototype (void * instead of char * for generic
pointer).
Add/update some OpenSSL copyright notices.
2001-10-20 17:56:36 +00:00
Dr. Stephen Henson
98e6654938
Typo.
2001-10-20 16:22:28 +00:00
Dr. Stephen Henson
cecd263878
Add missing EVP_CIPHER_CTX_{init,cleanup}
2001-10-20 16:18:03 +00:00
Bodo Möller
31fe950d2b
gcc complained about "write" being shadowed even though the "write"
...
variable name occured just in a function *prototype* -- so rename it
2001-10-17 20:44:25 +00:00
Richard Levitte
db6a87d8cc
Wrong place...
2001-10-17 17:54:17 +00:00
Richard Levitte
7beb408771
The EVP_*Init_ex() functions take one extra argument. Let's default
...
it to NULL.
2001-10-17 16:03:42 +00:00
Bodo Möller
51008ffce1
document SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
2001-10-17 11:56:26 +00:00
Dr. Stephen Henson
3811eed8d5
Update docs.
2001-10-17 01:50:32 +00:00
Dr. Stephen Henson
581f1c8494
Modify EVP cipher behaviour in a similar way
...
to digests to retain compatibility.
2001-10-17 00:37:12 +00:00
Lutz Jänicke
41ebed27fa
Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
2001-10-16 14:24:46 +00:00
Bodo Möller
bf21446a2a
Add per-SSL 'msg_callback' with 'msg_callback_arg'.
...
Both have per-SSL_CTX defaults.
These new values can be set by calling SSL[_CTX]_[callback_]ctrl
with codes SSL_CTRL_SET_MSG_CALLBACK and SSL_CTRL_SET_MSG_CALLBACK_ARG.
So far, the callback is never actually called.
Also rearrange some SSL_CTX struct members (some exist just in
SSL_CTXs, others are defaults for SSLs and are either copied
during SSL_new, or used if the value in the SSL is not set;
these three classes of members were not in a logical order),
and add some missing assignments to SSL_dup.
2001-10-16 13:09:24 +00:00
Dr. Stephen Henson
e72d734d5f
Update docs.
2001-10-16 02:22:59 +00:00
Dr. Stephen Henson
20d2186c87
Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
...
with existing code.
Modify library to use digest *_ex() functions.
2001-10-16 01:24:29 +00:00
Bodo Möller
9ba3ec9176
The message header for fake SSL 3.0/TLS 1.0 client hellos created from
...
SSL 2.0 client hellos added with the previous commit was totally wrong --
it must start with the message type, not the protocol version.
(Not that this particular header is actually used anywhere ...)
2001-10-16 00:56:04 +00:00
Bodo Möller
8f71fb8d98
For consistency, set s->init_num in the 'reuse_message' case
...
(if s23_srvr.c faked the message, s->init_num is 0).
2001-10-15 20:16:36 +00:00
Bodo Möller
48948d53b6
Change ssl3_get_message and the functions using it so that complete
...
'Handshake' protocol structures are kept in memory, including
'msg_type' and 'length'.
(This is in preparation of future support for callbacks that get to
peek at handshake messages and the like.)
2001-10-15 19:49:25 +00:00
Bodo Möller
dbec19622e
make sure .rnd exists
2001-10-15 17:58:00 +00:00
Bodo Möller
2ce15df528
Fix ssl3_get_message handle message fragmentation correctly.
2001-10-15 17:41:41 +00:00
Bodo Möller
681bfae499
the previous commit accidentily removed 'ret = 1' from the SSL_ST_OK
...
case of ssl3_accept
2001-10-15 17:40:42 +00:00
Ulf Möller
5dd955dcd2
openbsd-x86 macros
...
Submitted by: Toomas Kiisk <vix@cyber.ee >
2001-10-14 00:57:30 +00:00
Lutz Jänicke
56fa8e69cf
Update information as a partial response to the post
...
From: "Chris D. Peterson" <cpeterson@aventail.com >
Subject: Implementation Issues with OpenSSL
To: openssl-users@openssl.org
Date: Wed, 22 Aug 2001 16:13:17 -0700
The patch included in the original post may improve the internal session
list handling (and is therefore worth a seperate investigation).
No change to the list handling will however solve the problems of incorrect
SSL_SESSION_free() calls. The session list is only one possible point of
failure, dangling pointers would also occur for SSL object currently
using the session. The correct solution is to only use SSL_SESSION_free()
when applicable!
2001-10-12 12:29:16 +00:00
Richard Levitte
67d0738aba
In certain cases, no encoding has been set up for the b64 filter. In
...
such cases, a flush should *not* attempt to finalise the encoding, as
the EVP_ENCODE_CTX structure will only be filled with garbage. For
the same reason, do the same check when a wpending is performed.
2001-10-11 19:38:40 +00:00
Richard Levitte
b8a61e7362
'make update'
2001-10-10 21:52:06 +00:00
Richard Levitte
dd5e774664
Add support for md4WithRSAEncryption.
2001-10-10 21:37:45 +00:00
Richard Levitte
6b86bad5ef
For systems where gcc is used and where we don't know if GNU ld is
...
used or not, let's ask collect2 which ld it uses and choose to use the
target do-gnu_shared if GNU ld is used.
This solves the reported problems on Solaris systems where GNU cc is
used but GNU ld isn't, and probably on other systems with similar
setups.
2001-10-10 14:46:41 +00:00
Richard Levitte
712557128b
'make update'
2001-10-10 08:27:52 +00:00
Richard Levitte
3009e9f9ef
It seems like gcc does canonicalisation of file names. More
...
specifically, a starting './' is removed. makedepend doesn't do this,
resulting in another possible commit war, so let's fix that by doing a
poor mans canonicalisation of file names that gives the same effect as
doing dependencies through gcc.
2001-10-10 08:27:28 +00:00
Richard Levitte
b30245dae0
'make update'
2001-10-10 07:56:20 +00:00
Richard Levitte
116daf4c2f
To avoid commit wars over dependencies, let's make it so things that
...
depend on the environment, like the presence of the OpenBSD crypto
device or of Kerberos, do not change the dependencies within OpenSSL.
2001-10-10 07:55:02 +00:00
Richard Levitte
cb40bdaf57
makedepend sometimes produces duplicates. Remove them.
2001-10-10 07:44:54 +00:00
Richard Levitte
4b12506891
A few more OIDs, contributed by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>
2001-10-09 15:32:23 +00:00
Geoff Thorpe
cf98440178
evp_test.c and evptests.txt both need to be linked in the test/ directory
...
however for different reasons. This separation should prevent the win32
build from interpreting evptests.txt as source code.
2001-10-09 01:38:31 +00:00
Geoff Thorpe
c500d44735
Change some EVP prototypes to use "cipher" rather than "type" as a variable
...
name. The implementations already use this anyway.
2001-10-08 17:25:42 +00:00
Geoff Thorpe
18eda73234
EVP_EncryptInit_ex() and EVP_DecryptInit_ex() had been defined in evp.h but
...
not implemented. (Bug reported by Martin Szotkowski)
This also changes the non-"_ex" versions to defer directly to
EVP_CipherInit_ex() rather than EVP_CipherInit() to avoid an unecessary
level of indirection.
2001-10-08 17:24:10 +00:00
Geoff Thorpe
7526e2c043
As ENGINE_load_openbsd_dev_crypto() is an API function, it makes sense for
...
it to be defined on all platforms whether or not it is of any practical
use on them. This also resolves linker problems on "special" platforms,
such as win32.
2001-10-08 17:08:17 +00:00
Geoff Thorpe
6d52f260bf
Make sure the "ENGINE_TABLE" cleanup callbacks have correct prototypes.
2001-10-08 17:06:52 +00:00
Geoff Thorpe
752f2b6785
Missing pointer in the eng_table_register function. Reported by
...
Martin Szotkowski.
2001-10-08 14:44:38 +00:00
Lutz Jänicke
e1c279b63d
Small documentation fixes (Howard Lum <howard@pumpkin.canada.sun.com>)
2001-10-08 08:37:24 +00:00
Richard Levitte
467889703a
Copy evptests.txt to the right place.
2001-10-04 21:15:03 +00:00
Richard Levitte
3a457cca86
Typo...
2001-10-04 19:25:12 +00:00
Richard Levitte
285046ec51
SSL_add_dir_cert_subjects_to_stack for Win32 finally implemented.
...
Submitted by Massimo Santin <msantin@santineassociati.com >.
2001-10-04 12:27:39 +00:00
Richard Levitte
f8000b9345
'make update'
2001-10-04 07:49:09 +00:00
Richard Levitte
77a8eb352f
Since ossl_typ.h is an exported header, we sure need to export it on
...
VMS as well :-).
2001-10-04 07:46:30 +00:00
Richard Levitte
114697bef3
Because there's chances we clash with the system's types.h, rename our
...
types.h to ossl_typ.h.
Also, it seems like krb5 was forgotten in some places.
2001-10-04 07:34:45 +00:00
Richard Levitte
2aa9043ad3
Because there's chances we clash with the system's types.h, rename our
...
types.h to ossl_typ.h.
2001-10-04 07:32:46 +00:00
Dr. Stephen Henson
1a095560f7
Use the maximum block length for the extra size in the encrypt
...
BIO buffer instead of hard coding it as 8.
2001-10-03 12:47:03 +00:00
Dr. Stephen Henson
f329b8d73b
Make EVP_DecryptUpdate work again.
2001-10-02 16:19:49 +00:00
Richard Levitte
3d90a32429
sch isn't an array, how did this pass through gcc?
2001-10-02 11:49:55 +00:00
Richard Levitte
e3a7463c5d
A lot of things are undeclared unless x509.h is included.
2001-10-02 11:06:42 +00:00
Richard Levitte
796c6eadcb
Hmm, everything "open" isn't necessarely "openssl" :-).
...
*sigh* habit...
2001-10-02 10:03:15 +00:00
Richard Levitte
b485e5b7e3
Woopsie...
2001-10-01 17:20:28 +00:00
Richard Levitte
d1cc7b8f22
'make update'
2001-10-01 17:16:24 +00:00
Richard Levitte
1cf9d58cb4
sk_ENGINE_CLEANUP_ITEM_pop_free() is duplicated in ENGINE_cleanup().
...
Let's use sk_ENGINE_CLEANUP_ITEM_pop_free() instead.
2001-10-01 17:15:28 +00:00
Richard Levitte
0cff933416
Addapt seldom compiled code to new semantics of the key schedule (not
...
a pointer any more).
2001-10-01 17:10:10 +00:00
Richard Levitte
c41b29e5db
Some new symbols have very long names...
2001-10-01 17:09:17 +00:00
Richard Levitte
65fb3fa630
o_time.c contains symbols with dollar signs in them, so we must tell
...
the compiler not to warn about that.
2001-10-01 17:08:18 +00:00
Geoff Thorpe
0b0f08dbc7
The cleanup stack in ENGINE changed slightly, so this "make update" is
...
needed.
2001-10-01 16:39:58 +00:00
Geoff Thorpe
5c32657c80
The STACK macros take care of casting to and from the designated item type
...
of the stack, and the (void *) type used in the underlying sk_***
functions. However, declaring a STACK_OF(type) where type is a *function*
type implicitly involves casts between function pointers and data pointers.
That's a no-no. This changes the ENGINE_CLEANUP handling to use a regular
data type in the stack.
2001-10-01 16:26:00 +00:00
Geoff Thorpe
07cee70258
Make an (overdue) note about the recent ENGINE restructuring. Apart from
...
a few items however, most of the details are deferred to the
crypto/engine/README file.
2001-10-01 15:56:25 +00:00
Geoff Thorpe
4ba163cbf9
Make "openssl engine -c" list any supported digests as well as supported
...
ciphers.
2001-10-01 15:41:31 +00:00
Lutz Jänicke
2bfb2398e3
Typos (Chris Pepper <pepper@mail.reppep.com>)
2001-10-01 14:43:47 +00:00
Richard Levitte
a4a8f7b3ef
Change HZ in speed to rely on sysconf() if the clock tick is available
...
that way. Synchronise s_time with these changes.
2001-09-28 10:34:48 +00:00
Geoff Thorpe
34c66925aa
ENGINE_register_all_complete() will register all implementations of all
...
algorithms present in all loaded ENGINEs. The result is that if any of
those ENGINEs successfully initialises, and the ENGINE_TABLE_FLAG_NOINIT
flag isn't set, then they will always be used (and cached as defaults) in
preference to software implementations. Ie. accidental auto-detection of
acceleration hardware :-)
This change stops all implementations being automatically registered in
"openssl" sub-commands, so that the "setup_engine()" handler in apps.c
controls which ENGINEs are registered for use. A special case has been
added that will revert to this "auto-detect" logic, ie. if the "-engine"
switch is used as;
-engine auto
2001-09-28 02:25:14 +00:00
Dr. Stephen Henson
cb7fd76f57
Modernise and fix (ancient) "maurice" demos.
2001-09-28 01:48:34 +00:00
Dr. Stephen Henson
de822715b2
Constify EVP_SealInit, EVP_OpenInit
2001-09-28 01:47:36 +00:00
Dr. Stephen Henson
89f534e1d3
Make (ancient) sign.c demo compile again.
2001-09-28 00:47:36 +00:00
Dr. Stephen Henson
d46c1a8126
Support fractional seconds in GeneralizedTime
2001-09-28 00:44:44 +00:00
Richard Levitte
e32587d5a6
Synchronise with Unixly build.
2001-09-27 16:07:36 +00:00
Richard Levitte
7876e4488f
Stop thinking arguments starting with - are algorithm identifiers.
...
Show timing parameters and timing functions used.
It looks like some Linuxen have very weird settings for CLK_TCK. I'm
very unsure about this change and will investigate further.
2001-09-27 15:43:55 +00:00
Richard Levitte
1a19f83d4c
Apparently, Linux is identified with __linux__ as well.
2001-09-27 15:41:34 +00:00
Richard Levitte
db8c838c6a
'make update'
2001-09-26 15:23:14 +00:00
Richard Levitte
37da54b10e
The #error message must match a very specific regexp (see mkdef.pl,
...
currently line 470).
2001-09-26 15:18:32 +00:00
Ben Laurie
0fea7ed4a4
Don't clean up stuff twice.
2001-09-26 15:15:03 +00:00
Ben Laurie
dbeac560aa
Fixes.
2001-09-26 15:14:10 +00:00
Richard Levitte
89eeccacde
Two changes:
...
1. if there are several symbols with the same entry number, sort those
symbols in ASCII order.
2. Do not stop reading the header files when "BEGIN ERROR CODES" is
found, since mkerr.pl will add a function declaration after that
comment. Instead, trigger on "Error codes for the \w+ function",
which is the actual start of the error code macros.
Additionally, a few more debugging printouts that helped.
2001-09-26 15:06:45 +00:00
Ben Laurie
c9fc143972
Fix warning.
2001-09-26 11:38:57 +00:00
Geoff Thorpe
004aa803a9
"FALLBACK" handling was a hack that was thrown out long ago in the
...
ENGINE redevelopment. The idea had been that "-1" could be used as a
special "ask me later" 'nid' rather than specifying supported cipher and
digest 'nid's up front. However the idea turned out to be pretty broken.
2001-09-25 21:52:39 +00:00
Geoff Thorpe
c921a5e1d4
Make update to bring in all the cipher/digest-related ENGINE changes.
...
NB: It looks like mkdef.pl is causing certain cvs wars by continually
flipping the order of some definitions ...
2001-09-25 21:47:27 +00:00
Geoff Thorpe
0b4b9a11f5
Put the cipher info back into the "openssl engine" command.
2001-09-25 21:45:03 +00:00
Geoff Thorpe
d7e0299792
Fiddling.
2001-09-25 21:44:12 +00:00
Geoff Thorpe
9dfdf0ad1d
This change puts the original OpenBSD /dev/crypto support that was in
...
crypto/evp/ into the corresponding ENGINE. This code is currently untested.
2001-09-25 21:43:08 +00:00
Geoff Thorpe
3b04cdd706
This change adds dummy RC4 and SHA1 support to the "openssl" ENGINE for
...
testing. Because of the recent changes (see crypto/engine/README), the
"openssl" ENGINE is no longer needed nor is it loaded automatically or by
ENGINE_load_builtin_engines(). So a explicit ENGINE_load_openssl() call is
required by applications or a modification to eng_all.c before this ENGINE
will be used. This change will send output to stderr as/when its
implementations are used.
2001-09-25 21:41:20 +00:00
Geoff Thorpe
11a57c7be5
This changes EVP's cipher and digest code to hook via the ENGINE support.
...
See crypto/engine/README for details.
- it also removes openbsd_hw.c from the build (that functionality is
going to be available in the openbsd ENGINE in a upcoming commit)
- evp_test has had the extra initialisation added so it will use (if
possible) any ENGINEs supporting the algorithms required.
2001-09-25 21:37:02 +00:00
Geoff Thorpe
b370230b78
This change adds cipher and digest support into ENGINE using the
...
ENGING_TABLE mechanism. The necessary hooks from crypto/evp/ to use this
will be committed shortly.
2001-09-25 21:28:40 +00:00
Geoff Thorpe
50a381b789
indentation.
2001-09-25 21:22:32 +00:00
Geoff Thorpe
534aaf3731
"make update".
2001-09-25 20:39:59 +00:00
Geoff Thorpe
6dc5d570d0
Make necessary tweaks to apps/ files due to recent ENGINE surgery. See
...
crypto/engine/README for details.
2001-09-25 20:35:01 +00:00
Geoff Thorpe
cb78486d97
This commits changes to various parts of libcrypto required by the recent
...
ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
pointers to manage their hooking with ENGINE. Previously their use of
"method" pointers was replaced by use of ENGINE references. See
crypto/engine/README for details.
Also, remove the ENGINE iterations from evp_test - even when the
cipher/digest code is committed in, this functionality would require a
different set of API calls.
2001-09-25 20:23:40 +00:00
Geoff Thorpe
9c9aa4f145
This commits the changes to STACK macros forced by recent ENGINE surgery.
2001-09-25 20:17:15 +00:00
Geoff Thorpe
b6d1e52d45
This change replaces the ENGINE's underlying mechanics with the new
...
ENGINE_TABLE-based stuff - as described in crypto/engine/README.
Associated miscellaneous changes;
- the previous cipher/digest hooks that hardwired directly to EVP's
OBJ_NAME-based storage have been backed out. New cipher/digest support
has been constructed and will be committed shortly.
- each implementation defines its own ENGINE_load_<name> function now.
- the "openssl" ENGINE isn't needed or loaded any more.
- core (not algorithm or class specific) ENGINE code has been split into
multiple files to increase readability and decrease linker bloat.
- ENGINE_cpy() has been removed as it wasn't really a good idea in the
first place and now, because of registration issues, can't be
meaningfully defined any more.
- BN_MOD_EXP[_CRT] support is removed as per the README.
- a bug in enginetest.c has been fixed.
NB: This commit almost certainly breaks compilation until subsequent
changes are committed.
2001-09-25 20:00:51 +00:00
Geoff Thorpe
f185e725a0
Some major restructuring changes to ENGINE, including integrated cipher and
...
digest support, are on their way. Rather than having gigantic commit log
messages and/or CHANGES entries, this change to the README will serve as an
outline of what it all is and how it all works.
2001-09-25 19:31:30 +00:00
Dr. Stephen Henson
591ccf586d
Fix AES CBC mode EVP_CIPHER structures: the IV length is always
...
16.
2001-09-25 13:49:58 +00:00
Bodo Möller
b7061c61b0
'openssl rsa' etc. should include AES support in addition to DES
2001-09-25 11:01:14 +00:00
Bodo Möller
8a428200a6
'openssl speed' does not include AES support yet
2001-09-25 10:30:15 +00:00
Geoff Thorpe
10b2328fea
"make update"
2001-09-24 17:42:35 +00:00
Richard Levitte
98c2a26ea6
In case of memory problems, the va_start() wasn't cleaned with a va_end().
...
Noticed by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at >.
2001-09-24 13:39:48 +00:00
Bodo Möller
965b6dad44
comment
2001-09-24 07:56:45 +00:00
Bodo Möller
a3d8c0fc5d
ignore binary
2001-09-24 07:56:02 +00:00
Bodo Möller
a32d795aae
avoid everything resembling a magic trigraph
2001-09-24 07:54:11 +00:00
Bodo Möller
ef3dc028ef
The 'no-rijndael' option must define OPENSSL_NO_AES because that is
...
what we look for in crypto/evp.
2001-09-22 01:40:47 +00:00
Bodo Möller
2413a3975f
crypto/idea and crypto/rijndael were missing in the list of
...
directories that may have been deleted
2001-09-22 01:39:51 +00:00
Bodo Möller
3b0b5abae3
bugfix: handle HelloRequest received during handshake correctly
2001-09-21 11:18:40 +00:00
Bodo Möller
b49124f6d9
Disable session related stuff in SSL_ST_OK case of ssl3_accept if we
...
just sent a HelloRequest.
2001-09-21 07:01:25 +00:00
Bodo Möller
2260ad21fb
Bugfix: correct cleanup after sending a HelloRequest
2001-09-21 00:04:15 +00:00
Bodo Möller
6b0e9facf4
New function SSL_renegotiate_pending().
...
New option SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION.
2001-09-20 22:54:09 +00:00
Bodo Möller
c404ff7955
make update
2001-09-20 22:52:19 +00:00
Bodo Möller
8e2f6b79ea
fix ssl3_accept: don't call ssl_init_wbio_buffer() in HelloRequest case
2001-09-20 21:37:13 +00:00
Bodo Möller
ee60d9fb28
Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't
...
reveal whether illegal block cipher padding was found or a MAC
verification error occured.
In ssl/s2_pkt.c, verify that the purported number of padding bytes is in
the legal range.
2001-09-20 18:35:52 +00:00
Bodo Möller
be6d77005f
comments
2001-09-20 15:41:34 +00:00
Bodo Möller
b263b66746
Change Makefile so that it works without any additional changes
...
at least on Solaris
2001-09-18 09:15:40 +00:00
Bodo Möller
5294dd705d
Another demo.
2001-09-17 19:07:00 +00:00
Geoff Thorpe
2b67158673
Some of the ENGINE file names were changed for 8.3 filename uniqueness
...
recently. So comments including file names have been fixed, and copyright
notices brought up to "2001" at the same time.
2001-09-14 18:31:57 +00:00
Geoff Thorpe
db744f8950
Fix a typo in the preprocessor logic in eng_list.c that had left RSA, DSA,
...
and DH all conditional upon OPENSSL_NO_RSA.
2001-09-14 18:23:31 +00:00
Geoff Thorpe
e059b19ddb
Add a SHA1 test to evptests.txt - only the MD5 hash algorithm was being
...
tested previously.
2001-09-14 18:21:36 +00:00
Geoff Thorpe
997a54c981
'evp_test' needs to initialise and cleanup EVP_CIPHER_CTX structures. Also,
...
fix a typo and add cleanup operations. This also switches on memory leak
checking (which is how the rest was found).
2001-09-14 18:20:44 +00:00
Bodo Möller
b78e502104
add comment
2001-09-14 13:47:25 +00:00
Bodo Möller
b6d0054a52
Get rid of junk (deleted/renamed function) by rebuilding
...
based on 0.9.6 tree.
2001-09-14 09:31:07 +00:00
Bodo Möller
117df10db4
add details
2001-09-14 08:45:43 +00:00
Lutz Jänicke
d300bcca7f
Typo.
2001-09-13 15:18:51 +00:00
Lutz Jänicke
d59c3e5046
One more manual page.
2001-09-13 15:05:42 +00:00
Lutz Jänicke
6d8566f2eb
Rework section about return values another time (based on hints from
...
Bodo Moeller).
2001-09-13 13:21:38 +00:00
Bodo Möller
4e1b0d8904
avoid "statement not reached" warning
2001-09-13 13:02:59 +00:00
Geoff Thorpe
8ce2912fbc
Updated dependencies from "make update"
2001-09-12 02:43:22 +00:00
Geoff Thorpe
1372965e2e
Reduce the header dependencies on engine.h in apps/.
2001-09-12 02:39:06 +00:00
Geoff Thorpe
1a1422643b
ENGINE uses a very opaque design, so we can predeclare the structure type
...
in "types.h" so that very few headers will need to include engine.h,
generally only C files using API functions will need it (reducing
the header dependencies quite a lot).
2001-09-12 02:34:20 +00:00
Geoff Thorpe
409960491d
ENGINE files were renamed, and error strings are now in eng_err.c
2001-09-12 01:54:17 +00:00
Dr. Stephen Henson
96bd6f730a
Add certificate and request demos.
...
Fix X509V3 macro so they compile.
2001-09-12 00:19:20 +00:00
Lutz Jänicke
c0f5dd070b
Make maximum certifcate chain size accepted from the peer application
...
settable (proposed by "Douglas E. Engert" <deengert@anl.gov >).
2001-09-11 13:08:51 +00:00
Bodo Möller
9d7a8d3578
add 'release showstopper' entry
2001-09-11 12:46:50 +00:00
Bodo Möller
4dec4f646d
update
2001-09-11 12:26:56 +00:00
Bodo Möller
2cb924b052
ex_data situation is no longer that bad
2001-09-11 12:20:20 +00:00
Geoff Thorpe
51ac0cfe44
make update
2001-09-10 21:18:11 +00:00
Geoff Thorpe
16e819e1d8
Put all "common" initialisation in the apps_startup() and apps_shutdown()
...
macros in apps.h.
2001-09-10 21:04:14 +00:00
Geoff Thorpe
1023cfe70d
enginetest needs 'memset' defined.
2001-09-10 21:02:06 +00:00
Ulf Möller
8e0a2d8461
missed one file
2001-09-10 20:16:31 +00:00
Bodo Möller
e13ae96d7c
While ispell may not like it, "cancelling" may be spelt with two "l"s
2001-09-10 18:59:53 +00:00
Bodo Möller
9f29ec4721
fix memory leak (I think)
2001-09-10 18:50:09 +00:00
Bodo Möller
b9a20b5057
remove an old comment
2001-09-10 18:49:25 +00:00
Bodo Möller
c2222c2ea2
restore previous revision -- memory leak should be fixed in mem.c
2001-09-10 18:47:33 +00:00
Bodo Möller
336da5642d
fix memory leak
2001-09-10 18:13:16 +00:00
Bodo Möller
8573fa1806
avoid warning ('const' discarded)
2001-09-10 17:46:54 +00:00
Bodo Möller
a52c2fb296
exclude disabled message digests
2001-09-10 17:18:56 +00:00
Bodo Möller
41450b27f2
add AES ciphers
2001-09-10 17:12:31 +00:00
Bodo Möller
e72d5983f2
Update so that progs.h can indeed be automatically generated
...
(Working file: progs.h
revision 1.24
date: 2001/02/19 16:06:03; author: levitte; state: Exp; lines: +59 -59
Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other packages and by making
sure e_os2.h will cover all platform-specific cases together with
opensslconf.h.
[...])
2001-09-10 17:00:28 +00:00
Bodo Möller
5a85385387
typo
2001-09-10 16:57:06 +00:00
Bodo Möller
5e54b4f364
Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case
...
distinction (which does not work well because if CRYPTO_MDEBUG is
defined at library compile time, it is not necessarily defined at
application compile time; and memory debugging now can be reconfigured
at run-time anyway). To get the intended semantics, we could just use
the EVP_DigestInit_dbg unconditionally (which uses the caller's
__FILE__ and __LINE__ for memory leak debugging), but this would make
memory debugging inconsistent. Instead, callers can use
CRYPTO_push_info() to track down memory leaks.
2001-09-10 15:00:30 +00:00
Bodo Möller
5ba372b17c
Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case
...
distinction (which does not work well because if CRYPTO_MDEBUG is
defined at library compile time, it is not necessarily defined at
application compile time; and memory debugging now can be reconfigured
at run-time anyway). To get the intended semantics, we could just use
the EVP_DigestInit_dbg unconditionally (which uses the caller's
__FILE__ and __LINE__ for memory leak debugging), but this would make
memory debugging inconsistent. Instead, callers can use
CRYPTO_push_info() to track down memory leaks.
Also fix indentation, and add OpenSSL copyright.
2001-09-10 14:59:17 +00:00
Bodo Möller
f9b0f47c0c
copyright
2001-09-10 14:51:19 +00:00
Bodo Möller
4deeadf7dc
Delete pointless casts
2001-09-10 14:10:10 +00:00
Bodo Möller
384eff877c
Fix apps/openssl.c and ssl/ssltest.c so that they use
...
CRYPTO_set_mem_debug_options() instead of CRYPTO_dbg_set_options(),
which is the default implementation of the former and should usually
not be directly used by applications (at least if we assume that the
options accepted by the default implementation will also be meaningful
to any other implementations).
Also fix apps/openssl.c and ssl/ssltest such that environment variable
setting 'OPENSSL_DEBUG_MEMORY=off' actively disables the compiled-in
library defaults (i.e. such that CRYPTO_MDEBUG is ignored in this
case).
2001-09-10 09:50:30 +00:00
Dr. Stephen Henson
68dbba9817
Replace old (and invalid) copyright notice.
2001-09-08 12:15:09 +00:00
Bodo Möller
ea7150b070
The various hash #includes in rand_lcl.h *are* needed despite
...
<openssl/evp.h> is now used (MD_DIGEST_LENGTH definitions!).
No need to include such headers directly in md_rand.c.
2001-09-07 23:55:15 +00:00
Lutz Jänicke
cb42ce0b67
Recognize OpenUNIX-8 with compiler
2001-09-07 12:13:10 +00:00
Ben Laurie
e8330cf5ac
Add a cleanup function for MDs.
2001-09-07 12:03:24 +00:00
Ben Laurie
7d34470458
Look up MD5 by name.
2001-09-07 11:45:42 +00:00
Ben Laurie
f1047cebea
Remove duplication.
2001-09-07 11:44:59 +00:00
Ben Laurie
da8a2e6f90
Now need sha.h for some reason.
2001-09-07 11:44:17 +00:00
Ben Laurie
546ec5a9b3
Redo type-safety fix.
2001-09-07 11:43:30 +00:00
Ulf Möller
e3fefbfd56
ispell
2001-09-07 06:39:38 +00:00
Ulf Möller
3b80e3aa9e
ispell
2001-09-07 06:13:40 +00:00
Ulf Möller
14cfde9c83
make engine file names unique in 8.3
2001-09-07 04:14:48 +00:00
Lutz Jänicke
9cabef963c
Completely reworked SVR5 shared library support.
2001-09-06 19:25:56 +00:00
Ulf Möller
ce9eab79a7
unused function
2001-09-06 17:02:33 +00:00
Ulf Möller
e9e202cfa8
include the proper header file
2001-09-06 16:25:34 +00:00
Ulf Möller
d83ae69455
double definition
2001-09-06 16:24:29 +00:00
Lutz Jänicke
bb4f7a8d52
Even more corrections for OpenUNIX 8
2001-09-06 14:28:35 +00:00
Bodo Möller
619b2c03dc
Avoid strdup.
...
(Some platforms need _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to get
the declaration, but on other platforms _XOPEN_SOURCE disables
the strdup declaration in <string.h>.)
2001-09-06 13:09:00 +00:00
Lutz Jänicke
aa4c2de10e
Sort out mess of colons...
2001-09-06 12:48:16 +00:00
Lutz Jänicke
6c36f7a9f2
Support for shared libraries on Unixware-7 and OpenUNIX-8
...
(Boyd Lynn Gerber <gerberb@zenez.com >).
2001-09-06 12:39:00 +00:00
Bodo Möller
78f7923580
Totally get rid of CRYPTO_LOCK_ERR_HASH.
...
In err.c, flags int_error_hash_set and int_thread_hash_set
appear superfluous since we can just as well initialize
int_error_hash and int_thread_hash to NULL.
Change some of the err.c formatting to conform with the rest of
OpenSSL.
2001-09-06 12:37:36 +00:00
Lutz Jänicke
978ebf0141
Build shared libaries for Unixware-7 and OpenUNIX-8 in old (pre 0.9.7)
...
style (Boyd Lynn Gerber <gerberb@zenez.com >).
2001-09-06 12:28:05 +00:00
Bodo Möller
a9ed4da8eb
improve OAEP check
2001-09-06 10:42:56 +00:00
Bodo Möller
e1a4814cd4
fix formatting so that the file can be view with any tab-width
2001-09-06 09:30:16 +00:00
Bodo Möller
3cad81f6fe
Mention DSO_up => DSO_up_ref renaming
2001-09-05 21:39:39 +00:00
Bodo Möller
4450107afb
Renaming DH_up to DH_up_ref does not warrant a CHANGES entry of its own
...
as the functions were only introduced a couple of days ago.
Some '*)' apparently should be '+)' as the changes do not apply
to the 0.9.6 bugfix branch.
2001-09-05 19:14:53 +00:00
Geoff Thorpe
908efd3b73
ENGINEs can now perform structural cleanup.
2001-09-05 19:07:01 +00:00
Geoff Thorpe
1a7691c059
This adds "destroy" handlers to the existing ENGINEs that load their own
...
error strings - the destroy handler functions unload the error strings so
any pending error state referring to them will not attempt to reference
them after the ENGINE has been destroyed.
2001-09-05 19:00:33 +00:00
Geoff Thorpe
f524ddbe04
ENGINE's init() and finish() handler functions are used when the ENGINE is
...
being enabled or disabled (respectively) for operation. Additionally, each
ENGINE has a constructor function where it can do more 'structural' level
intialisations such as loading error strings, creating "ex_data" indices,
etc. This change introduces a handler function that gives an ENGINE a
corresponding opportunity to cleanup when the ENGINE is being destroyed. It
also adds the "get/set" API functions that control this "destroy" handler
function in an ENGINE.
2001-09-05 18:32:23 +00:00
Geoff Thorpe
541814c403
Add some missing CHANGES items.
2001-09-05 17:50:24 +00:00
Bodo Möller
5013540224
Oops^2: It was the correct line, but an incorrect change.
2001-09-05 17:28:50 +00:00
Bodo Möller
94cb5ee63c
Oops, wrong line
2001-09-05 17:22:40 +00:00
Bodo Möller
fc9c61bc3b
-mcpu=i486 vs. -m486 ...
2001-09-05 17:18:14 +00:00
Geoff Thorpe
e815d3015e
Change DH_up() -> DH_up_ref()
2001-09-05 17:02:35 +00:00
Geoff Thorpe
dc2a33d680
"DH_up" had been changed to "DH_up_ref" in libeay.num but the function
...
declaration and implementation had not. So a recent update recreated the
original definition in libeay.num ... this corrects it and changes the "dh"
code to the "up_ref" variant.
2001-09-05 16:54:32 +00:00
Bodo Möller
7ba45bf133
Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
...
defined.
(Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are
supposed to disable anything not allowed by the respective
specification; I'm not sure why 'strdup' would be considered
an outlaw though.)
2001-09-05 14:40:05 +00:00
Ulf Möller
d98a4b7366
bug fix: bn_sqr_recursive output is twice its input size.
2001-09-05 04:43:43 +00:00
Ulf Möller
889a54c467
Eric Hanchrow points out that Cygwin perl works.
2001-09-05 02:27:07 +00:00
Ulf Möller
9d07fd03e3
Use GCC 2.95/3.0 optimization
2001-09-05 02:18:40 +00:00
Geoff Thorpe
a8a1878256
Update the ENGINE README, and stock it up with extra verbeage for good
...
measure (including info and instructions on "dynamic" ENGINEs).
2001-09-04 23:18:36 +00:00
Ulf Möller
5b46eee0f5
strsep implementation to allow the file to compile on non-BSD systems
...
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au >
2001-09-04 22:19:06 +00:00
Geoff Thorpe
e5e6a94fbf
Make the 'dynamic' ENGINE bundle up the loading application/library's
...
locking callbacks to pass to the loaded library (in addition to the
existing mem, ex_data, and err callbacks). Also change the default
implementation of the "bind_engine" function to apply those callbacks, ie.
the IMPLEMENT_DYNAMIC_BIND_FN macro.
2001-09-04 21:25:17 +00:00
Geoff Thorpe
d9ff889073
Add a "_up" -> "_up_ref" change to libeay.num that was missing from the
...
recent changes. Also, do the same change to the DSO_up() function.
2001-09-04 20:40:41 +00:00
Bodo Möller
e4decc418a
typo
2001-09-04 11:57:17 +00:00
Bodo Möller
cf5bfbfc21
Now that we have ERR_unload_strings(), ERR_load_ERR_strings() must
...
always load its strings because they might have been unloaded
since the 'init' flag was deleted.
But build_SYS_str_reasons() can use an 'init' flag.
2001-09-04 11:49:14 +00:00
Bodo Möller
567fef894e
changing something requires a write lock, not a read lock
2001-09-04 11:15:55 +00:00
Bodo Möller
6ee2a1365e
CHANGES should list all API changes relevant for applications
...
(here: X509_STORE_CTX_init())
2001-09-04 11:13:01 +00:00
Bodo Möller
435037d4e4
OpenSSL copyright notices ...
2001-09-04 11:02:23 +00:00
Bodo Möller
c5de8996cc
delete redundant ERR_load_CRYPTO_strings() prototype
2001-09-04 10:45:01 +00:00
Geoff Thorpe
2dc5383a20
This changes the existing hardware ENGINE implementations to dynamically
...
declare their own error strings so that they can be more easily compiled as
external shared-libraries if desired. Also, each implementation has been
given canonical "dynamic" support at the base of each file and is only
built if the ENGINE_DYNAMIC_SUPPORT symbol is defined.
Also, use "void" prototypes rather than empty prototypes in engine_int.h.
This does not yet;
(i) remove error strings when unloading,
(ii) remove the redundant ENGINE_R_*** codes (though ENGINE_F_*** codes
have gone), or
(iii) provide any instructions on how to build shared-library ENGINEs or
use them.
All are on their way.
2001-09-03 21:33:00 +00:00
Geoff Thorpe
9391f97715
This change adds a new ENGINE called "dynamic" that allows new ENGINE
...
implementations to be loaded from self-contained shared-libraries. It also
provides (in engine.h) definitions and macros to help implement a
self-contained ENGINE. Version control is handled in a way whereby the
loader or loadee can veto the load depending on any objections it has with
each other's declared interface level. The way this is currently
implemented assumes a veto will only take place when one side notices the
other's interface level is too *old*. If the other side is newer, it should
be assumed the newer version knows better whether to veto the load or not.
Version checking (like other "dynamic" settings) can be controlled using
the "dynamic" ENGINE's control commands. Also, the semantics for the
loading allow a shared-library ENGINE implementation to handle differing
interface levels on the fly (eg. loading secondary shared-libraries
depending on the versions required).
Code will be added soon to the existing ENGINEs to illustrate how they can
be built as external libraries rather than building statically into
libcrypto.
NB: Applications wanting to support "dynamic"-loadable ENGINEs will need to
add support for ENGINE "control commands". See apps/engine.c for an example
of this, and use "apps/openssl engine -vvvv" to test or experiment.
2001-09-03 19:15:29 +00:00
Geoff Thorpe
5b16639538
Note the "ERR_unload_strings" function.
2001-09-03 18:27:22 +00:00
Geoff Thorpe
1738bb61e1
Add a new ERR function, "ERR_unload_strings", to complement the existing
...
"ERR_load_strings" function.
2001-09-03 18:24:56 +00:00
Geoff Thorpe
91b3f0e691
Correct a typo.
2001-09-03 17:24:27 +00:00
Bodo Möller
6ac4e8bd6e
Rename recently introduced functions for improved code clarity:
...
[DR]SA_up => [DR]SA_up_ref
2001-09-03 13:40:07 +00:00
Bodo Möller
983495c4b2
Use uniformly chosen witnesses for Miller-Rabin test
...
(by using new BN_pseudo_rand_range function)
2001-09-03 12:58:16 +00:00
Bodo Möller
931a23a5a5
rearrange #includes because trying to include <crypto/cryptodev.h>
...
is a bad idea if OPENSSL_OPENBSD_DEV_CRYPTO is not defined
2001-09-03 12:37:13 +00:00
Geoff Thorpe
72849dce81
Convert "max" to "mx" for variable names (brought to my attention by Steve
...
Henson). Also, reverse a previous change that used an implicit function
pointer cast rather than an explicit data pointer cast in the STACK cleanup
code.
2001-09-02 20:41:34 +00:00
Ben Laurie
2618893114
Make MD functions take EVP_MD_CTX * instead of void *, add copy() function.
2001-09-02 20:05:27 +00:00
Geoff Thorpe
36026dfc01
Note the "ex_data" changes.
2001-09-01 20:20:16 +00:00
Geoff Thorpe
79aa04ef27
Make the necessary changes to work with the recent "ex_data" overhaul.
...
See the commit log message for that for more information.
NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented
(initialisation by "memset" won't/can't/doesn't work). This fixes that but
requires that X509_STORE_CTX_init() be able to handle errors - so its
prototype has been changed to return 'int' rather than 'void'. All uses of
that function throughout the source code have been tracked down and
adjusted.
2001-09-01 20:02:13 +00:00
Geoff Thorpe
3a0799977b
First step in fixing "ex_data" support. Warning: big commit log ...
...
Currently, this change merely addresses where ex_data indexes are stored
and managed, and thus fixes the thread-safety issues that existed at that
level. "Class" code (eg. RSA, DSA, etc) no longer store their own STACKS
and per-class index counters - all such data is stored inside ex_data.c. So
rather than passing both STACK+counter to index-management ex_data
functions, a 'class_index' is instead passed to indicate the class (eg.
CRYPTO_EX_INDEX_RSA). New classes can be dynamically registered on-the-fly
and this is also thread-safe inside ex_data.c (though whether the caller
manages the return value in a thread-safe way is not addressed).
This does not change the "get/set" functions on individual "ex_data"
structures, and so thread-safety at that level isn't (yet) assured.
Likewise, the method of getting and storing per-class indexes has not
changed, so locking may still be required at the "caller" end but is
nonetheless thread-safe inside "ex_data"'s internal implementation.
Typically this occurs when code implements a new method of some kind and
stores its own per-class index in a global variable without locking the
setting and usage of that variable. If the code in question is likely to be
used in multiple threads, locking the setting and use of that index is
still up to the code in question. Possible fixes to this are being
sketched, but definitely require more major changes to the API itself than
this change undertakes.
The underlying implementation in ex_data.c has also been modularised so
that alternative "ex_data" implementations (that control all access to
state) can be plugged in. Eg. a loaded module can have its implementation
set to that of the application loaded it - the result being that
thread-safety and consistency of "ex_data" classes and indexes can be
maintained in the same place rather than the loaded module using its own
copy of ex_data support code and state.
Due to the centralisation of "state" with this change, cleanup of all
"ex_data" state can now be performed properly. Previously all allocation of
ex_data state was guaranteed to leak - and MemCheck_off() had been used to
avoid it flagging up the memory debugging. A new function has been added to
perfrom all this cleanup, CRYPTO_cleanup_all_ex_data(). The "openssl"
command(s) have been changed to use this cleanup, as have the relevant test
programs. External application code may want to do so too - failure to
cleanup will not induce more memory leaking than was the case before, but
the memory debugging is not tricked into hiding it any more so it may
"appear" where it previously did not.
2001-09-01 19:56:46 +00:00
Geoff Thorpe
e19ea55783
Only OPENSSL_free() non-NULL pointers.
2001-09-01 18:37:17 +00:00
Ulf Möller
8716dbea40
undo, didn't work
2001-09-01 05:59:27 +00:00
Ulf Möller
e9bc66c84f
*** empty log message ***
2001-09-01 05:30:45 +00:00
Ulf Möller
c078798c60
strsep implementation to allow the file to compile on non-BSD systems
...
Submitted by: "Brian Havard" <brianh@kheldar.apana.org.au >
2001-09-01 05:05:32 +00:00
Ulf Möller
de73cca923
make update
2001-09-01 04:25:50 +00:00
Ulf Möller
b1051789d6
zlib default was broken on most platforms.
...
-mcpu=i486 is new as of gcc 2.95, and if you have that, you wouldn't
want to optimize for 486 anyway.
2001-09-01 04:18:00 +00:00
Geoff Thorpe
4db73c1bb8
(A version of) gcc had been giving somewhat odd "trigraph" warnings about
...
this construct, and Ulf provided the following insight as to why;
> ANSI C compliant compilers must substitute "??)" for "]" because your
> terminal might not have a "]" key if you bought it in the early 1970s.
So we escape the final '?' to avoid this pathological case.
2001-08-28 19:32:16 +00:00
Geoff Thorpe
3ae34e3a8c
Ensure that failure to create the BIO in 'CRYPTO_mem_leaks_fp' doesn't
...
leave memory debugging turned off.
[Spotted by Götz Babin-Ebell]
2001-08-28 15:54:57 +00:00
Ben Laurie
1f3b65801b
Fix SSL memory leak.
2001-08-28 13:45:41 +00:00
Geoff Thorpe
5e2c4e23f4
Make sure "CRYPTO_mem_leaks_fp" doesn't itself create a reportable memory
...
leak.
2001-08-27 22:12:56 +00:00
Geoff Thorpe
35780c2139
"make update"
2001-08-26 21:06:22 +00:00
Geoff Thorpe
ceff5fec5a
gcc can't spot that 'derlst' is not used uninitialised, so appease it.
2001-08-26 21:04:21 +00:00
Ben Laurie
4897dc4056
Test digests.
2001-08-26 17:09:31 +00:00
Ben Laurie
35e33f0e52
Add digests.
2001-08-26 17:09:00 +00:00
Geoff Thorpe
a844e27baa
Tidy up some code formatting.
2001-08-25 18:01:36 +00:00
Geoff Thorpe
0783bf151c
Note the "ERR" changes.
2001-08-25 17:59:13 +00:00
Geoff Thorpe
566bdf2bda
This changes the "ERR" code to have all access to state (a hash table of
...
error strings and a hash table storing per-thread error state) go via an
ERR_FNS function table. The first time an ERR operation occurs, the
implementation that will be used (from then on) is set to the internal
"defaults" implementation if it has not already been set. The actual LHASH
tables are only accessed by this implementation.
This is primarily for modules that can be loaded at run-time and bound into
an application (or a shared-library version of OpenSSL). If the module has
its own statically-linked copy of OpenSSL code - this mechanism allows it
to *not* create and use ERR information in its own linked "ERR" code, but
instead to use and interact with the state stored in the loader
(application or shared library). The loader calls ERR_get_implementation()
and the return value is what the module should use when calling its own
copy of ERR_set_implementation().
2001-08-25 17:51:59 +00:00
Geoff Thorpe
eb6dc02b23
Make a note of the "up" functions.
2001-08-25 17:37:46 +00:00
Geoff Thorpe
78435364ec
Changes crypto/evp/ and ssl/ code from directly incrementing reference
...
counts in DH, DSA, and RSA structures. Instead they use the new "***_up()"
functions that handle this.
2001-08-25 17:28:23 +00:00
Geoff Thorpe
5cbc2e8bc1
Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
...
dependant code has to directly increment the "references" value of each
such structure using the corresponding lock. Apart from code duplication,
this provided no "REF_CHECK/REF_PRINT" checking and violated
encapsulation.
2001-08-25 17:24:21 +00:00
Lutz Jänicke
e7cf7fcd21
Allow client certificate lists > 16kB ("Douglas E. Engert" <deengert@anl.gov>.)
2001-08-25 11:49:24 +00:00
Lutz Jänicke
bb8aab0211
Wording of comment...
2001-08-25 11:33:34 +00:00
Lutz Jänicke
0fbf5f7102
Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).
2001-08-25 11:31:19 +00:00
Lutz Jänicke
f1b2807478
More docs.
2001-08-24 14:29:48 +00:00
Lutz Jänicke
faacb092f8
-passin argument not used when actually loading the key
...
(found by Massimiliano Pala <madwolf@hackmasters.net >).
2001-08-24 13:33:15 +00:00
Dr. Stephen Henson
b439a74620
Load OCSP responder key before waiting for an incoming
...
connection so it can prompt for pass phrase on startup
instead of after the first connection.
Add -port switch to usage message.
2001-08-23 23:54:11 +00:00
Dr. Stephen Henson
3132ab8ce6
Add #ifdefs to some devcrypto code
2001-08-23 23:52:38 +00:00
Lutz Jänicke
bfd7bb3eb6
Typo.
2001-08-23 17:41:20 +00:00
Lutz Jänicke
11c8f0b79d
More manual pages. Constify.
2001-08-23 17:22:43 +00:00
Lutz Jänicke
c4068186ac
As discussed recently on openssl-users.
2001-08-23 15:00:11 +00:00
Lutz Jänicke
0a93a68020
Make clear, that using the compression layer is currently not recommended.
2001-08-23 09:42:12 +00:00
Ulf Möller
f2ab7d1392
typo.
2001-08-22 18:35:17 +00:00
Ben Laurie
c41ab9ade5
More tests.
2001-08-22 16:09:57 +00:00
Lutz Jänicke
141e584998
One more manual page...
2001-08-21 14:54:54 +00:00
Lutz Jänicke
336736ef35
Documentation on how to handle compression methods.
...
Hopefully it is clear enough, that it is currently not recommended.
2001-08-21 13:02:58 +00:00
Lutz Jänicke
df7cb13525
Checked in from the wrong !@#$%&*() copy...
2001-08-21 07:27:02 +00:00
Lutz Jänicke
d93eb21c7c
More interdependencies with respect to shutdown behaviour.
2001-08-20 14:34:16 +00:00
Lutz Jänicke
a403188f92
Alert description strings for TLSv1 and documentation.
2001-08-19 16:20:42 +00:00
Ben Laurie
82b2230527
Add RC4 support to OpenBSD.
2001-08-18 16:04:36 +00:00
Ben Laurie
a8a004987c
Add AES tests.
2001-08-18 16:02:52 +00:00
Ben Laurie
0e36019977
Add EVP test program.
2001-08-18 13:53:01 +00:00
Ben Laurie
354c3ace73
Add first cut symmetric crypto support.
2001-08-18 10:22:54 +00:00
Lutz Jänicke
52129c0b0b
More details about session timeout settings.
2001-08-17 16:36:51 +00:00
Lutz Jänicke
a52877a2f1
One more function documented.
2001-08-17 15:54:50 +00:00
Lutz Jänicke
cdd7c3ce92
SSL_shutdown() has even more properties...
2001-08-17 15:09:31 +00:00
Lutz Jänicke
c1497b4d19
One more step on the way for complete documentation...
2001-08-17 14:32:38 +00:00
Lutz Jänicke
b2ed462934
Unidirectional shutdown is allowed according to the RFC.
2001-08-17 09:08:32 +00:00
Richard Levitte
bb766a0ad6
Make sure evil file name characters, like spaces or ampersands (!),
...
don't disturb the rehashing process.
Spotted and suggested patch from Rudo Thomas <rudo@internet.sk >
2001-08-17 04:35:58 +00:00
Dr. Stephen Henson
b65f851318
Make -passin -passout etc work again.
...
Fix leak in ca.c when using -passin.
2001-08-17 01:09:54 +00:00
Dr. Stephen Henson
35bf35411c
Add CRL utility functions to allow CRLs to be
...
built up without accessing structures directly.
Update ca.c to use new functions.
Fix ca.c so it now build CRLs correctly again.
2001-08-17 00:33:43 +00:00
Lutz Jänicke
54fbc77dc8
Bugfixes provided by "Stephen Hinton" <shinton@netopia.com>.
2001-08-16 15:28:00 +00:00
Lutz Jänicke
9e09eebf94
Better description of the behaviour of SSL_shutdown() as it is now, broken
...
or not.
2001-08-16 14:27:55 +00:00
Richard Levitte
45a2f93906
gcc 3.0 tells me that -m486 is deprecated. The gcc 2.95 manual tells
...
me the same and that the correct option is -mcpu=i486. I'm assuming
-mcpu has been around for some time, and that it's therefore safe to
change all occurences of -m486 to -mcpu=i486.
2001-08-13 14:09:31 +00:00
Geoff Thorpe
6982c0da4e
The indexes returned by ***_get_ex_new_index() functions are used when
...
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
2001-08-12 17:14:35 +00:00
Geoff Thorpe
b7727ee616
The indexes returned by ***_get_ex_new_index() functions are used when
...
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
2001-08-12 16:52:00 +00:00
Ben Laurie
f0446ca8d7
Move CIPHER_CTX cleanups to _Final routines instead of _Init, which avoids
...
problems with leaks and uninitialised structures.
2001-08-11 11:32:54 +00:00
Richard Levitte
6bc847e49e
Apply the Tru64 patch from Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
...
His comments are:
1) Changes all references for `True64' to be `Tru64', which is the correct
spelling for the OS name.
2) Makes `alpha-cc' be the same as `alpha164-cc', and adds an `alphaold-cc'
entry that is the same as the previous `alpha-cc'. The reason is that most
people these days are using the newer compiler, so it should be the default.
3) Adds a bit of commentary to Configure, regarding the name changes of
the OS over the years, so it's not so confusing to people that haven't been
with the OS for a while.
4) Adds an `alpha-cc-rpath' target (which is *not* selected automatically
by Configure under any circumstance) that builds an RPATH into the
shared libraries. This is explained in the comment in Configure. It's
very very useful for people that want it, and people that don't want it
just shouldn't choose that target.
5) Adds the `-pthread' flag as the best way to get POSIX thread support
from the newer compiler.
6) Updates the Makefile targets, so that when the `alpha164-cc', `alpha-cc',
or `alpha-cc-rpath' target is what Configure is set to use, it uses a Makefile
target that includes the `-msym' option when building the shared library.
This is a performance enhancement.
7) Updates `config' so that if it detects you're running version 4 or 5
of the OS, it automatically selects `alpha-cc', but uses `alphaold-cc'
for versions 1-3 of the OS.
8) Updates the comment in opensslv.h, fixing both the OS name typo and
adding a reference to IRIX 6.x, since the shared library semantics are
virtually identical there.
2001-08-10 15:26:21 +00:00
Bodo Möller
3f1c4e49a3
add missing link
2001-08-08 15:09:06 +00:00
Bodo Möller
37a7cd1a11
Bugfix: larger message size in ssl3_get_key_exchange() because
...
ServerKeyExchange message may be skipped.
Submitted by: Petr Lampa <lampa@fee.vutbr.cz >
2001-08-07 09:30:18 +00:00
Lutz Jänicke
3a2d9c4dd0
Fix typos (shinagawa@star.zko.dec.com)
2001-08-07 07:52:53 +00:00
Bodo Möller
e51d1321fc
More typedef'd struct names as search targets
2001-08-06 11:57:08 +00:00
Bodo Möller
b9fdb3eb99
Reinsert typedef'ed names for structs to help those trying to read the
...
sourcecode (including fgrep)
2001-08-06 11:49:31 +00:00
Ben Laurie
d66ace9da5
Start to reduce some of the header bloat.
2001-08-05 18:02:16 +00:00
Ben Laurie
db75357110
Fix memory leak.
2001-08-05 16:13:49 +00:00
Ben Laurie
0713f8abe6
Parameter correction for CIOFSESSION.
2001-08-04 12:16:56 +00:00
Ben Laurie
93d9121a77
Remove extra whitespace. Sorry.
2001-08-03 21:09:21 +00:00
Ben Laurie
92dad6cc84
Reinstate accidentally deleted code.
2001-08-03 19:00:43 +00:00
Ben Laurie
61454a9f8c
Get rid of the stuff we, err, got rid of.
2001-08-03 18:52:50 +00:00
Ben Laurie
bb2297a41d
Header bloat reduction for EVP_PKEY.
2001-08-03 18:48:35 +00:00
Ben Laurie
75e98d0563
This ghastly hack prevents CVS wars over Kerberos (which is disabled by default).
2001-08-03 18:45:35 +00:00
Lutz Jänicke
e9eb000c53
Oops, one SSL_OP_NON_EXPORT_FIRST was left.
2001-08-03 13:05:44 +00:00
Ben Laurie
1ba01caaa3
Make /dev/crypto work with new EVP structures.
2001-08-03 11:54:37 +00:00
Richard Levitte
5cd6571fae
Make sure memcpy() gets properly declared by including string.h.
2001-08-03 10:54:00 +00:00
Bodo Möller
6383bbe525
remove a comma
2001-08-03 09:28:02 +00:00
Lutz Jänicke
06da6e4977
Don't disable rollback attack detection as a recommended bug workaround.
2001-08-03 08:45:13 +00:00
Lutz Jänicke
b72faddc47
Mention removed option.
2001-08-01 10:07:55 +00:00
Lutz Jänicke
d92f0bb6e9
Remove SSL_OP_NON_EXPORT_FIRST:
...
It did not work, it was deactivated by #if 0/#endif anyway _and_ we now have
the working SSL_OP_CIPHER_SERVER_PREFERENCE.
2001-08-01 10:06:32 +00:00
Richard Levitte
710e5d5639
make update
2001-07-31 17:07:24 +00:00
Richard Levitte
6da980e2b5
Make sure the source file is included among the dependencies. This is
...
the norm for 'gcc -M' but not for 'makedepend', and is merely
introduced here to avoid commit wars.
2001-07-31 17:02:44 +00:00
Lutz Jänicke
37f599bcec
Reworked manual pages with a lot of input from Bodo Moeller.
2001-07-31 15:04:50 +00:00
Ben Laurie
8408f4fbc7
Document DES changes better.
2001-07-31 13:33:58 +00:00
Ben Laurie
534164ef90
Remove old unused stuff.
2001-07-31 12:03:26 +00:00
Lutz Jänicke
e32c852e1e
Indent.
2001-07-31 10:19:20 +00:00
Richard Levitte
dbfc0f8c2b
Vade retro C++ comments!
...
(Latin for "comments", anyone?)
2001-07-31 09:15:52 +00:00
Richard Levitte
3728974460
Make as sure as possible that gethostname() will be properly declared.
2001-07-31 08:50:20 +00:00
Richard Levitte
fdc2bbcacb
Correct most of the unsigned vs. signed warnings (or int vs. size_t),
...
and rename some local variables to avoid name shadowing.
2001-07-31 08:45:40 +00:00
Richard Levitte
c2a3358b60
Whoops, my fault, a backslash got converted to a slash...
2001-07-31 08:44:28 +00:00
Richard Levitte
882e891284
More Kerberos SSL changes from Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
First, it corrects a problem introduced in the last patch where the
kssl_map_enc() would intentionally return NULL for valid ENCTYPE
values. This was done to prevent verification of the kerberos 5
authenticator from being performed when Derived Key ciphers were
in use. Unfortunately, the authenticator verification routine was
not the only place that function was used. And it caused core dumps.
Second, it attempt to add to SSL_SESSION the Kerberos 5 Client
Principal Name.
2001-07-31 07:21:06 +00:00
Ben Laurie
05bbf78afd
Remove //.
2001-07-31 06:47:23 +00:00
Richard Levitte
99ecb90a99
make update
2001-07-31 06:40:10 +00:00
Ben Laurie
dbad169019
Really add the EVP and all of the DES changes.
2001-07-30 23:57:25 +00:00
Ben Laurie
3ba5d1cf2e
Make EVPs allocate context memory, thus making them extensible. Rationalise
...
DES's keyschedules.
I know these two should be separate, and I'll back out the DES changes if they
are deemed to be an error.
Note that there is a memory leak lurking in SSL somewhere in this version.
2001-07-30 17:46:22 +00:00
Ben Laurie
be2e2c3297
Only set the verify callback if there's one to set!
2001-07-30 17:17:26 +00:00
Andy Polyakov
ed0015284b
Just a "get to know your system" bit.
2001-07-30 16:46:37 +00:00
Andy Polyakov
6d03b73e35
Enhanced support for IA-64 Linux and HP-UX (as well as better support for
...
HP-UX in common in ./config). Note that for the moment of this writing
none of 64-bit platforms pass bntest. I'm committing this anyway as it's
too frustrating to patch snapshots over and over while 0.9.6 is known to
work.
2001-07-30 16:42:15 +00:00
Andy Polyakov
622d3d3592
Support for Intel and HP-UXi assemblers.
2001-07-30 15:54:13 +00:00
Ben Laurie
0e06354402
ANSIfication.
2001-07-30 15:33:46 +00:00
Andy Polyakov
62c271610b
Typo in stty command lines.
2001-07-30 14:33:58 +00:00
Lutz Jänicke
db089ad60d
Don't miss files...
2001-07-30 11:50:37 +00:00
Lutz Jänicke
1f0c9ad7e1
Fix inconsistent behaviour with respect to verify_callback handling.
2001-07-30 11:45:34 +00:00
Lutz Jänicke
06efc222f9
Forgot to mention second fix.
2001-07-30 11:33:53 +00:00
Bodo Möller
de3333bae4
length of secret exponent is needed only when we create one
2001-07-27 22:45:35 +00:00
Bodo Möller
924875e53b
Undo DH_generate_key() change: s3_srvr.c was using it correctly
2001-07-27 22:34:25 +00:00
Lutz Jänicke
3a64458217
Another uninitialized static that may lead to problems on Solaris under some
...
circumstances.
2001-07-27 12:35:27 +00:00
Richard Levitte
ea71c22731
Addapt VMS script to the latest changes in the makefiles.
2001-07-27 07:47:51 +00:00
Dr. Stephen Henson
dc706cd35f
Make sure *outl is always initialized in EVP_EncryptUpdate().
2001-07-27 02:24:47 +00:00
Dr. Stephen Henson
1241126adf
More linker bloat reorganisation:
...
Split private key PEM and normal PEM handling. Private key
handling needs to link in stuff like PKCS#8.
Relocate the ASN1 *_dup() functions, to the relevant ASN1
modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously
these were all in crypto/x509/x_all.c along with every ASN1
BIO/fp function which linked in *every* ASN1 function if
a single dup was used.
Move the authority key id ASN1 structure to a separate file.
This is used in the X509 routines and its previous location
linked in all the v3 extension code.
Also move ASN1_tag2bit to avoid linking in a_bytes.c which
is now largely obsolete.
So far under Linux stripped binary with single PEM_read_X509
is now 238K compared to 380K before these changes.
2001-07-27 02:22:42 +00:00
Dr. Stephen Henson
19da130053
First of several reorganisations to
...
reduce linker bloat. For example the
single line:
PEM_read_X509()
results in a binary of around 400K in Linux!
This first step separates some of the PEM functions and
avoids linking in some PKCS#7 and PKCS#12 code.
2001-07-26 22:34:45 +00:00
Lutz Jänicke
a75b191502
Fix problem occuring when used from OpenSSH on Solaris 8.
2001-07-26 09:02:44 +00:00
Bodo Möller
e5cb260365
DH key generation should not use a do ... while loop,
...
or bogus DH parameters can be used for launching DOS attacks
2001-07-25 17:48:51 +00:00
Bodo Möller
6aecef815c
Don't preserve existing keys in DH_generate_key.
2001-07-25 17:20:34 +00:00
Bodo Möller
daba492c3a
md_rand.c thread safety
2001-07-25 17:17:24 +00:00
Bodo Möller
24cff6ced5
always reject data >= n
2001-07-25 17:02:58 +00:00
Andy Polyakov
ac7b42610f
Support for 64-bit Solaris build with GCC 3.0 and later. It should be
...
explicitely noted that 64-bit SPARCv9 ABI is not officially supported
by GCC 3.0 (support is scheduled for 3.1 release), but it appears to
work, at the very least 'make test' passes...
2001-07-25 15:58:57 +00:00
Lutz Jänicke
7abe76e1bd
Fix wrong information about SSL_set_connect_state()...
2001-07-25 12:12:51 +00:00
Bodo Möller
7bc03ded12
add a comment
2001-07-25 10:04:14 +00:00
Bodo Möller
ea3b8af50a
avoid warnings
2001-07-24 14:20:36 +00:00
Bodo Möller
badb910f3c
Avoid race condition.
...
Submitted by: Travis Vitek <vitek@roguewave.com >
2001-07-24 12:31:14 +00:00
Geoff Thorpe
3866752e7e
- New INSTALL document describing different ways to build "tunala" and
...
possible problems.
- New file breakage.c handles (so far) missing functions.
- Get rid of some signed/unsigned/const warnings thanks to solaris-cc
- Add autoconf/automake input files, and helper scripts to populate missing
(but auto-generated) files.
This change adds a configure.in and Makefile.am to build everything using
autoconf, automake, and libtool - and adds "gunk" scripts to generate the
various files those things need (and clean then up again after). This means
that "autogunk.sh" needs to be run first on a system with the autotools,
but the resulting directory should be "configure"able and compilable on
systems without those tools.
2001-07-23 19:03:48 +00:00
Lutz Jänicke
3e3dac9f97
Additional inline reference.
2001-07-23 12:57:37 +00:00
Lutz Jänicke
397ba0f08a
Add missing reference.
2001-07-23 12:52:05 +00:00
Geoff Thorpe
07ad8f5d17
Tidy up "cvs update" output a bit.
2001-07-22 23:21:33 +00:00
Richard Levitte
47c3448a97
Not all platforms have the OpenBSD crypto device.
2001-07-21 11:54:24 +00:00
Lutz Jänicke
4db48ec0bd
Documentation about ephemeral key exchange
2001-07-21 11:02:17 +00:00
Ben Laurie
c518ade1fd
Clean up EVP macros, rename DES EDE3 modes correctly, temporary support for
...
OpenBSD /dev/crypto (this will be revamped later when the appropriate machinery
is available).
2001-07-21 10:24:07 +00:00
Richard Levitte
acdf4afb91
More Kerberos SSL patches from Vern Staats <staatsvr@asc.hpc.mil>.
...
His comments are:
This patch fixes the problem of modern Kerberos using "derived keys"
to encrypt the authenticator by disabling the authenticator check
for all derived keys enctypes.
I think I've got all the bugfixes that Jeffrey and I discussed rolled
into this. There were some problems with Jeffrey's code to convert
the authenticator's Kerberos timestring into struct tm (e.g. Z, -1900;
it helps to have an actual decryptable authenticator to play with).
So I've shamelessly pushed in my code, while stealing some bits from
Jeffrey.
2001-07-21 09:43:43 +00:00
Lutz Jänicke
6d3dec92fb
Updated explanation.
2001-07-20 19:23:43 +00:00
Lutz Jänicke
2d3b6a5be7
Some more documentation bits.
2001-07-20 18:57:15 +00:00
Geoff Thorpe
81d1998e09
Currently, RSA code, when using no padding scheme, simply checks that input
...
does not contain more bytes than the RSA modulus 'n' - it does not check
that the input is strictly *less* than 'n'. Whether this should be the
case or not is open to debate - however, due to security problems with
returning miscalculated CRT results, the 'rsa_mod_exp' implementation in
rsa_eay.c now performs a public-key exponentiation to verify the CRT result
and in the event of an error will instead recalculate and return a non-CRT
(more expensive) mod_exp calculation. As the mod_exp of 'I' is equivalent
to the mod_exp of 'I mod n', and the verify result is automatically between
0 and n-1 inclusive, the verify only matches the input if 'I' was less than
'n', otherwise even a correct CRT calculation is only congruent to 'I' (ie.
they differ by a multiple of 'n'). Rather than rejecting correct
calculations and doing redundant and slower ones instead, this changes the
equality check in the verification code to a congruence check.
2001-07-20 15:16:10 +00:00
Andy Polyakov
6b46ca135a
Missing line 0.9.6b release and IA-64 patch advertisement:-)
2001-07-17 14:39:26 +00:00
Richard Levitte
fa293e4e4b
SSL_get_rfc were documented but not implemented.
2001-07-16 10:50:29 +00:00
Richard Levitte
24cbf3efc6
SSL_get_[rw]fd were documented but not implemented.
2001-07-15 20:11:57 +00:00
Dr. Stephen Henson
534a1ed0cb
Allow OCSP server to handle multiple requests.
...
Document new OCSP options.
2001-07-13 13:13:44 +00:00
Dr. Stephen Henson
ee306a1332
Initial OCSP server support, using index.txt format.
...
This can process internal requests or behave like a
mini responder.
Todo: documentation, update usage info.
2001-07-12 20:41:51 +00:00
Richard Levitte
45442167b0
Prevent KSSL server from requesting a client certificate.
...
Submitted by Jeffrey Altman <jaltman@columbia.edu >
2001-07-12 16:17:33 +00:00
Richard Levitte
131645ecce
paddr may be NULL. Do not crash if it is.
2001-07-12 15:54:10 +00:00
Richard Levitte
f1ca5f5b89
Clarify that zlib-dynamic is the default choice.
2001-07-12 09:19:34 +00:00
Richard Levitte
e452de9d87
Add the possibility to specify the use of zlib compression and
...
decompression. It can be set up to link at link time or to load the
zlib library at run-time.
2001-07-12 09:11:14 +00:00
Lutz Jänicke
a0256f462a
Clarify actual state.
2001-07-12 08:53:50 +00:00
Richard Levitte
82d5d46c14
Some of the Kerberos code had dissapeared. Reapply.
2001-07-12 08:51:47 +00:00
Richard Levitte
0665dd6852
Document the recent Kerberos SSL changes.
2001-07-12 04:23:57 +00:00
Dr. Stephen Henson
98fc09b18a
Delete extra ;
2001-07-11 22:54:24 +00:00
Dr. Stephen Henson
192ebef8cf
In ocsp_match_issuerid() we are passed the CA that signed the responder
...
certificate so need to match its subject with the certificate IDs in the
response.
2001-07-11 22:42:20 +00:00
Richard Levitte
b01ab14338
make update
...
Note that since some private kssl functions were exported, the
simplest way to rebuild the number table was to toss everything that
was new since OpenSSL 0.9.6b. This is safe, since those functions
have not yet been exported in an OpenSSL release. Beware, people who
trust intermediary snapshots!
2001-07-11 21:15:03 +00:00
Richard Levitte
2a96235bf7
Include kssl_lcl.h where needed.
2001-07-11 21:11:40 +00:00
Richard Levitte
1cf9bf00f4
Private functions do not belong in an exported header file, so move
...
them to one that won't get exported.
2001-07-11 21:09:30 +00:00
Richard Levitte
a5224c3420
Changes to the Kerberos SSL code by Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
. adds use of replay cache to protect against replay attacks
. adds functions kssl_tgt_is_available() and
kssl_keytab_is_available() which are used within s3_lib.c
and ssl_lib.c to determine at runtime whether or not
KRB5 ciphers can be supported during the current session.
2001-07-11 19:03:58 +00:00
Geoff Thorpe
af436bc158
openssl speed is quite useful for testing hardware support (among other
...
things), especially as the RSA keys are fixed. However, DSA only fixes the
DSA parameters and then generates the public and private components on the
fly each time - this commit hard-codes some sampled key values so that this
is no longer the case.
2001-07-11 18:59:25 +00:00
Richard Levitte
ab603c6987
Code to avoid the use of non-standard strptime(). By
...
Jeffrey Altman <jaltman@columbia.edu >
(Really, the time that's being parsed is a GeneralizedTime, so if
ASN1_GENERALIZEDTIME_get() ever gets implemented, it should be used
instead)
2001-07-11 16:13:36 +00:00
Lutz Jänicke
9c11a0e541
Typo...
2001-07-11 15:49:35 +00:00
Richard Levitte
8de83bf876
Changes to the Kerberos SSL code by Jeffrey Altman <jaltman@columbia.edu>
...
His comments are:
. Fixed all of the Windows dynamic loading functions, prototypes, etc.
. Corrected all of the unsigned/signed comparison warnings
. Replaced the references to krb5_cksumarray[] for two reasons.
First, it was an internal variable that should not have been
referenced outside the library; nor could it have been with
a shared library with restricted exports. Second, the
variable is no longer used in current Kerberos implementations.
I replaced the code with equivalent functionality using functions
that are exported from the library.
2001-07-11 15:31:45 +00:00
Lutz Jänicke
679df234b7
What is an '-engine' version?
2001-07-11 15:31:21 +00:00
Richard Levitte
26eaab0990
The implementation of the TKTBODY ASN.1 functions was missing.
2001-07-11 15:29:33 +00:00
Richard Levitte
7be96d7c9f
make update
2001-07-11 15:16:15 +00:00
Richard Levitte
d11493934c
Make sure crypto/krb5/krb5_asn.h is copied to the directory of
...
exported header files.
2001-07-11 15:15:31 +00:00
Richard Levitte
c62da732a4
Make sure crypto/krb5/krb5_asn.h becomes part of libeay.num.
2001-07-11 15:14:22 +00:00
Lutz Jänicke
a1a63a4239
Clarify! (based on recent mailing-list discussions)
2001-07-11 15:10:28 +00:00
Richard Levitte
103a434386
One forgotten function.
2001-07-11 07:10:43 +00:00
Richard Levitte
567671e291
make update
2001-07-10 21:00:37 +00:00
Richard Levitte
d8a750ee7f
EVP_Digest() takes one more parameter.
2001-07-10 20:58:13 +00:00
Bodo Möller
9c10b2c8d3
For consistency with the terminology used in my SAC2001 paper, avoid
...
the term "simultaneous multiplication" (which -- acording to the
paper, at least -- applies only to certain methods which we don't use
here)
2001-07-10 11:41:29 +00:00
Bodo Möller
56a106115f
comment change
2001-07-10 11:28:53 +00:00
Bodo Möller
e9ad0d2c31
Fix PRNG.
2001-07-10 10:49:34 +00:00
Bodo Möller
97639f0d73
In version numbers, there is just one "M" nybble.
2001-07-10 10:04:26 +00:00
Bodo Möller
e3a4f8b84c
Precomputation will not necessarily be LIm-Lee precomputation.
2001-07-10 10:04:05 +00:00
Richard Levitte
7e99812432
If I define _XOPEN_SOURCE before including *any* system header file,
...
things will work much more smoothly.
2001-07-09 21:51:03 +00:00
Richard Levitte
2a1ef75435
Patches from Vern Staats <staatsvr@asc.hpc.mil> to get Kerberos 5 in
...
SSL according to RFC 2712. His comment is:
This is a patch to openssl-SNAP-20010702 to support Kerberized SSL
authentication. I'm expecting to have the full kssl-0.5 kit up on
sourceforge by the end of the week. The full kit includes patches
for mod-ssl, apache, and a few text clients. The sourceforge URL
is http://sourceforge.net/projects/kssl/ .
Thanks to a note from Simon Wilkinson I've replaced my KRB5 AP_REQ
message with a real KerberosWrapper struct. I think this is fully
RFC 2712 compliant now, including support for the optional
authenticator field. I also added openssl-style ASN.1 macros for
a few Kerberos structs; see crypto/krb5/ if you're interested.
2001-07-09 21:46:58 +00:00
Ben Laurie
c148d70978
A better compromise between encrypt and decrypt (but why isn't it as fast
...
for encrypt?).
2001-07-09 21:00:36 +00:00
Ben Laurie
7b6055d1af
Handle the common case first (where input size is a multiple of block size).
...
Worth around 5% for encrypt. Slows down decrypt slightly, but I expect to
regain that later.
2001-07-08 19:42:10 +00:00
Ben Laurie
f31b12503e
Use & instead of % - worth about 4% for 8 byte blocks.
2001-07-08 17:27:32 +00:00
Ben Laurie
f82197ad75
Don't update argc, argv for decrypt flag!
2001-07-08 12:58:10 +00:00
Ben Laurie
3f37e73bae
Speed test decrypt EVP operations.
2001-07-08 12:14:41 +00:00
Ben Laurie
0774f470d9
Correct const-ness.
2001-07-08 11:42:38 +00:00
Ben Laurie
d7a9e91688
Remove unnecessary casts.
2001-07-06 22:06:08 +00:00
Ben Laurie
601cb9be20
Constification.
2001-07-06 21:35:00 +00:00
Richard Levitte
f3229ee19a
Use one address consistently.
2001-07-05 10:20:07 +00:00
Richard Levitte
219a3580b7
Change info to correct values.
2001-07-05 10:19:13 +00:00
Bodo Möller
d63c6bd397
Align with 0.9.6-stable CHANGES file, and make some corrections.
2001-07-04 20:56:47 +00:00
Bodo Möller
fdb61e583a
Engine memory leaks have been fixed by now.
2001-07-04 20:56:08 +00:00
Bodo Möller
b8e2f83ae6
Call ENGINE_cleanup() to avoid memory leak.
2001-07-04 20:55:36 +00:00
Bodo Möller
93dbd83570
Entry for Andy's mips3.s fix.
2001-07-04 20:17:27 +00:00
Ben Laurie
5be022712a
Update nCipher header with more liberal licence.
2001-07-04 12:26:39 +00:00
Lutz Jänicke
43f9391bcc
When only the key is given to "enc", the IV is undefined
...
(found by Andy Brown <logic@warthog.com >).
2001-07-03 10:31:11 +00:00
Richard Levitte
c1c971654b
Make an extra note about shared libraries and backward compatibility.
2001-07-03 01:43:11 +00:00
Richard Levitte
72b1072fbd
Let's include cryptlib.h *before* things like NO_SYSLOG are tested or
...
used.
2001-07-02 20:43:01 +00:00
Richard Levitte
3bfd99bfbb
[Forgotten commits?]
...
Changes to have OpenSSL compile on OS/2.
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au >
2001-07-02 20:41:05 +00:00
Ben Laurie
a169e82065
Fix warning.
2001-07-02 12:50:30 +00:00
Richard Levitte
c80410c50c
Insuline shot
2001-07-01 23:15:43 +00:00
Richard Levitte
dc01b6b1f2
Changes to have OpenSSL compile on OS/2.
...
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au >
2001-07-01 22:39:46 +00:00
Dr. Stephen Henson
b7a26e6daf
Modify apps to use NCONF code instead of old CONF code.
...
Add new extension functions which work with NCONF.
Tidy up extension config routines and remove redundant code.
Fix NCONF_get_number().
Todo: more testing of apps to see they still work...
2001-06-28 11:41:50 +00:00
Richard Levitte
ce16450a89
Make better use of load_cert, load_certs and load_key.
2001-06-27 09:12:43 +00:00
Dr. Stephen Henson
9d2e51c199
Another empty X509_NAME fix.
2001-06-26 12:39:22 +00:00
Dr. Stephen Henson
1e325f6149
Handle empty X509_NAME in printing routines.
2001-06-26 12:04:35 +00:00
Bodo Möller
c458a33196
DSA verification should insist that r and s are in the allowed range.
2001-06-26 09:48:17 +00:00
Richard Levitte
7953b8ff1b
Make better use of load_cert, load_certs and load_key.
2001-06-25 14:23:36 +00:00
Richard Levitte
b1460627f3
Make get_ip() a bit more strict in it's parsing of IP addresses, and
...
at the same time a bit more accepting with host names.
2001-06-25 14:12:45 +00:00
Richard Levitte
5abc8ae6f9
Make better use of load_cert, load_certs and load_key.
2001-06-25 14:00:47 +00:00
Bodo Möller
6a184a6098
Translate into valid C (don't call functions with wrong prototypes).
2001-06-25 10:09:55 +00:00
Richard Levitte
3d5e97f560
Call apps_shutdown() to take down what apps_startup() set up.
2001-06-25 08:35:59 +00:00
Richard Levitte
54c7559a7e
Make sure we don't return 0 on error.
2001-06-24 07:00:41 +00:00
Dr. Stephen Henson
0c9de428ae
In {RSA,DSA,DH}_new_method(x) need to increase the reference
...
count of the ENGINE is x is not NULL since it will be freed
in {RSA,DSA,DH}_free().
2001-06-23 23:07:34 +00:00
Richard Levitte
f13def508c
Use the new UI features, among others the new boolean input.
...
NOTE: Boolean input hasn't been very well tested yet, so this part may
fail miserably.
2001-06-23 16:46:14 +00:00
Richard Levitte
1ae6ddac91
Including stdio.h before setting _XOPEN_SOURCE and
...
_XOPEN_SOURCE_EXTENDED wasn't very smart...
2001-06-23 16:44:15 +00:00
Richard Levitte
55dcfa421c
make update
2001-06-23 16:43:03 +00:00
Richard Levitte
c04f8cf44a
Use apps_shutdown() in all applications, in case someone decides not
...
to go the monolith way (does anyone do that these days?).
NOTE: a few applications are missing in this commit. I've a few more
changes in them that I haven't tested yet.
2001-06-23 16:37:32 +00:00
Richard Levitte
870d986131
apps_startup() needs a corresponding apps_shutdown().
2001-06-23 16:31:41 +00:00
Richard Levitte
4f272c17f5
Make use of new features in UI's. Among others, the application
...
password callbak doesn't need to check for sizes any more.
2001-06-23 16:30:14 +00:00
Richard Levitte
fd3e027faa
Oops, applies to 0.9.7 only.
2001-06-23 16:28:21 +00:00
Richard Levitte
235dd0a22a
Document recent changes.
2001-06-23 16:27:37 +00:00
Richard Levitte
b589977b9e
Do not loop i the OpenSSL UI method any more. Instead, letthe
...
application do that.
NOTE: there's no requirement for other UI_METHODs to avoid this kind
of loop. For example, a GUI UI_METHOD would probably check the
lengths of the answers from within instead of being constantly
redisplayed for everything that is wrong.
2001-06-23 16:25:56 +00:00
Richard Levitte
291e4a6ebe
make update
2001-06-23 16:23:17 +00:00
Richard Levitte
2d2ed9dffd
Implement boolean (yes/no or OK/Cancel, ...) input.
...
Implement UI controls. Current controls are the possibility to output
the OpenSSL error stack on the same channel from within UI_process()
and to check if the same user interface can be redone without being
rebuilt (this is often more a question of philosophy than
technicalities).
2001-06-23 16:22:48 +00:00
Richard Levitte
8ada6e7705
New error printing function that gives the possibility to print the
...
errors through an arbitrary function.
2001-06-23 15:06:17 +00:00
Richard Levitte
7f657f342a
Include the UI error strings.
2001-06-23 15:04:51 +00:00
Richard Levitte
20e8f0ee27
For the UI functions that return an int, 0 or any positive number is a
...
success return, any negative number is a failure. Make sure we check
the return value with that in mind.
2001-06-23 14:51:53 +00:00
Dr. Stephen Henson
429266b7e4
Fix hwcrhk_insert_card.
2001-06-23 12:50:06 +00:00
Dr. Stephen Henson
2c7bc88d78
Fix UI leak in apps.
2001-06-23 12:48:46 +00:00
Dr. Stephen Henson
54f7ebe789
In UI_dup_*() function, use the duped string, not the original.
2001-06-23 11:51:16 +00:00
Dr. Stephen Henson
dd499e74de
Update my config entry to allow use of DSOs.
2001-06-23 11:49:33 +00:00
Andy Polyakov
19a6e8b32c
This fixes "Spurious test failures on IRIX?" reported in April. Apparently
...
I was wrong in conclusions about when addition starts overflowing in combaX
routines.
2001-06-22 19:17:42 +00:00
Dr. Stephen Henson
ed5538dc2b
Fix memory leak when RAND is used: need to cleanup
...
RANDs ENGINE reference in ENGINE_cleanup().
2001-06-21 12:19:10 +00:00
Richard Levitte
b8ffcf49ed
Update my status.
2001-06-20 15:11:15 +00:00
Richard Levitte
eb929eef14
Since there is a way to create UI_METHODs, implement a destructor as
...
well.
This probably requires reference counters and locks as well. To be
implemented later.
2001-06-20 15:00:08 +00:00
Richard Levitte
2cd3ad9bdd
Modify "openssl engine" to handle and display internal control
...
commands appropriately.
2001-06-20 06:35:46 +00:00
Dr. Stephen Henson
323f289c48
Change all calls to low level digest routines in the library and
...
applications to use EVP. Add missing calls to HMAC_cleanup() and
don't assume HMAC_CTX can be copied using memcpy().
Note: this is almost identical to the patch submitted to openssl-dev
by Verdon Walker <VWalker@novell.com > except some redundant
EVP_add_digest_()/EVP_cleanup() calls were removed and some changes
made to avoid compiler warnings.
2001-06-19 22:30:40 +00:00
Dr. Stephen Henson
a45e4a5537
Fix memory leaks.
2001-06-19 17:13:48 +00:00
Richard Levitte
b7fe2f9675
cp is only used when DSA is built.
2001-06-19 16:40:36 +00:00
Richard Levitte
6dcd1c9109
Do a proof of concept. "openssl genrsa" will make the name of the
...
file part of the password prompt unless it's standard input...
More will be added...
2001-06-19 16:34:53 +00:00
Richard Levitte
2fe5adc36c
Change the common application routines to use a UI_METHOD for password
...
prompting, even when done through the callback.
2001-06-19 16:26:30 +00:00
Richard Levitte
839590f576
- Add the possibility to control engines through control names but
...
with arbitrary arguments instead of just a string.
- Change the key loaders to take a UI_METHOD instead of a callback
function pointer. NOTE: this breaks binary compatibility with
earlier versions of OpenSSL [engine].
- Addapt the nCipher code for these new conditions and add a card
insertion callback.
2001-06-19 16:12:18 +00:00
Richard Levitte
e0a8d1f94e
The default flag should be for default passwords only. Otherwise,
...
someone having a default that is not a password will be confused.
2001-06-19 15:54:47 +00:00
Richard Levitte
9ad0f6812f
Enhance the user interface with better support for dialog box
...
prompting, application-defined prompts, the possibility to use
defaults (for example default passwords from somewhere else) and
interrupts/cancelations.
2001-06-19 15:52:00 +00:00
Dr. Stephen Henson
a3376fe8fc
make apps compile again
2001-06-19 00:23:47 +00:00
Dr. Stephen Henson
3cc1f498a1
Don't set pointer if add_lock_callback used.
2001-06-19 00:04:57 +00:00
Richard Levitte
c6c0035ea5
One feature wasn't quite commited yet
2001-06-18 06:30:12 +00:00
Richard Levitte
531d630b5c
Provide an application-common setup function for engines and use it
...
everywhere.
2001-06-18 06:22:33 +00:00
Ben Laurie
853b1eb424
Fix a memory leak (there's another around here somewhere, though).
...
PR:
2001-06-17 14:42:57 +00:00
Ben Laurie
09a2615fb2
Delete a redundant line.
2001-06-16 21:51:26 +00:00
Bodo Möller
285b42756a
pay attention to blocksize before attempting decryption
2001-06-15 18:05:09 +00:00
Bodo Möller
508f15cdab
For MSDOS, the tty filename still is "con", not "/dev/tty" ...
2001-06-11 15:21:33 +00:00
Andy Polyakov
52c0d30078
Get rid of "possible WAW dependency" warnings.
...
Submitted by:
Reviewed by:
PR:
2001-06-11 12:47:52 +00:00
Bodo Möller
10997ee8ab
even use of default engines leaks memory
2001-06-11 09:55:54 +00:00
Bodo Möller
8a774dc9a6
Add directory name to the entry on /crypto/ui/.
2001-06-11 09:55:20 +00:00
Bodo Möller
200bc9e3e8
Earlier OpenSSL versions printed prompts to stderr.
...
In the new crypto/ui/, this was changed into tty (which is usually
/dev/tty), i.e. the FILE * used for reading passwords from the user.
However stdio buffering for read/write streams is not without pitfalls
(passwords would be echoed on some systems).
To avoid problems, split tty into tty_in and tty_out (which are
opened separately).
2001-06-11 09:54:28 +00:00
Dr. Stephen Henson
7dd0ee0495
Make update
2001-06-11 00:48:09 +00:00
Dr. Stephen Henson
76569fc662
Initialize UI ex_data.
2001-06-11 00:45:33 +00:00
Dr. Stephen Henson
f2a253e0dd
Add support for MS CSP Name PKCS#12 attribute.
2001-06-11 00:43:20 +00:00
Ulf Möller
0ad0eaf61c
more error codes fixed
2001-06-08 14:16:39 +00:00
Lutz Jänicke
47b0f48dd9
ERR_peek_error() returns "unsigned long".
2001-06-07 17:20:50 +00:00
Richard Levitte
44e48abc44
Use memmove() instead of memcpy() on areas that may overlap.
...
Spotted by Nalin Dahyabhai <nalin@redhat.com >
2001-06-07 04:42:34 +00:00
Richard Levitte
f420de027f
Don't forget to initialise.
2001-06-06 23:12:41 +00:00
Bodo Möller
ecf186065c
OAEP fix
2001-06-06 21:44:28 +00:00
Bodo Möller
20e021bf41
when checking OAEP, signal just a single kind of 'decoding error'
2001-06-06 18:48:49 +00:00
Ulf Möller
8ca2ae775d
move check to avoid memory leak.
2001-06-06 17:23:23 +00:00
Ulf Möller
ee8aa8217a
make sure we don't write to seed[-1]
2001-06-06 17:17:53 +00:00
Richard Levitte
2b49dd1e8f
'make update'
2001-06-05 20:32:36 +00:00
Richard Levitte
30a54b9085
Defining __USE_XOPEN_EXTENDED was the wrong thing. Instead, define
...
_XOPEN_SOURCE.
2001-06-05 20:29:26 +00:00
Richard Levitte
1e7e62f8cd
A good use of the UI interface is as a password callback replacement
...
(for new functions...). One might still want to be able to pass down
a user-data pointer to be used by the UI. However, ex_data doesn't
quite cut it, since that means the appropriate index to it might need
to be shared between parts that aren't really related in that sense,
and would require the currently hidden (static) index holders to be
uncovered. Not a good thing. Therefore, add the possibility to add a
user-data pointer to a UI.
2001-06-05 19:05:52 +00:00
Richard Levitte
5352823fbf
Small detail about AIX forgotten...
2001-06-05 04:41:57 +00:00
Richard Levitte
20251f01ea
Accept digits in symbol names. Spotted by Brian Havard <brianh@kheldar.apana.org.au>
2001-06-04 16:34:31 +00:00
Richard Levitte
528f6b81db
More info on SRP.
2001-06-04 16:23:15 +00:00
Richard Levitte
27bfba299e
Added more info in SRP.
2001-06-04 06:51:43 +00:00
Richard Levitte
1690863acc
Confusion between algorithms resolved.
2001-06-01 15:30:13 +00:00
Richard Levitte
397211323c
nCipher callbacks shall return 0 on success, something else otherwise.
2001-06-01 15:29:32 +00:00
Richard Levitte
a87f50fb5a
Stop mishandling the type number in dynlock locking
2001-06-01 15:21:01 +00:00
Bodo Möller
31bc51c8cf
Fix Bleichenbacher PKCS #1 1.5 countermeasure.
...
(The attack against SSL 3.1 and TLS 1.0 is impractical anyway,
otherwise this would be a security relevant patch.)
2001-06-01 09:41:25 +00:00
Bodo Möller
be487c429e
increase DEFAULT_BUFFER_SIZE (4K instead of just 1K)
2001-06-01 08:38:29 +00:00
Richard Levitte
80340f1fe9
Don't decrement the reference counter twice when destroying dynamic
...
links.
2001-05-31 22:25:30 +00:00
Geoff Thorpe
d918f85146
Fix a memory leak in 'sk_dup' in the case a realloc() fails. Also, tidy up
...
a bit of weird code in sk_new.
2001-05-31 19:01:08 +00:00
Andy Polyakov
a95541d61e
Get rid of RAW dependency warnings.
...
Submitted by:
Reviewed by:
PR:
2001-05-30 22:01:33 +00:00
Richard Levitte
30b4c2724e
Extend all the loading functions to take an engine pointer, a pass
...
string (some engines may have certificates protected by a PIN!) and
a description to put into error messages.
Also, have our own password callback that we can send both a password
and some prompt info to. The default password callback in EVP assumes
that the passed parameter is a password, which isn't always the right
thing, and the ENGINE code (at least the nCipher one) makes other
assumptions...
Also, in spite of having the functions to load keys, some utilities
did the loading all by themselves... That's changed too.
2001-05-30 15:29:28 +00:00
Richard Levitte
2adc929367
A wish was expressed.
2001-05-30 14:59:14 +00:00
Lutz Jänicke
7e97837274
Don't forget responsible person so that its clear who is to blame.
2001-05-29 13:52:21 +00:00
Andy Polyakov
4cb73bf8e4
Assembler support for IA-64. See the source code commentary for further
...
details (performance numbers and accompanying discussions:-). Note that
the code is not engaged in ./Configure yet. I'll add it later this week
along with updates for .spec file.
Submitted by:
Reviewed by:
PR:
2001-05-28 20:02:51 +00:00
Richard Levitte
79bb8d0077
Document the latest change in ENGINEs.
2001-05-26 16:58:34 +00:00
Richard Levitte
6c1a3e4f58
We had the password callback for ENGINEs pretty much wrong. And
...
passwords that were given to the key loading functions were completely
ignored, at least in the ncipher code, and then we made the assumption
that the callback wanted a prompt as user argument.
All that is now changed, and the application author is forced to give
a callback function of type pem_callback_cb and possibly an argument
for it, just as for all other functions that want to generate password
prompting.
NOTE: this change creates binary and source incompatibilities with
previous versions of OpenSSL [engine]. It's worth it this time, to
get it right (or at least better and with a chance that it'll work).
2001-05-25 21:08:56 +00:00
Dr. Stephen Henson
76c919c1a3
Add missing variable length cipher flag for Blowfish.
...
Only use trust settings if either trust or reject settings
are present, otherwise use compatibility mode. This stops
root CAs being rejected if they have alias of keyid set.
2001-05-24 22:58:35 +00:00
Richard Levitte
98405f240b
VMS doesn't support more than on period in a file name
2001-05-22 12:47:38 +00:00
Dr. Stephen Henson
181355616e
Add examples to EVP_EncryptInit manual page.
2001-05-17 13:03:20 +00:00
Dr. Stephen Henson
b49a5b2dc0
Fix for new UI functions under Win32.
...
For some unknown reason fopen("con", "w") is the
only way to make this work. Using "r+" and "w+"
causes the fopen call to fail and the fallback
(using stdin) doesn't work because writing to stdin
fails.
2001-05-17 11:47:08 +00:00
Richard Levitte
713f226114
Add a requirements section for OpenVMS.
2001-05-17 04:21:00 +00:00
Richard Levitte
d57d85ff35
Add a few more details on what one might need. make and a development
...
environment were a part of a Unix operating systems, but these days
you see an increasing number of installations that do not necessarely
have these crucial parts by default, so it's needs mentioning.
2001-05-17 04:16:19 +00:00
Lutz Jänicke
74daa124c2
Add missing item(s) SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT.
2001-05-16 09:43:51 +00:00
Richard Levitte
b8e35bd66e
New internal function OPENSSL_gmtime, which is intended to do the same
...
as gmtime_r() on the systems where that is defined.
2001-05-16 08:44:09 +00:00
Lutz Jänicke
e8734731d3
Increase ENTROPY_NEEDED to support Rijndael's larger key size.
2001-05-15 16:02:35 +00:00
Richard Levitte
9e0fcabeca
Do not forget to increment the pointers...
2001-05-15 15:49:54 +00:00
Richard Levitte
6482dec1bb
Low-case the names of the system routines, since some versions of
...
DEC C only have them declared that way (it doesn't really matter,
since the linker is case-insensitive by default)
2001-05-15 05:15:47 +00:00
Richard Levitte
81b5eeed6a
branch on equal is beql, not beq...
2001-05-14 22:10:09 +00:00
Richard Levitte
365359dd79
Make sure strdup() is properly declared.
2001-05-14 12:23:28 +00:00
Richard Levitte
2757be06de
Make sure memset() is properly declared.
2001-05-14 12:22:58 +00:00
Richard Levitte
d0afe49d3e
ui was forgotten when installing libcrypto and it's headers.
2001-05-14 12:22:27 +00:00
Richard Levitte
81b31b7087
ui_compat.h was forgotten in the "symlinking" routine.
2001-05-14 12:21:16 +00:00
Richard Levitte
2643b122fc
Remove the password reading objects from LIB_DES.
2001-05-14 11:59:02 +00:00
Richard Levitte
88db657ac2
Make more short aliases for symbols that are longer than 31
...
characters.
2001-05-14 11:58:08 +00:00
Richard Levitte
1f0af2c073
len is a size_t, which is an unsigned integer. Therefore, some
...
compilers will complain against the check for less than zero.
2001-05-14 11:56:47 +00:00
Richard Levitte
2ed2d1515e
Use ui_compat.h to get the password reading functions.
2001-05-14 11:54:36 +00:00
Richard Levitte
bb5b16a36c
Make it so the compiler doesn't inform me about the dollars in some
...
symbols.
2001-05-14 11:53:37 +00:00
Lutz Jänicke
5892855c5f
Typos.
2001-05-14 09:52:44 +00:00
Lutz Jänicke
a6e859e9ec
One more point to clarify, pointed out by "Greg Stark" <ghstark@pobox.com>
2001-05-14 09:02:38 +00:00
Richard Levitte
99c65cef0f
It seems like the removal of "extern" before "static" wasn't a
...
mistake.
2001-05-13 17:55:30 +00:00
Richard Levitte
496da8b918
Document the addition.
2001-05-13 10:37:02 +00:00
Richard Levitte
739862384c
A randomizer for OpenVMS, using the statistics that are easily
...
reachable.
It's completely untested for now. To be done in the next few days.
2001-05-13 10:34:18 +00:00
Richard Levitte
0a647c2b8b
Define `ok' and better error detection.
2001-05-13 05:34:39 +00:00
Richard Levitte
429e4f0de8
make update
2001-05-13 05:16:58 +00:00
Richard Levitte
2d10c7156c
Win16 too :-).
2001-05-13 05:01:58 +00:00
Richard Levitte
299053becd
des_read_password() and des_read_2passwords() can only appear if DES
...
is compiled.
2001-05-13 04:59:09 +00:00
Richard Levitte
1449bda052
When doing rewrites on ssleay.num, the file was prematurely closed.
...
Make rewrites the default, since it works, and people get confused if
changed information doesn't get rewritten automagically.
2001-05-13 04:48:07 +00:00
Richard Levitte
56bb1a7c83
Move the password reading functions completely away from the DES
...
section.
Add ui_compat.h for inclusion by those who want the old functions and
provide all of them, not just the higher-level ones, in ui_compat.c.
2001-05-13 04:40:44 +00:00
Richard Levitte
96aaf806d8
Put back a removed "extern", or many compilers will complain about
...
redefined variables.
2001-05-13 04:34:57 +00:00
Dr. Stephen Henson
d70e5100c0
#if 0 out deleted (?) functions to stop Win32 DLL
...
build falling over.
2001-05-13 00:33:55 +00:00
Dr. Stephen Henson
4831e626aa
Change Win32 to use EXPORT_VAR_AS_FN.
...
Fix OPENSSL_IMPLEMENT_GLOBAL.
Allow Win32 to use EXPORT_VAR_AS_FN in mkdef.pl
make update.
2001-05-12 23:57:41 +00:00
Lutz Jänicke
33ab4699ba
Clarify behaviour with respect to SSL/TLS records.
2001-05-12 09:49:02 +00:00
Dr. Stephen Henson
595cc5b4b8
Under VC++ _DLL is set to indicate that the application
...
will be linked against the DLL runtime library. It is
automatically set when /MD is used.
As a result OpenSSL shouldn't use _DLL to determine if
it should set OPENSSL_OPT_WINDLL because this will
cause linkage conflicts with static builds which do
include the /MD compiler switch.
2001-05-12 00:16:56 +00:00
Dr. Stephen Henson
29fb08c2de
Typo.
2001-05-12 00:09:04 +00:00
Richard Levitte
7babdf2029
e_os2.h defines things like OPENSSL_SYS_MSDOS, not opensslconf.h...
...
(basically: whooops :-))
2001-05-11 11:20:26 +00:00
Lutz Jänicke
4b3270f78e
Clarify behaviour of SSL_write() by mentioning SSL_MODE_ENABLE_PARTIAL_WRITE
...
flag as discussed on the mailing list.
2001-05-11 09:53:10 +00:00
Lutz Jänicke
3351b8d007
Update changelog to reflect additional changes made to the egd-locations.
2001-05-10 09:45:31 +00:00
Bodo Möller
4b49bf6a93
restore change undone in 1.831 (apparently by accident)
2001-05-10 09:33:18 +00:00
Dr. Stephen Henson
926a56bfe3
Purpose and trust setting functions for X509_STORE.
...
Tidy existing code.
2001-05-10 00:13:59 +00:00
Dr. Stephen Henson
d6f188be71
Fix warning with DEBUG_SAFESTACK
2001-05-10 00:09:43 +00:00
Dr. Stephen Henson
016cadfb54
Fix to allow multiple NONE libraries in mkerr.pl .
2001-05-10 00:07:45 +00:00
Dr. Stephen Henson
bdee69f718
Allow various X509_STORE_CTX properties to be
...
inherited from X509_STORE.
Add CRL checking options to other applications.
2001-05-09 00:30:39 +00:00
Bodo Möller
ff43e2e155
fix an old entry
2001-05-08 12:45:55 +00:00
Richard Levitte
f53948856e
There is no uitest
2001-05-08 04:23:25 +00:00
Richard Levitte
14056ee2ee
Don't forget crypto/ui...
2001-05-08 04:09:19 +00:00
Dr. Stephen Henson
b545dc6775
Initial CRL based revocation checking.
2001-05-07 22:52:50 +00:00
Richard Levitte
027902999e
Clarify the license and copyright, make preprocessor dirctives a
...
little bit clearer and use the new OPENSSL_SYS_* macros.
2001-05-07 06:33:35 +00:00
Richard Levitte
9a310a5d4e
make update
2001-05-06 23:51:37 +00:00
Richard Levitte
a63d5eaab2
Add a general user interface API. This is designed to replace things
...
like des_read_password and friends (backward compatibility functions
using this new API are provided). The purpose is to remove prompting
functions from the DES code section as well as provide for prompting
through dialog boxes in a window system and the like.
2001-05-06 23:19:37 +00:00
Ulf Möller
6af59bc095
the backslash is significant...
2001-05-04 15:03:59 +00:00
Bodo Möller
24cc290b85
.rnd issues
2001-05-03 09:27:43 +00:00
Bodo Möller
8e264a933f
bctest changes for Ultrix (don't return 1 from bctest, otherwise make aborts)
2001-05-03 08:50:27 +00:00
Richard Levitte
f0b54fefe9
Some platforms (most notably Windows) do not have a $HOME by default.
...
For those, unless the environment variables RANDFILE or HOME are
defined (the default case!), RAND_file_name() will return NULL.
This change adds a default HOME for those platforms.
To add a default HOME for any platform, just define DEFAULT_HOME in
the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
2001-05-03 07:50:11 +00:00
Richard Levitte
cf2d9e09b3
Add support for Sun C on Solaris x86. Contributed by Ben <mouring@etoh.eviladmin.org>
2001-05-03 06:14:47 +00:00
Richard Levitte
d02408ad8a
Remove part conflict indicator...
2001-05-02 07:15:03 +00:00
Geoff Thorpe
7ae551fd03
In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
...
ENGINE code does not return a default, set an error.
2001-04-30 15:24:41 +00:00
Dr. Stephen Henson
c2e45f6ddf
Win32 fixes:
...
define LLONG properly for VC++.
stop compiler complaining about signed/unsigned mismatch in apps/engine.c
2001-04-29 16:30:59 +00:00
Richard Levitte
f9a4ad4fa6
A method to create shared libraries on AIX, and according to
...
"Howard Chu" <hyc@highlandsun.com >, it may be general enough
to work on any Unixly system.
2001-04-27 21:33:44 +00:00
Richard Levitte
10645a4f13
make update
2001-04-27 08:59:00 +00:00
Geoff Thorpe
06cb0353e5
For some inexplicable reason, I'd (a) left the debugging irreversibly
...
turned on, and (b) left a somewhat curious debugging string in the output.
2001-04-27 00:31:21 +00:00
Geoff Thorpe
b41f836e5f
Some fixes to the reference-counting in ENGINE code. First, there were a
...
few statements equivalent to "ENGINE_add(ENGINE_openssl())" etc. The inner
call to ENGINE_openssl() (as with other functions like it) orphans a
structural reference count. Second, the ENGINE_cleanup() function also
needs to clean up the functional reference counts held internally as the
list of "defaults" (ie. as used when RSA_new() requires an appropriate
ENGINE reference). So ENGINE_clear_defaults() was created and is called
from within ENGINE_cleanup(). Third, some of the existing code was
logically broken in its treatment of reference counts and locking (my
fault), so the necessary bits have been restructured and tidied up.
To test this stuff, compiling with ENGINE_REF_COUNT_DEBUG will cause every
reference count change (both structural and functional) to log a message to
'stderr'. Using with "openssl engine" for example shows this in action
quite well as the 'engine' sub-command cleans up after itself properly.
Also replaced some spaces with tabs.
2001-04-26 23:04:30 +00:00
Richard Levitte
26a81abffc
Make proper use of all disabling variables.
2001-04-26 21:02:57 +00:00
Geoff Thorpe
ab03b0df4c
"make update"
2001-04-26 20:56:30 +00:00
Geoff Thorpe
e5a77633cf
Make notes about ENGINE changes.
2001-04-26 20:42:12 +00:00
Richard Levitte
6f8a82c7af
Linux shared libraries can be linked with debug symbols.
...
Tru64 shared libraries can be linked with static libraries.
2001-04-26 20:17:59 +00:00
Richard Levitte
7a7f47ea80
make update
2001-04-26 19:45:31 +00:00
Geoff Thorpe
0ce5f3e4f5
This adds 2 things to the ENGINE code.
...
* "ex_data" - a CRYPTO_EX_DATA structure in the ENGINE structure itself
that allows an ENGINE to store its own information there rather than in
global variables. It follows the declarations and implementations used
in RSA code, for better or worse. However there's a problem when storing
state with ENGINEs because, unlike related structure types in OpenSSL,
there is no ENGINE-vs-ENGINE_METHOD separation. Because of what ENGINE
is, it has method pointers as its structure elements ... which leads
to;
* ENGINE_FLAGS_BY_ID_COPY - if an ENGINE should not be used just as a
reference to an "implementation" (eg. to get to a hardware device), but
should also be able to maintain state, then this flag can be set by the
ENGINE implementation. The result is that any call to ENGINE_by_id()
will not result in the existing ENGINE being returned (with its
structural reference count incremented) but instead a new copy of the
ENGINE will be returned that can maintain its own state independantly of
any other copies returned in the past or future. Eg. key-generation
might involve a series of ENGINE-specific control commands to set
algorithms, sizes, module-keys, ids, ACLs, etc. A final command could
generate the key. An ENGINE doing this would *have* to declare
ENGINE_FLAGS_BY_ID_COPY so that the state of that process can be
maintained "per-handle" and unaffected by other code having a reference
to the same ENGINE structure.
2001-04-26 19:35:44 +00:00
Richard Levitte
21023745e2
Clean up ENGINE before exiting.
2001-04-26 16:08:10 +00:00
Richard Levitte
a679116f6f
Provide the possibility to clean up internal ENGINE structures. This
...
takes care of what would otherwise be seen as a memory leak.
2001-04-26 16:07:08 +00:00
Richard Levitte
3988bb34aa
gcc warns when certain values of an enumeration aren't taken care of,
...
unless there's a default clause.
2001-04-26 15:53:42 +00:00
Richard Levitte
9e78e6c3f8
Check for OPENSSL_NO_RSA, OPENSSL_NO_DSA and OPENSSL_NO_DH and disable
...
appropriate code if any of them is defined.
2001-04-26 15:45:12 +00:00
Richard Levitte
3caff6092a
engine.h includes all the needed header files, so don't do it again
...
here.
2001-04-26 15:04:22 +00:00
Richard Levitte
0d96bf8950
We shouldn't skip over header files to avoid functions of disabled algorithms. The selection is done in a different way
2001-04-26 12:01:12 +00:00
Richard Levitte
91dc71f98d
User OPENSSL_UNISTD instead of <unistd.h>.
...
Spotted by Mark Crispin <MRC@Panda.COM >
2001-04-26 08:26:18 +00:00
Geoff Thorpe
b7b6c047ca
This change to the "dl", "dlfcn", and "win32" DSO_METHODs adds the filename
...
or symbol name to the error stack in the event a load or bind operation
failed.
2001-04-25 22:40:55 +00:00
Lutz Jänicke
0ea659475c
Typo (reported by Petr Lancaric <Petr.Lancaric@ips-ag.cz>)
2001-04-25 15:24:47 +00:00
Geoff Thorpe
1e20bb0648
Make update.
2001-04-22 17:21:19 +00:00
Dr. Stephen Henson
c962479bdf
Fix ASN1 bug when decoding OTHER type.
...
Various S/MIME DSA related fixes.
2001-04-21 12:06:01 +00:00
Richard Levitte
b31ccc362c
Script to create shareable images (shared libraries in Unixly terms)
...
on VMS.
2001-04-20 13:09:10 +00:00
Richard Levitte
0cd5866726
VMS was behind when it comes to OCSP.
2001-04-20 12:37:14 +00:00
Geoff Thorpe
2a8a10eda6
Add notes about the new ENGINE functionality.
2001-04-19 23:06:00 +00:00
Geoff Thorpe
f11bc84080
Changes to "openssl engine" to support the new control command code in
...
ENGINE.
* Extra verbosity can be added with more "v"'s, eg. '-vvv' gives
information about input flags and descriptions for each control command
in each ENGINE. Check the output of "openssl engine -vvv" for example.
* '-pre <cmd>' and '-post <cmd>' can be used to invoke control commands on
the specified ENGINE (or on all of them if no engine id is specified,
although that usually gets pretty ugly). '-post' commands are only
attempted if '-t' is specified and the engine successfully initialises.
'-pre' commands are always attempted whether or not '-t' causes an
initialisation to be tried afterwards. Multiple '-pre' and/or '-post'
commands can be specified and they will be called in the order they
occur on the command line.
Parameterised commands (the normal case, there are currently no
unparameterised ones) are split into command and argument via a separating
colon. Eg. "openssl engine -pre SO_PATH:/lib/libdriver.so <id>" results in
the call;
ENGINE_ctrl_cmd_string(e, "SO_PATH", "/lib/libdriver.so", 0);
Application code should similarly allow arbitrary name-value string pairs
to be passed into ENGINEs in a manner matching that in apps/engine.c,
either using the same colon-separated format, or entered as two distinct
strings. Eg. as stored in a registry. The last parameter of
ENGINE_ctrl_cmd_string can be changed from 0 to 1 if the command should
only be attempted if it's supported by the specified ENGINE (eg. for
commands like "FORK_CHECK:1" that may or may not apply to the run-time
ENGINE).
2001-04-19 02:08:26 +00:00
Geoff Thorpe
e2f3ae1252
Some more tweaks to ENGINE code.
...
This change adds some basic control commands to the existing ENGINEs
(except the software 'openssl' engine). All these engines currently load
shared-libraries for hardware APIs, so they've all been given "SO_PATH"
commands that will configure the chosen ENGINE to load its shared library
from the given path. Eg. by calling;
ENGINE_ctrl_cmd_string(e, "SO_PATH", <path>, 0).
The nCipher 'chil' ENGINE has also had "FORK_CHECK" and "THREAD_LOCKING"
commands added so these settings could be handled via application-level
configuration rather than in application source code.
Changes to "openssl engine" to test and examine these control commands will
be made shortly. It will also provide the necessary tips to application
programs wanting to support these dynamic control commands.
2001-04-19 01:45:40 +00:00
Geoff Thorpe
40fcda292f
Some BIG tweaks to ENGINE code.
...
This change adds some new functionality to the ENGINE code and API to
make it possible for ENGINEs to describe and implement their own control
commands that can be interrogated and used by calling applications at
run-time. The source code includes numerous comments explaining how it all
works and some of the finer details. But basically, an ENGINE will normally
declare an array of ENGINE_CMD_DEFN entries in its ENGINE - and the various
new ENGINE_CTRL_*** command types take care of iterating through this list
of definitions, converting command numbers to names, command names to
numbers, getting descriptions, getting input flags, etc. These
administrative commands are handled directly in the base ENGINE code rather
than in each ENGINE's ctrl() handler, unless they specify the
ENGINE_FLAGS_MANUAL_CMD_CTRL flag (ie. if they're doing something clever or
dynamic with the command definitions).
There is also a new function, ENGINE_cmd_is_executable(), that will
determine if an ENGINE control command is of an "executable" type that
can be used in another new function, ENGINE_ctrl_cmd_string(). If not, the
control command is not supposed to be exposed out to user/config level
access - eg. it could involve the exchange of binary data, returning
results to calling code, etc etc. If the command is executable then
ENGINE_ctrl_cmd_string() can be called using a name/arg string pair. The
control command's input flags will be used to determine necessary
conversions before the control command is called, and commands of this
form will always return zero or one (failure or success, respectively).
This is set up so that arbitrary applications can support control commands
in a consistent way so that tweaking particular ENGINE behaviour is
specific to the ENGINE and the host environment, and independant of the
application or OpenSSL.
Some code demonstrating this stuff in action will applied shortly to the
various ENGINE implementations, as well as "openssl engine" support for
executing arbitrary control commands before and/or after initialising
various ENGINEs.
2001-04-19 00:41:55 +00:00
Geoff Thorpe
59bc3126c5
Some more tweaks to ENGINE code.
...
The existing ENGINEs (including the default 'openssl' software engine) were
static, declared inside the source file for each engine implementation. The
reason this was not going boom was that all the ENGINEs had reference
counts that never hit zero (once linked into the internal list, each would
always have at least 1 lasting structural reference).
To fix this so it will stay standing when an "unload" function is added to
match ENGINE_load_builtin_engines(), the "constructor" functions for each
ENGINE implementation have been changed to dynamically allocate and
construct their own ENGINEs using API functions. The other benefit of this
is that no ENGINE implementation has to include the internal "engine_int.h"
header file any more.
2001-04-18 21:46:00 +00:00
Geoff Thorpe
4d6115a5cc
Make a note of the recent ENGINE developments.
2001-04-18 21:12:02 +00:00
Bodo Möller
3a25b96caf
typo
2001-04-18 15:11:42 +00:00
Bodo Möller
6e6d04e29a
fix md_rand.c locking bugs
2001-04-18 15:07:35 +00:00
Geoff Thorpe
48ff225300
Make the shared library name and function symbol for the "nuron" ENGINE
...
static data where they could be parameterised by ctrl() commands.
2001-04-18 04:47:01 +00:00
Geoff Thorpe
a4a9d97a3e
Some more tweaks from ENGINE code.
...
Previously RAND_get_rand_method was returning a non-const pointer, but it
should be const. As with all other such cases, METHOD pointers are stored and
returned as "const". The only methods one should be able to alter are methods
"local" to the relevant code, in which case a non-const handle to the methods
should already exist.
This change has been forced by the constifying of the ENGINE code (before
which RAND_METHOD was the only method pointer in an ENGINE structure that was
not constant).
2001-04-18 04:18:16 +00:00
Geoff Thorpe
404f952aa3
Some more tweaks to ENGINE code.
...
ENGINE handler functions should take the ENGINE structure as a parameter -
this is because ENGINE structures can be copied, and like other
structure/method setups in OpenSSL, it should be possible for init(),
finish(), ctrl(), etc to adjust state inside the ENGINE structures rather
than globally. This commit includes the dependant changes in the ENGINE
implementations.
2001-04-18 03:57:05 +00:00
Geoff Thorpe
dcd87618ab
Some more tweaks to ENGINE code.
...
Previous changes permanently removed the commented-out old code for where
it was possible to create and use an ENGINE statically, and this code gets
rid of the ENGINE_FLAGS_MALLOCED flag that supported the distinction with
dynamically allocated ENGINEs. It also moves the area for ENGINE_FLAGS_***
values from engine_int.h to engine.h - because it should be possible to
declare ENGINEs just from declarations in exported headers.
2001-04-18 03:03:16 +00:00
Geoff Thorpe
d54bf14559
Some more tweaks to ENGINE code.
...
* Constify the get/set functions, and add some that functions were missing.
* Add a new 'ENGINE_cpy()' function that will produce a new ENGINE based
copied from an original (except for the references, ie. the new copy will
be like an ENGINE returned from 'ENGINE_new()' - a structural reference).
* Removed the "null parameter" checking in the get/set functions - it is
legitimate to set NULL values as a way of *changing* an ENGINE (ie.
removing a handler that previously existed). Also, passing a NULL pointer
for an ENGINE is obviously wrong for these functions, so don't bother
checking for it. The result is a number of error codes and strings could
be removed.
2001-04-18 02:01:36 +00:00
Geoff Thorpe
ea3a429efe
Structural references should never be decremented directly - so leave that
...
to ENGINE_free(). Also, remove "#if 0" code that has no useful future.
2001-04-18 01:07:28 +00:00
Geoff Thorpe
e3f1223fe4
This moves string constants out of vendor headers and into C files.
2001-04-18 00:43:23 +00:00
Geoff Thorpe
7ef6e3fe2f
'make update'
2001-04-17 23:53:58 +00:00
Lutz Jänicke
197322455d
Clarify request of client certificates. This is a FAQ.
2001-04-17 13:18:56 +00:00
Ben Laurie
4f19a0672b
Fix warning.
2001-04-16 03:00:57 +00:00
Lutz Jänicke
854e076df8
Constify (Jason Molenda <jason@molenda.com>)
2001-04-14 14:50:02 +00:00
Lutz Jänicke
cb2a0e1319
Missing link ("Greg Stark" <gstark@ethentica.com>)
2001-04-12 21:11:31 +00:00
Lutz Jänicke
638b0d4277
Fix wrong information with respect to CAs listed to the client
...
(follows from technical discussion with Amit Chopra <amitc@pspl.co.in >).
2001-04-12 16:02:34 +00:00
Bodo Möller
f2346808de
update so that changes going into the 0.9.6 tree can be logged
2001-04-12 12:42:20 +00:00
Bodo Möller
d7818facb9
undo previous change ...
2001-04-12 12:03:41 +00:00
Bodo Möller
bcf95a2183
update from 0.9.6a
2001-04-12 12:01:47 +00:00
Lutz Jänicke
f7181a9179
Typo (Jun-ichiro itojun Hagino <itojun@iijlab.net>)
2001-04-12 11:45:42 +00:00
Richard Levitte
9237ba8b66
Correct typo.
2001-04-11 14:14:54 +00:00
Richard Levitte
95874603b0
Add -keyform.
2001-04-11 14:11:55 +00:00
Richard Levitte
ed2e24d564
Show an example of moving the emailAddress object from the subkect DN
...
to subjectAltName when signing a certificate.
2001-04-11 13:04:20 +00:00
Richard Levitte
c9fd77e9dd
Make it possible to move the emailAddress object to the subjectAltName
...
extension instead of just copying it. That makes a certificate comply
even more with PKIX recommendations according to RFC 2459.
2001-04-11 12:55:06 +00:00
Bodo Möller
a9d2bc4902
Add information on 0.9.6a (in a form such that the list can be
...
verified by looking at 'diff -u ../openssl-0.9.6a/CHANGES CHANGES')
2001-04-11 10:35:38 +00:00
Richard Levitte
c3bdbcf639
NetBSD and OpenBSD use TOD as well
2001-04-11 10:06:02 +00:00
Bodo Möller
d9a770e6ea
Mention automatically queried EGD sockets (OpenSSL 0.9.7).
...
0.9.5 is obsolete, so we don't have to discuss its 'openssl rsa'
seeding bug.
2001-04-10 07:59:43 +00:00
Lutz Jänicke
35feed50f0
Some clarifications about $RANDFILE usage.
2001-04-09 16:01:38 +00:00
Lutz Jänicke
a116afa42e
OpenSSH 1.2.2p1 is dead and gone. Errors detecting the OpenSSL library
...
are however still common and are solved by checking config.log.
2001-04-09 15:55:58 +00:00
Richard Levitte
b4542fb307
Correct info in the FAQ.
2001-04-09 14:17:26 +00:00
Bodo Möller
1f224bf029
Adjust BN_mod_inverse algorithm selection according to experiments on
...
Ultra-Sparcs (both 32-bit and 64-bit compilations)
2001-04-09 09:28:24 +00:00
Bodo Möller
4d231b4359
update (0.9.6a)
2001-04-09 07:15:16 +00:00
Bodo Möller
ac0f1d0b14
comment
2001-04-08 18:47:23 +00:00
Bodo Möller
124d8cf701
code documentation
2001-04-08 18:41:35 +00:00
Bodo Möller
7d0d0996aa
binary algorithm for modular inversion
2001-04-08 18:23:44 +00:00
Bodo Möller
9cddbf14db
avoid '||' since Ultrix apparently doesn't understand it
2001-04-08 18:22:53 +00:00
Bodo Möller
5f1fddbbe7
'||', '&&' and 'test -x' apparently don't work on Ultrix;
...
also 'test' appears to be available as '[' only in 'if' conditions.
2001-04-08 13:49:45 +00:00
Bodo Möller
027e257b1d
Avoid assert() in the library.
2001-04-08 13:47:51 +00:00
Lutz Jänicke
93f117003e
Add forgotten "-passin" option to smime.c usage help.
2001-04-08 10:51:14 +00:00
Richard Levitte
42748c084e
Resize a local buffer to accomodate the size requirements of AES.
...
Protect against future mistakes with an assert().
2001-04-08 05:41:42 +00:00
Richard Levitte
77dd9c1850
Add the possibility to have AES removed in Windows as well.
...
Spotted by Harald Koch <chk@pobox.com >
2001-04-08 04:35:58 +00:00
Bodo Möller
83d968df60
Don't use 'tt' uninitialized when reporting an error
...
(we don't have an ASN1_TEMPLATE to complain about at this stage,
so errtt == NULL should be OK)
2001-04-05 11:40:16 +00:00
Richard Levitte
4ac881ede3
Fix couple of memory leaks in PKCS7_dataDecode().
...
(provided by Stephen)
2001-04-05 10:19:12 +00:00
Richard Levitte
ccd2cd3e64
Unixware config.
2001-04-05 10:09:53 +00:00
Bodo Möller
6186ef9338
don't use shell functions
2001-04-04 16:26:31 +00:00
Richard Levitte
6bcac6e578
Correct a typo. linux != linus.
2001-04-04 16:03:00 +00:00
Richard Levitte
967d95f096
Incorporate some changes that make OpenSSL compilable in CygWin.
2001-04-04 15:50:30 +00:00
Richard Levitte
26c7750827
Since vms.mar handles 32-bit integers, do not use it on Alpha, that's
...
just a slowdown.
2001-04-04 13:52:56 +00:00
Richard Levitte
5a16d270ab
OpenVMS/Alpha should use 64 bits. If nothing else, there's
...
performance to gain.
2001-04-04 13:51:35 +00:00
Richard Levitte
3a465d5ec9
Make do_bsd-gcc-shared depend on do_gnu-shared instead of the non-existent linux-shared
2001-04-04 04:24:24 +00:00
Bodo Möller
413a4a0461
Fix warnings.
2001-04-03 14:03:47 +00:00
Bodo Möller
a95d2c5133
Make sure OPENSSL_SYS_... is defined when we need it.
2001-04-03 14:03:19 +00:00
Bodo Möller
1876cc32ae
This change should be suitable as a workaround for the Solaris x86
...
compiler bug reported in <01032110293775.22278@weba3.iname.net >
(the '++seq[i]' condition is evaluated as 256 rather than 0
when the previous value is 255).
2001-04-03 13:50:30 +00:00
Richard Levitte
4e2a08ddd4
Plug a memory leak. Spotted by "Shijin" <shijin@comex.com>
2001-04-03 09:42:36 +00:00
Richard Levitte
61e2c34a10
Reports on Windows, DG-UX and older OpenVMS.
2001-04-03 09:02:07 +00:00
Richard Levitte
e56b54a376
libfisdef.h and LIB do not exist on older VMS versions
2001-04-03 08:31:39 +00:00
Richard Levitte
0da945bb20
Remove a typo in dgux-R4-gcc.
2001-04-03 08:05:03 +00:00
Geoff Thorpe
69443d0da0
ENGINE_load_[private|public]_key had error handling that could return
...
without releasing a lock. This is the same fix as applied to
OpenSSL-engine-0_9_6-stable, minus the ENGINE_ctrl() change - the HEAD
already had that fixed.
2001-04-02 17:47:16 +00:00
Geoff Thorpe
e4dc18d7e5
Actually there were two error cases that could return without releasing the
...
lock - stupidly, my last change addressed only one of them.
2001-04-02 17:21:36 +00:00
Geoff Thorpe
3f86a2b147
Don't return an error until the global lock is released.
2001-04-02 17:06:36 +00:00
Richard Levitte
fd664b9fc6
Reports on VMS.
2001-04-02 14:39:20 +00:00
Dr. Stephen Henson
722ca2781c
Rewrite CHOICE field setting code to properly handle
...
combine in CHOICE options.
This was causing d2i_DSAPublicKey() to misbehave.
2001-04-02 00:59:19 +00:00
Richard Levitte
1c72eebf89
A few more reports.
2001-04-01 15:18:35 +00:00
Richard Levitte
69ce8bb952
Note reports.
2001-03-31 14:03:09 +00:00
Bodo Möller
50b8ba0201
avoid buffer overflow
2001-03-31 07:48:07 +00:00
Ulf Möller
c9fd9152bd
Note the Alpha asm change
2001-03-31 01:23:10 +00:00
Richard Levitte
f891abccf2
linux-elf verified.
2001-03-30 21:43:06 +00:00
Richard Levitte
e2effdbc6b
Beta 3 has been released and announced.
2001-03-30 20:54:12 +00:00
Bodo Möller
b10ae320f7
this time *really* fix the /../ check ...
2001-03-30 14:55:50 +00:00
Bodo Möller
5d3ab9b096
For -WWW, fix test for ".." directory references (and avoid warning for
...
index -1).
2001-03-30 10:47:21 +00:00
Bodo Möller
4fea8145e2
News for 0.9.6a.
2001-03-30 10:46:15 +00:00
Bodo Möller
884e26080f
Fix bctest, and add a workaround that should solve the problem with
...
FreeBSD's /bin/sh.
2001-03-30 09:19:18 +00:00
Richard Levitte
9946491fcc
Complete the des_encrypt to des_encrypt1 rename in the main
...
development line as well.
2001-03-30 07:26:54 +00:00
Richard Levitte
ae6dfff5bf
One des_encrypt to des_encrypt1 I forgot to commit...
2001-03-29 20:30:23 +00:00
Richard Levitte
307bf4dae2
Stress the news about the name change.
2001-03-29 15:15:10 +00:00
Richard Levitte
96d65fc022
I forgot to rename des_encrypt to des_encrypt1 in libeay.num.
2001-03-29 10:49:27 +00:00
Richard Levitte
080b8cadfa
Since there has been reports of clashes between OpenSSL's
...
des_encrypt() and des_encrypt() defined on some systems (Solaris and
Unixware and maybe others), we rename des_encrypt() to des_encrypt1().
This should have very little impact on external software unless
someone has written a mode of DES, since that's all des_encrypt() is
meant for.
2001-03-29 07:45:37 +00:00
Richard Levitte
7cdd2aa128
Add news section for OpenSSL 0.9.6a. Please add what's missing
2001-03-28 13:36:13 +00:00
Ulf Möller
7d7672f119
check CRT
2001-03-28 05:10:38 +00:00
Ulf Möller
6a5b52efa0
check CRT
2001-03-28 04:56:58 +00:00
Ulf Möller
6d864b7030
mips
2001-03-28 02:41:02 +00:00
Richard Levitte
71a39dd4be
Restore asm/mips3.s to be compiled and linked in, since the bug has
...
(at least hopefully :-)) been fixed.
2001-03-27 23:42:36 +00:00
Andy Polyakov
500230ee94
The IRIX fix. Asm recap and corresponding declation.
...
Submitted by:
Reviewed by:
PR:
2001-03-27 22:30:46 +00:00
Richard Levitte
347177e052
Include bn.h so we get BN_LLONG properly defined. Otherwise, we can forget things like %lld
2001-03-27 18:34:04 +00:00
Richard Levitte
b7883fbb6e
Reports seem to show that asm/mips3.s has faults. To be investigated, but let's avoid using it in the mean time
2001-03-27 09:13:03 +00:00
Richard Levitte
a77e023ab4
For mips3 and alpha, put the assembler file directives in separate
...
variables and disable the Alpha assembler for now, since it has been
shown to fail.
The Alpha failure can be shown by adding the following numbers:
FFFFFFFFFFFFFF0000FF2E00000000EBFFFFFF0000D1
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF46FFE0FFFF0000
The result is:
1FFFFFFFFFFFEFF0000FF2E0000000032FFE0FEFF00D1
The result should really be:
1FFFFFFFFFFFFFF0000FF2E0000000032FFE0FEFF00D1
2001-03-26 16:16:12 +00:00
Richard Levitte
812cb5638c
make update
2001-03-24 12:39:59 +00:00
Richard Levitte
77a0f1d727
When using the native tools on Solaris, make damn sure the native ld
...
is used, even if the user has GNU ld earlier in his $PATH.
2001-03-24 12:31:11 +00:00
Richard Levitte
b9a18f3b8d
gcc uses collect2, not ld, to link things. Therefore, when using gcc
...
there's no need fooling ourselves, it's the gnu-shared method that we
should use. Do it for Solaris to begin with.
2001-03-24 12:29:21 +00:00
Richard Levitte
73aeb61c3f
ln on Solaris expects -f to come before -s.
...
The linux-shared method is actually gcc-specific, so call it
gnu-shared as well.
2001-03-24 11:45:57 +00:00
Richard Levitte
3041903844
Small AIX problems solved.
2001-03-22 22:13:16 +00:00
Richard Levitte
ad8ee98617
A lot of reports.
2001-03-22 21:32:26 +00:00
Richard Levitte
bc29d0e5d4
We really have no need for PEX_LIBS, so empty it.
2001-03-22 21:20:54 +00:00
Bodo Möller
f89aebb1c4
Add missing '#ifndef OPENSSL_NO_DSA'.
2001-03-22 15:06:19 +00:00
Richard Levitte
1d7fb4f0c5
Remove redundant operations and update version info.
2001-03-22 12:14:37 +00:00
Bodo Möller
81a6c7817f
Harmonize CHANGES and STATUS files between the 0.9.6a branch and
...
the trunk to keep diffs small.
2001-03-22 10:59:41 +00:00
Richard Levitte
5238fccc15
Use stdlib.h to get size_t.
2001-03-21 18:43:12 +00:00
Bodo Möller
fba9046490
Update docs.
2001-03-21 15:25:56 +00:00
Richard Levitte
8a2908a24a
Since they aren't implemented yet, EC_GFp_{recp,nist}_method() need to
...
be "#if 0"'d, or they will (re)appear as existing functions in
util/libeay.num.
2001-03-21 12:34:34 +00:00
Bodo Möller
e8b12f7a6f
Tag EC_GFp_{nist,recp}_method as "NOEXIST" because they have
...
not yet been implemented.
2001-03-21 09:58:57 +00:00
Richard Levitte
271da5a2e0
avoid linking problems when OpenSSL is built with no-dsa. Spotted by Hellan,Kim KHE <khe@kmd.dk>
2001-03-20 15:36:59 +00:00
Bodo Möller
26fbabf3d1
Increase boundaries in EC_window_bits_for_scalar_size table.
2001-03-20 11:16:12 +00:00
Bodo Möller
37cdcb4d8a
Table for window sizes.
2001-03-19 22:38:24 +00:00
Bodo Möller
57b6534e53
Update.
2001-03-19 22:38:01 +00:00
Richard Levitte
8bf49ea170
New cofiguration for Unixwre and SCO,with slightly better granularity. Contributed by Tim Rice <tim@multitalents.net>
2001-03-18 14:25:01 +00:00
Dr. Stephen Henson
02ee8626fb
Fix PKCS#12 key generation bug.
2001-03-18 02:11:42 +00:00
Bodo Möller
6276e5b41b
Explicitly ignore the exit code of ./bctest. Usually the shell
...
ignores it anyway in command substitution, but Ultrix reportedly
aborted the test when bctest returned 1.
2001-03-17 09:51:25 +00:00
Richard Levitte
51740b12ae
Correct a typo which might have lead to a dump.
...
Noted by Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com >
2001-03-16 10:30:10 +00:00
Richard Levitte
6e6783056e
An enhanced bctest submitted by Tim Rice <tim@multitalents.net>.
...
It now looks along $PATH for a working bc and returns the absolute
path to one that does work.
2001-03-16 09:13:11 +00:00
Dr. Stephen Henson
791bd0cd2b
Add copy_extensions option to 'ca' utility.
2001-03-16 02:04:17 +00:00
Dr. Stephen Henson
e890dcdb19
Add 'align' option to nameopt.
...
Add default values for display by the 'ca' utility
to openssl.cnf
Update docs.
2001-03-15 22:45:20 +00:00
Richard Levitte
5ddcb8664a
Minimise the amount of -L. when linking the shared libraries. It
...
seems like some Unixen (SCO) have opinions about too many -L.
2001-03-15 22:10:07 +00:00
Richard Levitte
09c4b4e0b7
bsdi-elf needs to link with -ldl.
2001-03-15 20:48:27 +00:00
Richard Levitte
368101778e
For AIX 4.3 or above, allow the use of dlfcn.
2001-03-15 20:23:22 +00:00
Dr. Stephen Henson
535d79da63
Overhaul the display of certificate details in
...
the 'ca' utility. This can now be extensively
customised in the configuration file and handles
multibyte strings and extensions properly.
This is required when extensions copying from
certificate requests is supported: the user
must be able to view the extensions before
allowing a certificate to be issued.
2001-03-15 19:13:40 +00:00
Bodo Möller
4f69172d25
Completely remove mont2 stuff.
...
It does not appear to be faster than the current Montgomery code
except for very small moduli (somewhere between 192 and 224 bits
in a 64-bit Sun environment, and even less than 192 bits
on 32 bit systems).
2001-03-15 18:17:40 +00:00
Lutz Jänicke
eb272ac0b0
Forgot "cvs add", so only the surrounding changes made it... sigh.
2001-03-15 12:42:04 +00:00
Bodo Möller
63c43dcc59
avoid infinite loop
2001-03-15 11:31:37 +00:00
Bodo Möller
8562801137
error codes are longs, not ints
2001-03-15 11:30:55 +00:00
Bodo Möller
5d8094143e
More error_data memory leaks
2001-03-15 11:30:10 +00:00
Richard Levitte
bb6dcb54f9
It is a good thing to prepare the .def files.
2001-03-15 06:51:32 +00:00
Dr. Stephen Henson
0a3ea5d34a
Document the -certopt option to the x509 utility.
...
Add no_issuer option.
Fix X509_print_ex() so it prints out newlines when
certain fields are omitted.
2001-03-15 01:15:54 +00:00
Bodo Möller
a5e4c0bb9e
The former ULTRASPARC preprocessor symbol is now called
...
OPENSSL_SYSNAME_ULTRASPARC, so we'd better check for that one
2001-03-14 14:02:10 +00:00
Bodo Möller
cad4b840c8
Fix: return 0 if no error occured.
2001-03-13 22:17:10 +00:00
Richard Levitte
37a92e9ce4
make update.
2001-03-13 21:47:23 +00:00
Richard Levitte
1896ce3558
We need to build MINFO.
2001-03-13 21:38:53 +00:00
Bodo Möller
0357422d14
typo
2001-03-13 16:30:09 +00:00
Bodo Möller
d3ee37c5d9
Use err_clear_data macro
2001-03-13 07:02:59 +00:00
Bodo Möller
f51cf14b85
fix memory leak in err.c
2001-03-12 18:07:20 +00:00
Bodo Möller
194dd04699
Rename function EC_GROUP_precompute to EC_GROUP_precompute_mult,
...
which indicate its purpose more clearly.
2001-03-12 07:26:23 +00:00
Bodo Möller
14f7ee4916
Add various X9.62 OIDs. (GF(2^n) mostly left out.)
2001-03-11 21:54:51 +00:00
Dr. Stephen Henson
a29d78e90b
Initial docs for PEM routines.
2001-03-11 20:29:28 +00:00
Bodo Möller
5b054c6955
EC_METHOD based on bn_mont2 (not used in the library)
2001-03-11 17:43:07 +00:00
Bodo Möller
10654d3a74
Forcibly enable memory leak checking during "make test"
2001-03-11 14:49:46 +00:00
Bodo Möller
6017e604f8
Timings are not supposed to be enabled by default ...
2001-03-11 12:30:52 +00:00
Bodo Möller
3837491174
Add functions EC_POINT_mul and EC_GROUP_precompute.
...
The latter does nothing for now, but its existence means
that applications can request precomputation when appropriate.
2001-03-11 12:27:24 +00:00
Bodo Möller
86a921af06
handle negative scalars correctly when doing point multiplication
2001-03-11 08:44:50 +00:00
Bodo Möller
616df35633
use fflush
2001-03-11 08:27:11 +00:00
Bodo Möller
e44fcedadf
Change timing output: We don't have "exponents" here, curves are
...
considered additive
2001-03-10 23:49:06 +00:00
Bodo Möller
6f8f443170
comment and error code update
2001-03-10 23:37:52 +00:00
Bodo Möller
d18af3f37e
Remove files from Lenka's EC implementation.
2001-03-10 23:26:41 +00:00
Bodo Möller
48fe4d6233
More EC stuff, including EC_POINTs_mul() for simultaneous scalar
...
multiplication of an arbitrary number of points.
2001-03-10 23:18:35 +00:00
Richard Levitte
7b8250053b
Document the change.
2001-03-10 16:28:49 +00:00
Richard Levitte
251cb4cfed
For some experiments, it is sometimes nice to serve files with complete
...
HTTP responses.
2001-03-10 16:20:52 +00:00
Dr. Stephen Henson
24a93e6cdd
In crypto/ec #if 0 out structures which reference (currently)
...
non existent functions because this breaks shared libraries.
2001-03-10 12:37:01 +00:00
Dr. Stephen Henson
40e15f9d78
Typo.
2001-03-10 01:57:38 +00:00
Dr. Stephen Henson
b4f682d32f
Add the 'ec' directory to mkdef.pl and mkfiles.pl
...
so the Windows build can see it.
Fixup mkdef.pl so it doesn't mess up with function
names longer than 39 characters in length.
2001-03-10 01:56:48 +00:00
Richard Levitte
83d0e5e512
Use 32bit longs on Alpha as well, because that's what the VMS
...
assembler code works with.
Of course, the assembler code could differ between platforms. That
might happen in the future.
2001-03-09 15:27:41 +00:00
Bodo Möller
4e20b1a656
Instead of telling both 'make' and the user that ranlib
...
errors can be tolerated, hide the error from 'make'.
This gives shorter output both if ranlib fails and if
it works.
2001-03-09 14:01:42 +00:00
Dr. Stephen Henson
cc5ba6a7b6
Update docs.
2001-03-09 13:57:14 +00:00
Bodo Möller
0396479dec
Workaround for solaris64 linking problem (explicit "ar rs" is needed
...
to create a symbol table).
Sun patches such as 109147-06 probably fix this problem,
but we can easily avoid it.
2001-03-09 13:04:06 +00:00
Bodo Möller
e34cfcf7e1
Consistently use 'void *' for SSL read, peek and write functions.
2001-03-09 10:09:20 +00:00
Dr. Stephen Henson
1358835050
Change the EVP_somecipher() and EVP_somedigest()
...
functions to return constant EVP_MD and EVP_CIPHER
pointers.
Update docs.
2001-03-09 02:51:02 +00:00
Richard Levitte
754d494bef
Bug fixes.
2001-03-09 01:13:23 +00:00
Bodo Möller
42909e3968
Fix ec_GFp_simple_cmp.
...
Use example group from Annex I of X9.62 in ectest.c.
2001-03-08 22:52:49 +00:00
Bodo Möller
c108108028
ssl23_peek
2001-03-08 21:55:27 +00:00
Bodo Möller
5451e0d924
add ssl23_peek
2001-03-08 21:54:02 +00:00
Bodo Möller
4ea3855514
Avoid problems with multi-line NAME sections.
2001-03-08 21:52:53 +00:00
Richard Levitte
20a9b1a7cf
Too many dollars...
2001-03-08 21:12:58 +00:00
Bodo Möller
156e85578d
Implement EC_GFp_mont_method.
2001-03-08 20:55:16 +00:00
Bodo Möller
b28ec12420
Fixes to make 'no-ec' work (it should not turn 'objects' into 'objts' for example)
2001-03-08 19:34:14 +00:00
Bodo Möller
bb62a8b0c5
More method functions for elliptic curves,
...
and an ectest.c that actually tests something.
2001-03-08 19:14:52 +00:00
Bodo Möller
a75d8bebd2
Bugfix: previously the serial number file could turn negative
...
because an incompletely initialized ASN1_INTEGER was used.
2001-03-08 19:13:24 +00:00
Lutz Jänicke
b72ff47037
Add newly learned knowledge from yesterday's discussion.
2001-03-08 17:24:02 +00:00
Richard Levitte
a2b03690a8
Write a small comment so we know...
2001-03-08 17:22:38 +00:00
Richard Levitte
abb48d5a5f
Build ectest too.
2001-03-08 17:22:05 +00:00
Richard Levitte
0e99546424
Some EC function names are really long. Make aliases for VMS on VAX.
2001-03-08 17:20:31 +00:00
Ulf Möller
bd9e2e4c53
note the rand_win.c change
2001-03-08 17:00:09 +00:00
Bodo Möller
ff612904d2
Comment
2001-03-08 16:53:30 +00:00
Ulf Möller
429cf462d0
old MSVC versions don't have rdtsc
...
use _emit instead
Pointed out by Jeremy Cooper <jeremy@baymoo.org >
2001-03-08 16:46:23 +00:00
Bodo Möller
c62b26fdc6
Hide BN_CTX structure details.
...
Incease the number of BIGNUMs in a BN_CTX.
2001-03-08 15:56:15 +00:00
Richard Levitte
e0a9ba9c3c
VMS catches up on the EC modifications.
2001-03-08 14:40:20 +00:00
Dr. Stephen Henson
2dc769a1c1
Make EVP_Digest*() routines return a value.
...
TODO: update docs, and make soe other routines
which use EVP_Digest*() check return codes.
2001-03-08 14:04:22 +00:00
Bodo Möller
4f98cbabde
avoid compiler warning
2001-03-08 14:02:28 +00:00
Bodo Möller
98499135d7
Constify BN_value_one.
2001-03-08 13:58:09 +00:00
Bodo Möller
3285076c8e
Integrate ec_err.[co].
...
"make depend"
2001-03-08 12:30:12 +00:00
Bodo Möller
3b4cfea688
Throw out *all* absolute pathnames, not matter what they look like.
...
The filenames we are interested in for Makefile dependencies
are always relative.
2001-03-08 12:27:44 +00:00
Bodo Möller
de10f6900d
Sort openssl.ec, the configuration file for mkerr.pl.
...
Change mkerr.pl so that it puts the ERR_load_..._strings()
prototype in header files that it writes.
2001-03-08 12:14:25 +00:00
Bodo Möller
adfe54b7be
Integrate ectest.c (which does not yet do anything).
2001-03-08 11:59:48 +00:00
Bodo Möller
b576337e8b
Order ERR_load_... calls like the stuff in err.h.
2001-03-08 11:59:03 +00:00
Bodo Möller
4de633dd5f
Get rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.
...
(It cannot possibly help to avoid duplicate 'name of file' strings
in object files because the preprocessor does not work at object file
level.)
2001-03-08 11:45:44 +00:00
Bodo Möller
91f29a38a0
Let EC_POINT_copy do nothing if dest==src
2001-03-08 11:18:06 +00:00
Bodo Möller
1d5bd6cf71
More 'TODO' items.
2001-03-08 11:16:33 +00:00
Bodo Möller
226cc7ded4
More method functions for EC_GFp_simple_method.
2001-03-08 01:23:28 +00:00
Bodo Möller
e869d4bd32
More method functions.
2001-03-07 20:56:48 +00:00
Bodo Möller
60428dbf0a
Some actual method functions (not enough yet to use the EC library, though),
...
including EC arithmetics derived from Lenka Fibikova's code (with some
additional optimizations).
2001-03-07 19:54:35 +00:00
Richard Levitte
70d70a3c81
Code for better build under Darwin (MacOS X).
...
Submitted by Brad Dominy <jdominy@darwinuser.org >
2001-03-07 10:04:00 +00:00
Bodo Möller
f1f25544e0
..._init functions are method-specific too
...
(they can't do much useful, but they will have to set pointers
to NULL)
2001-03-07 09:53:41 +00:00
Bodo Möller
2e0db07627
Optimized EC_METHODs need specific 'set_curve' and 'free' functions.
2001-03-07 09:48:38 +00:00
Bodo Möller
58fc62296f
The next bunch of vaporware.
2001-03-07 09:29:45 +00:00
Bodo Möller
df9cc1535e
extra_data 'mixin'.
...
(This will be used for Lim/Lee precomputation data.)
2001-03-07 09:03:32 +00:00
Bodo Möller
c4b36ff474
Oops ...
2001-03-07 01:41:20 +00:00
Bodo Möller
f418f8c17c
In clear_free, clear the complete structure just in case
...
the method misses something.
2001-03-07 01:37:54 +00:00
Bodo Möller
5277d7cb7c
Fix ERR_R_... problems.
2001-03-07 01:19:07 +00:00
Bodo Möller
0657bf9c14
Implement dispatcher for EC_GROUP and EC_POINT method functions.
...
Initial EC_GROUP_new_curve_GFp implementation.
2001-03-07 01:17:05 +00:00
Bodo Möller
5b438e9b0f
Add a few 'const's
2001-03-06 22:30:03 +00:00
Ulf Möller
7b4c588f58
Forgot a '$'.
2001-03-06 15:36:24 +00:00
Bodo Möller
1d00800e88
Change obj_... generation so that it does not generate rubbish or
...
abort with errors if no name is defined for some object, which was the
case for 'pilotAttributeType 27'.
Also avoid this very situation by assigning the name
'pilotAttributeType27'.
2001-03-06 08:58:38 +00:00
Bodo Möller
774530f412
'is_at_infinity' tests don't need a BN_CTX.
2001-03-06 08:55:33 +00:00
Bodo Möller
fb171e534e
New function declarations.
2001-03-06 07:01:51 +00:00
Bodo Möller
7d7db13e67
Add BN_CTX arguments where appropriate.
...
Rename 'EC_GROUP_set'-related functions to names similar to 'EC_GROUP_set_curve'
because they don't care about the generator.
Add new functions.
2001-03-06 06:20:20 +00:00
Ulf Möller
45abac85a9
DEC
2001-03-06 03:26:38 +00:00
Bodo Möller
24b8dc9a55
Add EC_GROUP_new_GFp prototype.
2001-03-05 22:29:57 +00:00
Bodo Möller
d8c79c7f72
Change comments.
2001-03-05 21:59:03 +00:00
Bodo Möller
3a12ce0137
Some declarations that outline what I intend to implement.
2001-03-05 21:54:39 +00:00
Richard Levitte
9bd35f6376
Update the VMS build scripts for EC
2001-03-05 21:17:08 +00:00
Bodo Möller
62763f682b
Another file I had forgotten to add.
2001-03-05 20:32:41 +00:00
Bodo Möller
38e3c5815c
Add yet another (still empty) source code file that I forgot.
2001-03-05 20:31:49 +00:00
Bodo Möller
f8fe20e0d9
Add more EC vaporware (empty source code files I missed in my
...
previous commit).
2001-03-05 20:14:00 +00:00
Bodo Möller
65e8167079
Move ec.h to ec2.h because it is not compatible with what we will use.
...
Add EC vaporware: change relevant Makefiles and add some empty source
files.
"make update".
2001-03-05 20:13:37 +00:00
Richard Levitte
757a8b4621
Document the SSLv2 session reuse fix.
2001-03-05 13:59:52 +00:00
Richard Levitte
5cac59b6c1
Add the possibility for option macros and start using it to indicate
...
for Windows compilations if DLL linkage is required or not.
2001-03-05 13:45:34 +00:00
Bodo Möller
bad4058574
New option '-subj arg' for 'openssl req' and 'openssl ca'. This
...
sets the subject name for a new request or supersedes the
subject name in a given request.
Add options '-batch' and '-verbose' to 'openssl req'.
Submitted by: Massimiliano Pala <madwolf@hackmasters.net >
Reviewed by: Bodo Moeller
2001-03-05 11:09:43 +00:00
Bodo Möller
d8c2adae57
increase emailAddress_max
2001-03-04 01:33:55 +00:00
Bodo Möller
786e0c2424
EC_set_half and the 'h' component of struct bn_ec_struct are unnecessary.
...
The computations for which h was used can be done more efficiently
by using BN_rshift1.
2001-03-03 15:31:34 +00:00
Richard Levitte
794103d285
For SSLv2, return the SSLv2 method, not the SSLv23 method. This way,
...
it's possible to reuse an SSLv2 session.
2001-03-02 12:17:57 +00:00
Richard Levitte
c454dbcd32
Sort platforms lexicographically as well. Also, support more than two
...
variants of a symbol.
2001-03-02 12:14:54 +00:00
Richard Levitte
f3a3106807
Spelling corrected.
2001-03-02 10:57:54 +00:00
Richard Levitte
62dc5aad06
Introduce the possibility to access global variables through
...
functions on platform were that's the best way to handle exporting
global variables in shared libraries. To enable this functionality,
one must configure with "EXPORT_VAR_AS_FN" or defined the C macro
"OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter
is normally done by Configure or something similar).
To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL
in the source file (foo.c) like this:
OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1;
OPENSSL_IMPLEMENT_GLOBAL(double,bar);
To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL
and OPENSSL_GLOBAL_REF in the header file (foo.h) like this:
OPENSSL_DECLARE_GLOBAL(int,foo);
#define foo OPENSSL_GLOBAL_REF(foo)
OPENSSL_DECLARE_GLOBAL(double,bar);
#define bar OPENSSL_GLOBAL_REF(bar)
The #defines are very important, and therefore so is including the
header file everywere where the defined globals are used.
The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition
of ASN.1 items, but that structure is a bt different.
The largest change is in util/mkdef.pl which has been enhanced with
better and easier to understand logic to choose which symbols should
go into the Windows .def files as well as a number of fixes and code
cleanup (among others, algorithm keywords are now sorted
lexicographically to avoid constant rewrites).
2001-03-02 10:38:19 +00:00
Lutz Jänicke
45ecfb1973
Typo, spotted by "Greg Stark" <gstark@ethentica.com>.
2001-03-01 16:50:11 +00:00
Dr. Stephen Henson
f23478c314
Fix bug in copy_email() which would not
...
find emailAddress at start of subject name.
2001-03-01 13:32:11 +00:00
Dr. Stephen Henson
3d2e469cfa
Fix a bug which caused BN_div to produce the
...
wrong result if rm==num and num < 0.
2001-02-28 00:51:48 +00:00
Ulf Möller
bf401a2aef
%f conversion bug fix
...
Submitted by: Henrik Eriksson <henrik.eriksson@axis.com >
2001-02-27 23:59:18 +00:00
Ulf Möller
06a2b07bb0
don't read from tty in test mode
2001-02-27 21:10:21 +00:00
Ulf Möller
8700e7b3cf
run self-test with no-krb5
2001-02-27 21:05:55 +00:00
Richard Levitte
7f19d42e9d
MacOSX doesn't have ftime().
...
Spotted by Pieter Bowman <bowman@math.utah.edu >
2001-02-27 08:14:32 +00:00
Dr. Stephen Henson
d7bbd31efe
Typo in comment.
2001-02-26 23:34:14 +00:00
Dr. Stephen Henson
fafc7f9875
Enhance OCSP_request_verify() so it finds the signers certificate
...
properly and supports several flags.
2001-02-26 14:17:58 +00:00
Richard Levitte
d88a26c489
make update
...
Note that all *_it variables are suddenly non-existant according to
libeay.num. This is a bug that will be corrected. Please be patient.
2001-02-26 10:54:08 +00:00
Richard Levitte
64b48877fa
Add the CCITT pilot directory OIDs.
2001-02-26 10:27:41 +00:00
Dr. Stephen Henson
b31cc2d9f7
Trap an invalid ASN1_ITEM construction and print out
...
the errant field for more ASN1 error conditions.
2001-02-25 14:11:31 +00:00
Dr. Stephen Henson
f196522159
New function and options to check OCSP response validity.
2001-02-24 13:50:06 +00:00
Dr. Stephen Henson
4ff18c8c3e
Print out OID of unknown signature or public key
...
algorithms.
2001-02-24 01:42:21 +00:00
Dr. Stephen Henson
db4a465974
Stop PKCS7_verify() core dumping with unknown public
...
key algorithms and leaking if the signature verify
fails.
2001-02-24 01:38:56 +00:00
Lutz Jänicke
3cdc8ad07a
Describe new callback for session id generation.
2001-02-23 21:38:42 +00:00
Lutz Jänicke
2c1571b4ff
SSL_get_version() was an easy one :-)
2001-02-23 21:05:56 +00:00
Ulf Möller
6767a53669
That statement seems to be not true. In fact, I have said that I would
...
like to use libtool, but not automake.
Let's investigate that further, or leave the question open for now.
2001-02-23 18:22:58 +00:00
Ulf Möller
ba93fd6a38
autoconf would be useful...
2001-02-23 18:00:06 +00:00
Dr. Stephen Henson
d7c06e9ec7
Make OCSP cert id code tolerate a missing issuer certificate
...
or serial number.
2001-02-23 13:04:24 +00:00
Dr. Stephen Henson
386828d029
Oops, forgot CHANGES entry for ASN1_ITEM_FUNCTIONS.
2001-02-23 13:02:56 +00:00
Dr. Stephen Henson
d339187b1a
Get rid of ASN1_ITEM_FUNCTIONS dummy function
...
prototype hack. This unfortunately means that
every ASN1_*_END construct cannot have a
trailing ;
2001-02-23 12:47:06 +00:00
Richard Levitte
61fca8b69b
make depend.
2001-02-23 11:57:35 +00:00
Dr. Stephen Henson
bb5ea36b96
Initial support for ASN1_ITEM_FUNCTION option to
...
change the way ASN1 modules are exported.
Still needs a bit of work for example the hack which a
dummy function prototype to avoid compilers warning about
multiple ;s.
2001-02-23 03:16:09 +00:00
Geoff Thorpe
e3a9164073
I missed one.
2001-02-23 00:09:50 +00:00
Geoff Thorpe
f85c9904c6
Fix an oversight - when checking a potential session ID for conflicts with
...
an SSL_CTX's session cache, it is necessary to compare the ssl_version at
the same time (a conflict is defined, courtesy of SSL_SESSION_cmp(), as a
matching id/id_length pair and a matching ssl_version). However, the
SSL_SESSION that will result from the current negotiation does not
necessarily have the same ssl version as the "SSL_METHOD" in use by the
SSL_CTX - part of the work in a handshake is to agree on an ssl version!
This is fixed by having the check function accept an SSL pointer rather
than the SSL_CTX it belongs to.
[Thanks to Lutz for illuminating the full extent of my stupidity]
2001-02-23 00:02:56 +00:00
Richard Levitte
48bf4aae24
Define the right macro for Linux and other GNU-based systems to get a correct declaration of strdup()
2001-02-22 18:03:30 +00:00
Richard Levitte
6231576088
e_os.h defines Getenv()
2001-02-22 17:59:55 +00:00
Richard Levitte
4270144b39
CONF_METHOD is one of the few places where you find MS_FAR. I can't
...
really see why we need to define these function pointers with MS_FAR
if it's not done cosistently everywhere.
If we decide to support MS_FAR modifiers, it's better to have the
named something more unique for OpenSSL and to define them in e_os2.h.
2001-02-22 17:41:15 +00:00
Richard Levitte
5031a89dc3
Define the OPENSSL_NO_* macros as NO_* macros for the sake of applications thathaven't yet been changed
2001-02-22 17:36:41 +00:00
Bodo Möller
bbd1c84e6e
e_os.h problems have been solved in the main branch.
2001-02-22 15:10:11 +00:00
Bodo Möller
a2cf08cc23
undo previous change: "e_os.h" is now the official name for the file
...
to include (but the OpenSSL_0_9_6-stable branche still has
inconsistencies)
2001-02-22 15:08:30 +00:00
Bodo Möller
d3a73875e2
include e_os.h as "openssl/e_os.h" (as elsewhere)
2001-02-22 14:58:38 +00:00
Richard Levitte
41d2a336ee
e_os.h does not belong with the exported headers. Do not put it there
...
and make all files the depend on it include it without prefixing it
with openssl/.
This means that all Makefiles will have $(TOP) as one of the include
directories.
2001-02-22 14:45:02 +00:00
Richard Levitte
627774fd87
Since RAND_file_name() uses strlen, make sure the number that's
...
compared to it has the type size_t. Included the needed headers to
make that happen.
2001-02-22 14:40:15 +00:00
Richard Levitte
a5bc1e8568
Use e_os2.h rather than opensslconf.h, since some needed macros are
...
defined there.
2001-02-22 14:37:50 +00:00
Richard Levitte
c38171ba1f
Exported header files should not include e_os.h.
2001-02-22 14:27:22 +00:00
Richard Levitte
bb3ee8e75d
Since opensslconf.h might be included over and over, undefine
...
OPENSSL_UNISTD before redefining it, to avoid compiler warnings.
2001-02-22 14:24:50 +00:00
Richard Levitte
32654e792b
One indirection level too little compared to the
...
pre-CRYPTO_MEM_LEAK_CB time.
2001-02-22 14:23:44 +00:00
Richard Levitte
19f2192136
Windows does not know of strigs.h or strcasecmp, so when in Windows,
...
make strcasecmp a macro to _stricmp.
2001-02-22 14:21:06 +00:00
Richard Levitte
1961b327eb
Always include opensslconf.h, even if it's already been done before.
...
The reason is that some parts are only included when certain other
include files have been included.
Also, it seems that the rest of the OpenSSL code assumes that all
kinds of M$ Windows are MSDOS as well...
2001-02-22 13:59:36 +00:00
Richard Levitte
2ae87d465e
When inside a #if 0..#endif, do not define anything.
2001-02-22 13:24:17 +00:00
Richard Levitte
e3ef8d2e6b
Since SSL_add_dir_cert_subjects_to_stack isn't impemented on VMS,
...
there's no point creating an alias for it.
2001-02-22 13:22:20 +00:00
Richard Levitte
65a87c7d01
Include e_os2.h instead of opensslconf.h.
...
SSL_add_dir_cert_subjects_to_stack is not implemented on WIN32 and
VMS, so declare it the same way.
2001-02-22 13:19:50 +00:00
Dr. Stephen Henson
72e3c20c14
Rebuild ASN1 error codes to remove unused function and reason codes.
2001-02-22 00:39:06 +00:00
Geoff Thorpe
ec0f19597e
If a callback is generating a new session ID for SSLv2, then upon exiting,
...
the ID will be padded out to 16 bytes if the callback attempted to generate
a shorter one. The problem is that the uniqueness checking function used in
callbacks may mistakenly think a 9-byte ID is unique when in fact its
padded 16-byte version is not. This makes the checking function detect
SSLv2 cases, and ensures the padded form is checked rather than the shorter
one passed by the callback.
2001-02-21 21:38:32 +00:00
Geoff Thorpe
fa2b8db499
Note changes re: session ID generation callbacks, etc.
2001-02-21 18:48:33 +00:00
Geoff Thorpe
1aa0d94781
This adds command-line support to s_server for controlling the generation
...
of session IDs. Namely, passing "-id_prefix <text>" will set a
generate_session_id() callback that generates session IDs as random data
with <text> block-copied over the top of the start of the ID. This can be
viewed by watching the session ID s_client's output when it connects.
This is mostly useful for testing any SSL/TLS code (eg. proxies) that wish
to deal with multiple servers, when each of which might be generating a
unique range of session IDs (eg. with a certain prefix).
2001-02-21 18:38:48 +00:00
Geoff Thorpe
dc644fe229
This change allows a callback to be used to override the generation of
...
SSL/TLS session IDs in a server. According to RFC2246, the session ID is an
arbitrary value chosen by the server. It can be useful to have some control
over this "arbitrary value" so as to choose it in ways that can aid in
things like external session caching and balancing (eg. clustering). The
default session ID generation is to fill the ID with random data.
The callback used by default is built in to ssl_sess.c, but registering a
callback in an SSL_CTX or in a particular SSL overrides this. BTW: SSL
callbacks will override SSL_CTX callbacks, and a new SSL structure inherits
any callback set in its 'parent' SSL_CTX. The header comments describe how
this mechanism ticks, and source code comments describe (hopefully) why it
ticks the way it does.
Man pages are on the way ...
[NB: Lutz was also hacking away and helping me to figure out how best to do
this.]
2001-02-21 18:06:26 +00:00
Geoff Thorpe
47ddf355b4
'make update'
2001-02-21 17:43:52 +00:00
Richard Levitte
941181ec0f
'make update'
2001-02-21 14:12:50 +00:00
Richard Levitte
d399fdf877
Modify mkdef.pl to recognise and parse prprocessor conditionals of the
...
form '#if defined(...) || defined(...) || ...' and '#if !defined(...)
&& !defined(...) && ...'. This also avoids the growing number of
special cases it was previously handling (some of them wrongly).
2001-02-21 14:12:03 +00:00
Richard Levitte
487550b61d
I had forgotten to change mkerr.pl to use the new macro system.
2001-02-21 12:03:20 +00:00
Richard Levitte
35618bf6ad
strdup() is a X/Open extension.
2001-02-20 20:00:30 +00:00
Richard Levitte
460fe31f0c
With later version of DEC C on VMS, some functions (strcmp(), for
...
example) are declared with some extra linkage information. This
generates a warning when using the function name as a value to a
regular function pointer with the "correct" definition of the
function. Therefore, use a macro to cast the appropriate function on
VMS.
2001-02-20 19:13:46 +00:00
Richard Levitte
14565bedaf
Some functions, like strdup() and strcasecmp(), are defined in
...
strings.h according to X/Open.
2001-02-20 19:05:59 +00:00
Richard Levitte
02cc82ff8a
I forgot there was a reason why the inclusions and definition of u_int
...
was made in a certain sequence. This change restores the earlier
"chain of command".
2001-02-20 17:37:02 +00:00
Richard Levitte
38f3b3e29c
OpenVMS catches up.
2001-02-20 17:14:30 +00:00
Geoff Thorpe
4dc719fc37
The callbacks in the NAME_FUNCS structure are not used directly as LHASH
...
callbacks, and their prototypes were consistent as they were. These casts
need reversing.
Also, I personally find line breaks during parameter lists (ie a line
ending in a comma) easier to read at a glance than line breaks at the end
of a function call and before a dereference on the return value (ie a line
ending in a closed-bracket followed by a line starting with "->").
2001-02-20 16:31:15 +00:00
Ulf Möller
48f2ef8d00
make it a loop as in dsa
2001-02-20 16:17:25 +00:00
Richard Levitte
be1bd9239f
Get e_os2.h to get all the system definitions correctly.
2001-02-20 14:07:03 +00:00
Richard Levitte
b8feddae71
Get the right cast for lhash callback functions.
2001-02-20 14:00:29 +00:00
Richard Levitte
a9daa46758
Include string.h so mem*() functions get properly declared.
2001-02-20 13:41:11 +00:00
Dr. Stephen Henson
569afce4b0
Fix typo.
2001-02-20 13:30:28 +00:00
Richard Levitte
a9aa3d580c
A new bunch of too long symbols to hack.
...
OCSP_CRLID_new and OCSP_crlID_new clash on case-insensitive systems.
2001-02-20 13:26:00 +00:00
Richard Levitte
56a6ccc84f
DEC C on VMS is pedantic by definition.
2001-02-20 13:24:23 +00:00
Richard Levitte
03c4d82fa1
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
...
get a chance to be defined.
Make a batter file name translator (uhm, no, that's not the finished
variant :-)).
2001-02-20 13:23:42 +00:00
Richard Levitte
7ab1a39181
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
...
get a chance to be defined.
2001-02-20 13:22:35 +00:00
Richard Levitte
56dde3ebe6
Include opensslconf.h or the like early to make sure system macros get
...
correctly defined.
2001-02-20 13:11:54 +00:00
Richard Levitte
6525ced540
Let VMS catch up.
2001-02-20 13:10:14 +00:00
Richard Levitte
32d0ad41a4
DEC C on VMS is pedantic by definition.
2001-02-20 13:06:55 +00:00
Richard Levitte
e28e42a549
Use sk_*_new_null() instead of sk_*_new(NULL). That avoids getting
...
lots of silly warnings from the compiler.
2001-02-20 13:06:10 +00:00
Bodo Möller
ff055b5c89
honour '-no_tmp_rsa'
2001-02-20 12:59:48 +00:00
Richard Levitte
d8770f3ece
Include string.h so mem* functions get properly declared.
2001-02-20 12:51:56 +00:00
Richard Levitte
4981372d03
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
...
get a chance to be defined.
2001-02-20 12:44:46 +00:00
Richard Levitte
3ebac273f5
Include string.h so mem* functions get properly declared.
2001-02-20 12:43:11 +00:00
Richard Levitte
5af18f65f4
Use 0 instead of NULL, at least for function casts, since there are
...
variants of stdio.h that define NULL in such a way that it's "unsafe"
to use for function pointer casting.
2001-02-20 12:40:42 +00:00
Bodo Möller
a9b34991d9
update
2001-02-20 11:36:02 +00:00
Richard Levitte
bc36ee6227
Use new-style system-id macros everywhere possible. I hope I haven't
...
missed any.
This compiles and runs on Linux, and external applications have no
problems with it. The definite test will be to build this on VMS.
2001-02-20 08:13:47 +00:00
Bodo Möller
f2bc668429
Fix BN_[pseudo_]rand: 'mask' must be used even if top=-1.
...
Mention BN_[pseudo_]rand with top=-1 in CHANGES.
2001-02-20 08:10:38 +00:00
Richard Levitte
8120813066
Use new-style system-id macros.
2001-02-20 07:43:22 +00:00
Richard Levitte
7242cd8f8f
I'm sick of the warnings about long long...
2001-02-20 07:22:11 +00:00
Ulf Möller
12c2fe8d53
Use BN_rand_range().
2001-02-20 00:43:59 +00:00
Ulf Möller
28143c66e1
Fix warning.
2001-02-20 00:43:03 +00:00
Ulf Möller
335c4f0966
BN_rand_range() needs a BN_rand() variant that doesn't set the MSB.
2001-02-20 00:23:07 +00:00
Ulf Möller
5003a61b9f
note OPENSSL_issetugid().
2001-02-19 23:58:56 +00:00
Ulf Möller
7bd51947e5
Temporary fix for build break.
...
It's still inconsistent - probably better to undo the whole OPENSSL_NO_* thing.
2001-02-19 23:42:09 +00:00
Richard Levitte
4901b41653
Make sure time() is properly declared.
2001-02-19 22:47:40 +00:00
Richard Levitte
74cd365b03
Use the new-style system-identity macros.
2001-02-19 22:04:02 +00:00
Richard Levitte
2affbab9fc
I forgot to document the system identification macros
2001-02-19 16:15:13 +00:00
Richard Levitte
cf1b7d9664
Make all configuration macros available for application by making
...
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other packages and by making
sure e_os2.h will cover all platform-specific cases together with
opensslconf.h.
I've checked fairly well that nothing breaks with this (apart from
external software that will adapt if they have used something like
NO_KRB5), but I can't guarantee it completely, so a review of this
change would be a good thing.
2001-02-19 16:06:34 +00:00
Richard Levitte
649c5a2b09
Remove temporary files when done.
2001-02-19 15:23:37 +00:00
Richard Levitte
07247321c6
make update
2001-02-19 14:00:38 +00:00
Richard Levitte
0c43540433
An obvious but hard-to-see cut'n'paste error corrected.
2001-02-19 13:57:40 +00:00
Dr. Stephen Henson
acba75c59d
New -set_serial options to 'req' and 'x509'.
...
Remove the old broken bio read of serial numbers in the 'ca' index
file. This would choke if a revoked certificate was specified with
a negative serial number.
Fix typo in uid.c
2001-02-19 13:38:32 +00:00
Richard Levitte
267a1927eb
Do not insert things in syms{} and kind{} when parsing the header
...
files. Instead, insert proper information in the $def string, which
will be properly munged later on.
2001-02-19 13:33:04 +00:00
Richard Levitte
b0c8638650
Make the choice of "makedepend" program choosable through a switch.
2001-02-19 12:51:14 +00:00
Richard Levitte
b36c170d1b
VMS follows suit.
2001-02-19 11:30:22 +00:00
Bodo Möller
934397ec66
Memory leak detection bugfixes for multi-threading.
2001-02-19 10:32:53 +00:00
Bodo Möller
0f8631495d
Add uid.{c,o}
2001-02-19 10:31:04 +00:00
Richard Levitte
95ffe86dbc
Perl code patch contributed by "Kurt J. Pires" <kjpires@iat.com>
...
His own words are:
The patch adds no new functionality (other than a simple test package)
to the libraries, but it allows them to be compiled with Perl5.6.0.
It has only been tested under "Red Hat Linux release 7.0 (Guinness)"
with the unpatched verion of OpenSSL 0.9.6 released last September.
2001-02-19 09:29:53 +00:00
Richard Levitte
87b79c3ef3
Make it possible to use gcc to generate the dependency tables.
2001-02-16 13:55:05 +00:00
Ulf Möller
52d160d85d
ispell
2001-02-16 02:09:53 +00:00
Ulf Möller
54ff1e6ae5
pod format error
2001-02-16 01:44:24 +00:00
Dr. Stephen Henson
a6b7ffddac
New options to 'ca' utility to support CRL entry extensions.
...
Add revelant new X509V3 extensions.
Add OIDs.
Fix ASN1 memory leak code to pop info if external allocation used.
2001-02-16 01:35:44 +00:00
Lutz Jänicke
f30d34f3a8
Move entry to match chronologic orderering.
2001-02-15 14:18:53 +00:00
Lutz Jänicke
84a2173797
Don't forget to mention minor change.
2001-02-15 10:35:56 +00:00
Lutz Jänicke
52b621db88
Add "-rand" option to s_client and s_server.
2001-02-15 10:22:07 +00:00
Ulf Möller
a6ed5dd674
That was misleading. The problem won't happen with 0.9.6a anyway.
2001-02-14 16:55:22 +00:00
Richard Levitte
1417f2dccb
Include the newly reported problem with bc on FreeBSD 4.2.
2001-02-14 07:45:59 +00:00
Dr. Stephen Henson
f2e5ca84d4
Option to disable standard block padding with EVP API.
...
Add -nopad option to enc command.
Update docs.
2001-02-14 02:11:52 +00:00
Ulf Möller
36fafffae2
New function OPENSSL_issetugid(). Needs more work.
2001-02-14 01:35:44 +00:00
Dr. Stephen Henson
cdc7b8cc60
Initial OCSP SSL support.
2001-02-14 01:12:41 +00:00
Ulf Möller
720235eeec
IRIX bugfix
2001-02-14 00:14:09 +00:00
Lutz Jänicke
8e495e4ac7
Finish first round of session cache documentation.
2001-02-13 14:00:09 +00:00
Richard Levitte
2afbd6fa08
Update of linux-ppc. Contributed by MATSUURA Takanori
...
<t-matsuu@protein.osaka-u.ac.jp >
2001-02-13 13:08:12 +00:00
Lutz Jänicke
f282ca7413
New manual page: SSL_CTX_set_mode.
2001-02-13 11:43:11 +00:00
Dr. Stephen Henson
67c1801924
New function OCSP_parse_url() and -url option for ocsp utility.
...
Doesn't handle SSL URLs yet.
2001-02-13 00:37:44 +00:00
Dr. Stephen Henson
46a58ab946
Modify OCSP nonce behaviour.
2001-02-12 23:28:45 +00:00
Dr. Stephen Henson
94fcd01349
Work around for libsafe "error".
2001-02-12 03:22:49 +00:00
Geoff Thorpe
9a04387362
Re-order a couple of static functions and "#if 0" out unused ones - this
...
gets rid of gcc warnings.
2001-02-12 02:30:19 +00:00
Geoff Thorpe
282d8b1c38
This change was a quick experiment that I'd wanted to try that works quite
...
well (and is a good demonstration of how encapsulating the SSL in a
memory-based state machine can make it easier to apply to different
situations).
The change implements a new command-line switch "-flipped <0|1>" which, if
set to 1, reverses the usual interpretation of a client and server for SSL
tunneling. Normally, an ssl client (ie. "-server 0") accepts "cleartext"
connections and conducts SSL/TLS over a proxied connection acting as an SSL
client. Likewise, an ssl server (ie. "-server 1") accepts connections and
conducts SSL/TLS (as an SSL server) over them and passes "cleartext" over
the proxied connection. With "-flipped 1", an SSL client (specified with
"-server 0") in fact accepts SSL connections and proxies clear, whereas an
SSL server ("-server 1") accepts clear and proxies SSL. NB: most of this
diff is command-line handling, the actual meat of the change is simply the
line or two that plugs "clean" and "dirty" file descriptors into the item
that holds the state-machine - reverse them and you get the desired
behaviour.
This allows a network server to be an SSL client, and a network client to
be an SSL server. Apart from curiosity value, there's a couple of possibly
interesting applications - SSL/TLS is inherently vulnerable to trivial DoS
attacks, because the SSL server usually has to perform a private key
operation first, even if the client is authenticated. With this scenario,
the network client is the SSL server and performs the first private key
operation, whereas the network server serves as the SSL client. Another
possible application is when client-only authentication is required (ie.
the underlying protocol handles (or doesn't care about) authenticating the
server). Eg. an SSL/TLS version of 'ssh' could be concocted where the
client's signed certificate is used to validate login to a server system -
whether or not the client needs to validate who the server is can be
configured at the client end rather than at the server end (ie. a complete
inversion of what happens in normal SSL/TLS).
NB: This is just an experiment/play-thing, using "-flipped 1" probably
creates something that is interoperable with exactly nothing. :-)
2001-02-12 02:28:29 +00:00
Lutz Jänicke
41ecaba97e
More about session caching.
2001-02-11 17:01:36 +00:00
Lutz Jänicke
96dfab9e0e
Include information that automatic query is a new feature.
2001-02-10 19:10:36 +00:00
Lutz Jänicke
1b65ce7db3
Update for 0.9.7 with SSL_OP_CIPHER_SERVER_PREFERENCE.
2001-02-10 16:21:38 +00:00
Lutz Jänicke
7b9cb4a224
Manual page for SSL_CTX_set_options(). Unfortunately for some of the
...
options someone much longer working with OpenSSL/SSLeay is needed.
2001-02-10 16:18:35 +00:00
Bodo Möller
bc2dfde4b3
Oops: It's RegTP, not RegPT ...
2001-02-10 13:35:34 +00:00
Bodo Möller
ec9dc137e7
Add German SiG root certificates (extracted from the official cert registry
...
file http://www.nrca-ds.de/ftp/pkd.ttp , which contains a total of 288
certificates issued by the RegPT so far)
2001-02-10 13:16:16 +00:00
Bodo Möller
620cea37e0
disable stdin buffering in load_cert
2001-02-10 13:12:35 +00:00
Bodo Möller
c15e036398
use case-insensitive comparison in set_table_opts
...
(similar to how arguments such as -inform/-outform specifications
are treated)
2001-02-10 11:21:29 +00:00
Dr. Stephen Henson
ccb08f98ae
Fix CRL printing to correctly show when there are no revoked certificates.
...
Make ca.c correctly initialize the revocation date.
Make ASN1_UTCTIME_set_string() and ASN1_GENERALIZEDTIME_set_string() set the
string type: so they can initialize ASN1_TIME structures properly.
2001-02-10 00:56:45 +00:00
Bodo Möller
e306892994
Simplify BN_rand_range
2001-02-10 00:34:02 +00:00
Lutz Jänicke
836f996010
New Option SSL_OP_CIPHER_SERVER_PREFERENCE allows TLS/SSLv3 server to override
...
the clients choice; in SSLv2 the client uses the server's preferences.
2001-02-09 19:56:31 +00:00
Lutz Jänicke
1613c4d3bf
Typo
2001-02-09 19:05:49 +00:00
Lutz Jänicke
b5f6d9dc6e
Fix "wierd" typo as submitted by Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>.
2001-02-09 19:03:53 +00:00
Dr. Stephen Henson
c063f2c5ec
Various Win32 related fixed. Make no-krb5 work in mkdef.pl .
...
Fix warning in apps/engine.c
Remove definitions of deleted functions.
Add missing definition of X509_VAL.
2001-02-09 18:16:12 +00:00
Dr. Stephen Henson
c47c619680
Various updates to mkdef.pl to cope with new aes
...
and ASN1 code.
2001-02-09 13:16:21 +00:00
Bodo Möller
93cd57a578
fix editing error
2001-02-09 09:40:18 +00:00
Bodo Möller
49ce63cd7c
add linux-s390 configuration (based on information submitted by
...
Denis Beauchemin <Denis.Beauchemin@Courrier.USherb.ca >)
2001-02-09 08:34:29 +00:00
Dr. Stephen Henson
b3f2e399d2
Add missing \n's to ocsp usage message.
2001-02-09 03:09:05 +00:00
Dr. Stephen Henson
8c950429a9
Allow various options to be included for signing and verify of
...
OCSP responses.
Documentation to follow...
Urgh.. this conflicted with the -VAfile patch I hope I haven't
broken it.
2001-02-08 19:36:10 +00:00
Richard Levitte
c2bf70a27c
The check for request including a nonce and response not having it was
...
inversed. Corrected. Hopefully, this will make it work without
dumping core.
2001-02-08 19:28:10 +00:00
Richard Levitte
9235adbf47
Add the -VAfile option to 'openssl ocsp'. This option will give the
...
client code certificates to use to only check response signatures.
I'm not entirely sure if the way I just implemented the verification
is the right way to do it, and would be happy if someone would like to
review this.
2001-02-08 17:59:29 +00:00
Ulf Möller
a71b5abfa4
use <= instead of ==
2001-02-08 17:45:32 +00:00
Ulf Möller
928cc3a6de
point out that RAND_load_file() etc are only for seed files, not for
...
entropy devices or sockets.
2001-02-08 17:22:56 +00:00
Ulf Möller
466e4249ab
Note that EGD is used automatically.
2001-02-08 17:16:44 +00:00
Ulf Möller
9fbc45b159
cleanup
2001-02-08 17:14:07 +00:00
Bodo Möller
792e2ce7f4
Another comment change. (Previous comment does not apply
...
for range = 11000000... or range = 100000...)
2001-02-08 12:34:08 +00:00
Bodo Möller
3952584571
Change comments. (The expected number of iterations in BN_rand_range
...
never exceeds 1.333...).
2001-02-08 12:27:22 +00:00
Bodo Möller
a5d2acfc79
oops -- remove observation code
2001-02-08 12:24:41 +00:00
Bodo Möller
35ed8cb8b6
Integrate my implementation of a countermeasure against
...
Bleichenbacher's DSA attack. With this implementation, the expected
number of iterations never exceeds 2.
New semantics for BN_rand_range():
BN_rand_range(r, min, range) now generates r such that
min <= r < min+range.
(Previously, BN_rand_range(r, min, max) generated r such that
min <= r < max.
It is more convenient to have the range; also the previous
prototype was misleading because max was larger than
the actual maximum.)
2001-02-08 12:14:51 +00:00
Bodo Möller
7edc5ed90a
platform specific CFLAGS don't belong into this Makefile
2001-02-08 11:15:50 +00:00
Lutz Jänicke
420125f996
Update documentation to match the state at 0.9.6 _and_ the recent changes.
2001-02-08 10:42:01 +00:00
Ulf Möller
57e7d3ce15
Bleichenbacher's DSA attack
2001-02-07 22:24:35 +00:00
Lutz Jänicke
a8ebe4697e
Modify access to EGD socket to deal with EINTR etc that can appear
...
during connect() and other calls. First seen on Unixware-7.
Unify access to EGD-socket for all RAND_egd_*() methods.
2001-02-07 22:13:38 +00:00
Dr. Stephen Henson
deb2c1a1c5
Fix AES code.
...
Update Rijndael source to v3.0
Add AES OIDs.
Change most references of Rijndael to AES.
Add new draft AES ciphersuites.
2001-02-07 18:15:18 +00:00
Lutz Jänicke
d4219c485b
Change preferences for sockets of EGD-style entropy daemons to a more
...
reasonable selection.
2001-02-07 14:26:43 +00:00
Lutz Jänicke
73fc98a7bf
Fix typo preventing correct usage of -out option.
2001-02-07 14:15:41 +00:00
Ben Laurie
259810e05b
Rijdael CBC mode and partial undebugged SSL support.
2001-02-06 14:09:13 +00:00
Ben Laurie
171cc53a96
Improve the state machine.
2001-02-06 13:13:31 +00:00
Bodo Möller
9eea2be6f1
Avoid coredumps for CONF_get_...(NULL, ...)
2001-02-06 10:26:34 +00:00
Bodo Möller
69a03c1799
don't dump core
2001-02-06 09:47:47 +00:00
Ulf Möller
4327aae816
format strings
2001-02-06 02:57:35 +00:00
Ulf Möller
741a9690df
Fix potential buffer overrun for EBCDIC.
2001-02-06 02:54:02 +00:00
Richard Levitte
e24e40657f
Fix a memory leak in BIO_get_accept_socket(). This leak was small and
...
only happened when the port number wasn't parsable ot the host wasn't
possible to convert to an IP address.
Contributed by Niko Baric <Niko.Baric@epost.de >
2001-02-05 09:15:09 +00:00
Bodo Möller
448361a86c
Include string.h (whis is in all relevant standards) instead of
...
memory.h (which is not).
2001-02-05 09:07:50 +00:00
Dr. Stephen Henson
26e083ccb7
New function to copy nonce values from OCSP
...
request to response.
2001-02-05 00:35:06 +00:00
Ben Laurie
4978361212
Make depend.
2001-02-04 21:06:55 +00:00
Ben Laurie
247c1361f3
BN assembler is no longer option on x86.
2001-02-04 21:03:22 +00:00
Ben Laurie
1618bc7921
Can't remember why this was needed?
2001-02-04 21:02:22 +00:00
Ben Laurie
1b843d3c69
Fix a warning.
2001-02-04 21:01:32 +00:00
Lutz Jänicke
0bc6597d4d
Documenting session caching, 2nd step.
2001-02-04 18:05:27 +00:00
Dr. Stephen Henson
2b916952a8
Fix ASN1_TIME_to_generlizedtime().
...
Add protoype for OCSP_response_create().
Add OCSP_request_sign() and OCSP_basic_sign()
private key and certificate checks and make
OCSP_NOCERTS consistent with PKCS7_NOCERTS
2001-02-04 03:04:43 +00:00
Dr. Stephen Henson
02e4fbed3d
Various OCSP responder utility functions.
...
Delete obsolete OCSP functions.
Largely untested at present...
2001-02-03 19:20:45 +00:00
Lutz Jänicke
7403c34b0b
Clarify why SSL_CTX_use_certificate_chain_file() should be preferred.
2001-02-03 15:15:00 +00:00
Lutz Jänicke
9022f2403b
Typo: on my screen it nicely wrapped around at 80 :-)
2001-02-03 11:02:02 +00:00
Lutz Jänicke
08f3f07212
If the source has already been succesfully queried, do not try to open it
...
again as file.
2001-02-03 10:59:13 +00:00
Lutz Jänicke
8cbceba610
Document session caching, first step.
2001-02-02 14:40:52 +00:00
Dr. Stephen Henson
88ce56f8c1
Various function for commmon operations.
2001-02-02 00:45:54 +00:00
Dr. Stephen Henson
664d83bb23
Tidy up the mess in bss_sock.c and bss_fd.c
...
by placing them socket/fd code in separate
files rather than trying to have them both
share the same one.
2001-02-02 00:31:45 +00:00
Dr. Stephen Henson
8cff6331c9
Tolerate some "variations" used in some
...
certificates.
One is a valid CA which has no basicConstraints
but does have certSign keyUsage.
Other is S/MIME signer with nonRepudiation but
no digitalSignature.
2001-02-01 01:57:32 +00:00
Lutz Jänicke
cd6aa710b5
New manual page for a hardly known but important item :-)
2001-01-31 14:14:20 +00:00
Richard Levitte
903872d65e
Document the change.
2001-01-30 13:47:59 +00:00
Richard Levitte
16a44ae7e9
Increase consistency of header data (some mail readers really do not
...
like spaces before the semicolon, and besides, other parts of this
file makes the values without those spaces), and move spacing of
continuation lines to support BIO's that break lines after each
write.
2001-01-30 13:38:59 +00:00
Bodo Möller
739423fceb
Remove serial number file during 'make clean'.
2001-01-29 11:41:12 +00:00
Bodo Möller
78f3a2aad7
Comment and indentation
2001-01-28 14:38:11 +00:00
Dr. Stephen Henson
b847024026
Make sk_sort tolearate a NULL argument.
2001-01-28 14:20:13 +00:00
Dr. Stephen Henson
50d5199120
New OCSP response verify option OCSP_TRUSTOTHER
2001-01-26 01:55:52 +00:00
Richard Levitte
9020b86250
Documentation language corrections, contributed by Chris Pepper <pepper@mail.reppep.com>
2001-01-25 14:46:00 +00:00
Dr. Stephen Henson
a342cc5a70
Zero the premaster secret after deriving the master secret in DH
...
ciphersuites.
2001-01-25 13:15:01 +00:00
Geoff Thorpe
67c3cf0675
Insert a missing space to stop pod2man giving stroppy "malformed" warnings.
2001-01-25 02:26:58 +00:00
Bodo Möller
9a875a3574
update
2001-01-24 22:39:29 +00:00
Dr. Stephen Henson
a43cf9fae9
Add debugging info to new ASN1 code to trace memory leaks.
...
Fix PKCS7 and PKCS12 memory leaks.
Initialise encapsulated content type properly.
2001-01-24 18:39:54 +00:00
Bodo Möller
9ae9c221de
Update "OAEP reconsidered" comment
2001-01-24 14:59:25 +00:00
Ulf Möller
4256650d68
new year
2001-01-24 02:56:40 +00:00
Bodo Möller
ae0665b8f1
EVP_add_digest_alias additions to SS_library_init
2001-01-23 16:39:59 +00:00
Ulf Möller
75802000c8
There is no C version of bn_div_3_words
2001-01-23 16:26:15 +00:00
Bodo Möller
325ae88efb
For improved compatibility with 'strange' certificates, add some
...
digest aliases (as found in OpenSSL_add_all_digests).
2001-01-23 13:55:26 +00:00
Bodo Möller
a25b265d27
Use OpenSSL_add_all_algorithms instead of the backwards compatibility
...
alias SSLeay_add_all_algorithms
2001-01-23 13:36:57 +00:00
Bodo Möller
d0a8af61b1
More on the e_os.h mess ...
2001-01-23 12:30:43 +00:00
Lutz Jänicke
e58d808a4c
Copy over just written manpage to the ones still missing.
2001-01-23 11:04:52 +00:00
Lutz Jänicke
751b5e8ff2
Add entries for new manpages...
2001-01-23 10:47:41 +00:00
Ulf Möller
36f74d60b3
Definition of NO_KRB5 in ssl.h for external applications.
2001-01-22 18:46:32 +00:00
Ulf Möller
9756da13dd
Use the correct number of arguments in the example.
2001-01-21 19:46:50 +00:00
Ulf Möller
893b76c544
Mention the ./config script fixes.
2001-01-21 18:45:23 +00:00
Lutz Jänicke
b5a6f0a92d
Documentation about SSL_get_ex_data_X509_STORE_CTX_idx and
...
SSL_get_ex_new_index() functionality. Extended verify_callback()
example to show the usage.
2001-01-20 16:22:43 +00:00
Dr. Stephen Henson
ba8e28248f
Fix to stop X509_time_adj() using GeneralizedTime.
2001-01-20 13:38:45 +00:00
Dr. Stephen Henson
bfcec27d61
Update ocsp utility documentation.
2001-01-20 01:26:28 +00:00
Dr. Stephen Henson
8e8972bb68
Fixes to various ASN1_INTEGER routines for negative case.
...
Enhance s2i_ASN1_INTEGER().
2001-01-19 14:21:48 +00:00
Bodo Möller
57108f0ad5
Fix openssl passwd -1
2001-01-19 07:37:56 +00:00
Dr. Stephen Henson
73758d435b
Additional functionality in ocsp utility: print summary
...
of status info. Check nonce values. Option to disable
verify. Update usage message.
Rename status to string functions and make them global.
2001-01-19 01:32:23 +00:00
Dr. Stephen Henson
90f63e8f83
Don't shadow.
2001-01-18 01:36:54 +00:00
Dr. Stephen Henson
e8af92fcb1
Implement remaining OCSP verify checks in
...
accordance with RFC2560.
2001-01-18 01:35:39 +00:00
Richard Levitte
361ef5f4dc
Make the change log on the RAND_poll change a bit more explicit. Suggested by Bodo Moeller.
2001-01-17 13:43:18 +00:00
Richard Levitte
b3466895e6
Keep up with Unix
2001-01-17 01:35:35 +00:00
Dr. Stephen Henson
81f169e95c
Initial OCSP certificate verify. Not complete,
...
it just supports a "trusted OCSP global root CA".
2001-01-17 01:31:34 +00:00
Ulf Möller
a068630a20
link to the new manpage.
2001-01-15 22:19:30 +00:00
Bodo Möller
dfebac32c0
New '-extfile' option for 'openssl ca'.
...
This allows keeping extensions in a separate configuration file.
Submitted by: Massimiliano Pala <madwolf@comune.modena.it >
2001-01-15 11:35:24 +00:00
Geoff Thorpe
ab5db00717
Update the LHASH man page.
...
* Correct some prototypes and macros with respect to "const"ness.
* Add the extra macros and examples due to the lh_doall[_arg] modifications
made recently. The existing example is also reworked for consistency.
* Rewrite, tweak, and supplement bits of the existing comments that seemed
(IMHO) to be a little convoluted and misleading.
* Add a NOTE section that explains the use of macros and avoiding function
casts (ie. generate a wrapper as with the macros, or prototype any
callback functions exactly to not require casting). Also, explain the
"const" approach taken in LHASH for the purposes of API comprehensibility
and also application code auditing.
2001-01-14 23:37:42 +00:00
Dr. Stephen Henson
6308af199d
Change PKCS#12 key derivation routines to cope with
...
non null terminated passwords.
2001-01-14 14:07:10 +00:00
Dr. Stephen Henson
8e5b6314ef
Fix warning in apps/ca.c
2001-01-14 13:58:49 +00:00
Dr. Stephen Henson
b4b1bdd5d3
Preliminary ocsp utility documentation.
...
Fix ocsp usage message.
2001-01-14 00:52:19 +00:00
Dr. Stephen Henson
5782ceb298
New OCSP utility. This can generate, parse and print
...
OCSP requests. It can also query reponders and parse or
print out responses.
Still needs some more work: OCSP response checks and
of course documentation.
2001-01-13 01:48:38 +00:00
Bodo Möller
cc85ec447b
Disable RegQueryValueEx() call.
...
Problem reported by "Wolfgang Marczy" <WMarczy@topcall.co.at >
in a message to openssl-dev (19 Dec 2000 13:40:51 +0100).
2001-01-12 15:16:21 +00:00
Bodo Möller
c67cdb50d2
New 'openssl ca -status <serial>' and 'openssl ca -updatedb'
...
commands.
Submitted by: Massimiliano Pala <madwolf@comune.modena.it >
2001-01-12 14:50:44 +00:00
Bodo Möller
af5473c45a
isspace must be used only on *unsigned* chars
2001-01-12 14:45:12 +00:00
Bodo Möller
f2c46006e7
note strncpy problem
2001-01-12 14:06:26 +00:00
Bodo Möller
69e42952e1
When we are waiting for user action, we should say this explicitly.
2001-01-12 10:34:58 +00:00
Dr. Stephen Henson
adf87b2df5
Fix typo in OCSP ASN1 module, this caused
...
invalid format in OCSP request signatures.
Add spaces to OCSP HTTP header.
Change X509_NAME_set() there's no reason
why it should return an error if the
destination points to NULL... though it
should if the destination is NULL.
2001-01-11 23:24:28 +00:00
Bodo Möller
40753f760d
Remove "AVAILABLE PATCH" that has now been applied.
...
Move ex_data.c entry from "NEEDS PATCH" to "OPEN ISSUES".
2001-01-11 13:33:10 +00:00
Bodo Möller
d199858e89
New -newreq-nodes option to CA.pl.
...
Submitted by: Damien Miller <djm@mindrot.org >
2001-01-11 13:23:19 +00:00
Richard Levitte
10a2975a27
Add configuration for GNU Hurd.
2001-01-11 12:58:37 +00:00
Dr. Stephen Henson
9b4dc8308f
OCSP basic response verify. Very incomplete
...
but will verify the signatures on a response
and locate the signers certifcate.
Still needs to implement a proper OCSP certificate
verify.
Fix warning in RAND_egd().
2001-01-11 00:52:50 +00:00
Bodo Möller
b93642c5cc
No functional change, but slightly improved code clarity.
2001-01-10 19:26:34 +00:00
Bodo Möller
a5435e8b29
After discussion with Richard, change the new API for extended memory
...
allocation callbacks so that it is no longer visible to applications
that these live at a different call level than conventional memory
allocation callbacks.
2001-01-10 18:09:57 +00:00
Bodo Möller
72e2d9138c
It's silly to use a different default for PERL than in the top
...
Makefile. (The default is never actually used though because
the top Makefile passes its value of PERL down to sub-Makefiles.)
2001-01-10 16:46:00 +00:00
Bodo Möller
1dd080bca4
Pass ${PERL} down to the Makefile in sub-directory "test" in
...
"make tests"
2001-01-10 16:43:52 +00:00
Bodo Möller
f648590991
Use $(PERL) in place of hard-coded perl
2001-01-10 16:40:30 +00:00
Bodo Möller
a14280d41e
Add new items:
...
- 0.9.6a is under development
- a couple of illegal includes of <openssl/e_os.h> should be purged
- ex_data sucks
2001-01-10 16:37:35 +00:00
Bodo Möller
91b842c972
Last time I asked, no-one appeared to remember if these "NEEDS PATCH"
...
entries are still current or what they are about:
o non-blocking socket on AIX
o $(PERL) in */Makefile.ssl
So I'll remove them for now.
2001-01-10 16:25:12 +00:00
Bodo Möller
eddf82a36a
make indentation consistent
2001-01-10 15:31:04 +00:00
Bodo Möller
673b3fde82
Add SSLEAY_DIR argument code for SSLeay_version.
...
Add '-d' option for 'openssl version' (included in '-a').
2001-01-10 15:15:36 +00:00
Bodo Möller
a87e50a945
'char' argument to islower must be converted to 'unsigned char'
2001-01-10 14:58:22 +00:00
Bodo Möller
b62a0c4cab
Add a pointer to digest options in the description of -fingerprint.
2001-01-10 14:35:20 +00:00
Bodo Möller
c06648f7f0
Fix C code generate by 'openssl dsaparam -C'.
2001-01-10 14:26:32 +00:00
Bodo Möller
cd56182b41
Change prototypes for new CRYPTO_..._mem_ex_functions functions so
...
that they match the function definitions (namely, remove file/line
parameters from free_func).
2001-01-10 14:10:17 +00:00
Richard Levitte
65a22e8e4d
As response to a user request to be able to use external memory
...
handling routines that need file name and line number information,
I've added a call level to our memory handling routines to allow that
kind of hooking.
2001-01-10 13:14:58 +00:00
Dr. Stephen Henson
cbf0f45f90
Fix uni2asc() so it can properly convert zero length
...
unicode strings. Certain PKCS#12 files contain these
in BMPStrings and it used to crash on them.
2001-01-10 01:06:31 +00:00
Ulf Möller
b2293b1e9b
rsa_num is not used with NO_RSA
2001-01-09 21:39:16 +00:00
Geoff Thorpe
04e53c273f
oops, void functions shouldn't try and return a value. Strangely, gcc
...
didn't even give a warning for this yet HPUX cc considered it an error.
Reported by Lutz(@openssl.org).
2001-01-09 16:59:56 +00:00
Lutz Jänicke
599c03530a
Add automatic query of EGD sockets to RAND_poll(). The EGD sockets are
...
only queried when the /dev/[u]random devices did not return enough
entropy. Only the amount of entropy missing to reach the required minimum
is queried, as EGD may be drained.
Queried locations are: /etc/entropy, /var/run/egd-pool
2001-01-09 16:44:59 +00:00
Geoff Thorpe
56a67adb64
It was correctly pointed out to me that my CHANGES entry was a little thin
...
on details. :-)
2001-01-09 16:39:04 +00:00
Lutz Jänicke
28e5428d5d
Don't cheat: when only getting several bytes from each source, n is incremented
...
correctly, but RAND_add(..,n) counts the increasing n several times.
Only RAND_add(..,n) once entropy collection is finished.
2001-01-09 10:58:36 +00:00
Geoff Thorpe
3c91484052
Move all the existing function pointer casts associated with LHASH's two
...
"doall" functions to using type-safe wrappers. As and where required, this
can be replaced by redeclaring the underlying callbacks to use the
underlying "void"-based prototypes (eg. if performance suffers from an
extra level of function invocation).
2001-01-09 00:24:38 +00:00
Geoff Thorpe
98d517c5da
Get rid of the function pointer casting in the debugging memory code due
...
to LHASH usage. NB: The callback type used as been suctioned off into
crypto.h as CRYPTO_MEM_LEAK_CB to improve clarity.
2001-01-09 00:13:25 +00:00
Geoff Thorpe
18602745de
This adds macros to implement (and/or declare) type-safe wrapper functions
...
around the callbacks required in the LHASH code for the "doall" functions.
Also - fix the evil function pointer casting in the two lh_doall functions
by deferring to a static utility function. Previously lh_doall() was
invoking lh_doall_arg() by casting the callback to the 2-parameter
prototype and passing in a NULL argument. This appears to have been working
thus far but it's not a hot idea. If the extra level of indirection becomes
a performance hit, we can just provide two virtually identical
implementations for each variant later on.
2001-01-09 00:02:09 +00:00
Geoff Thorpe
ad2e032049
Whilst in the process of fixing outstanding function-pointer casts in the
...
LHASH code, this evil was uncovered. The cast was obscuring the fact that
the function was prototyped to take 2 parameters when in fact it is being
used as a callback that should take only one. Anyway, the function itself
ignores the second parameter (thankfully). A proper cure is on the way but
for now this corrects the inconsistency.
2001-01-08 22:03:27 +00:00
Richard Levitte
601140b363
Keep up with Unix code. It's beginning to be time to rethink the VMS
...
build system...
2001-01-08 21:32:46 +00:00
Richard Levitte
e02cc10ea4
Because /dev/urandom has a better chance of giving us a good and
...
quick answer, take that one first.
2001-01-08 21:27:53 +00:00
Dr. Stephen Henson
b5524a3ac3
Add prototypes for new OCSP functions.
...
Fix bug in OCSP_find_status().
2001-01-08 13:39:06 +00:00
Richard Levitte
0c61e299b3
Change RAND_poll for Unix to try a number of devices and only read
...
them for a short period of time (actually, poll them with select(),
then read() whatever is there), which is about 10ms (hard-coded value)
each.
Separate Windows and Unixly code, and start on a VMS variant that
currently just returns 0.
2001-01-08 10:59:26 +00:00
Dr. Stephen Henson
0b33bc65cd
Add set of OCSP client functions. All experimental
...
and subject to addition, modifcation or deletion.
Add two OCSP nonce utility functions.
Fix typo in status code name.
2001-01-08 01:21:55 +00:00
Richard Levitte
0f5fa24a7c
Keep up with the Unixly changes.
2001-01-07 18:51:28 +00:00
Dr. Stephen Henson
8e96183506
Modify OCSP API to more closely reflect
...
application needs.
Add OCSP library name to error code.
2001-01-05 03:31:51 +00:00
Dr. Stephen Henson
a8312c0e24
Fix typo in OCSP nonce extension.
...
Set correct type in ASN1_STRING for
INTEGER and ENUMERATED types.
Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get()
return -1 for invalid type rather than 0 (which is
often valid). -1 may also be valid but this is less
likely.
Load OCSP error strings in ERR_load_crypto_strings().
2001-01-04 19:53:48 +00:00
Dr. Stephen Henson
bf0d176e48
Update OCSP API.
...
Remove extensions argument from various functions
because it is not needed with the new extension
code.
New function OCSP_cert_to_id() to convert a pair
of certificates into an OCSP_CERTID.
New simple OCSP HTTP function. This is rather primitive
but just about adequate to send OCSP requests and
parse the response.
Fix typo in CRL distribution points extension.
Fix ASN1 code so it adds a final null to constructed
strings.
2001-01-04 01:46:36 +00:00
Dr. Stephen Henson
ec5add8784
Fix the S/MIME code so it now works again and
...
uses the new ASN1 code.
2000-12-31 17:31:57 +00:00
Richard Levitte
856d456a71
Make the DSO code for VMS work again. First attempt.
2000-12-31 01:55:46 +00:00
Richard Levitte
7f2113a2d5
The option line may start with a space, which gives an empty option.
...
Make sure those are purged...
2000-12-31 01:54:18 +00:00
Richard Levitte
97f56446a3
Look for no-krb5 and add the definition of NO_KRB5 if it's there.
...
I've no idea were the KRB5 header files and libraries are placed on
Win32. When there's better knowledge, we might be able to process the
other KRB5-related arguments as well...
2000-12-31 01:43:11 +00:00
Richard Levitte
5d92be8cc6
Temporary measure: if no KRB5 is defined, add "no-krb5" to the
...
options. This is so mk1mf.pl can pick it up from Makefile.
2000-12-31 01:41:01 +00:00
Richard Levitte
e102a3dcfd
Since asn1.h gets included recursively from many places, the easiest
...
is to have asn1.h include e_os.h and e_os2.h. Of course, this makes
the unofficial "non-export" status of e_os.h a bit delicate...
2000-12-31 01:18:50 +00:00
Dr. Stephen Henson
ecbe07817a
Rewrite PKCS#12 code and remove some of the old
...
horrible macros.
Fix two evil ASN1 bugs. Attempt to use 'ctx' when
NULL if input is indefinite length constructed
in asn1_check_tlen() and invalid pointer to ASN1_TYPE
when reusing existing structure (this took *ages* to
find because the new PKCS#12 code triggered it).
2000-12-31 01:13:04 +00:00
Richard Levitte
71db02813c
Remove RSAref-related things.
2000-12-31 00:48:58 +00:00
Richard Levitte
a6574c21eb
Document.
2000-12-31 00:26:18 +00:00
Richard Levitte
26da3e65ac
If OPENSSL_BUILD_SHLIBCRYPTO (for files that end up as libcrypto
...
objects) or OPENSSL_BUILD_SHLIBSSL (for files that end up as libssl
objects) is defined, redefine OPENSSL_EXTERN to be OPENSSL_EXPORT.
This is actually only important on Win32, and can safely be ignored in
all other cases, at least for now.
2000-12-31 00:23:17 +00:00
Richard Levitte
21cd437886
Define OPENSSL_EXPORT and OPENSSL_IMPORT and give OPENSSL_EXTERN the
...
default value OPENSSL_IMPORT. Explain the use of all those macros.
2000-12-31 00:15:57 +00:00
Richard Levitte
f09628e42f
Remove anything connected to RSAref, since that's gone by now.
...
Add the C macros OPENSSL_BUILD_SHLIBCRYPTO and OPENSSL_BUILD_SHLIBSSL
to the build of the object files as appropriate for each library.
2000-12-31 00:06:47 +00:00
Richard Levitte
6f346c7115
Uhmm, the keyword TRUE does not exist of course...
2000-12-31 00:00:02 +00:00
Dr. Stephen Henson
d8ecc56c9d
Delete PKCS#12 redundant files.
2000-12-30 12:26:33 +00:00
Dr. Stephen Henson
4e1209ebf8
ASN1_ITEM versions of ASN1_d2i_{fp, bio} and replacement of
...
most of the old wrappers. A few of the old versions remain
because they are non standard and the corresponding ASN1
code has not been reimplemented yet.
2000-12-30 02:40:26 +00:00
Dr. Stephen Henson
78d3b819f0
Replace the old ASN1_dup() with ASN1_item_dup() and
...
zap some evil function pointers casts along the way...
2000-12-29 18:23:55 +00:00
Richard Levitte
200b24e391
Check for deselection of KRB5. In fact, skip it completely on VMS for now...
2000-12-29 01:54:14 +00:00
Richard Levitte
1690c2b26e
Correct a typo.
2000-12-29 01:41:37 +00:00
Richard Levitte
701adceb12
"make update" plus a rewrite of both .num files.
2000-12-29 00:19:12 +00:00
Richard Levitte
3f07fe09b5
Enhancements to mkdef.pl:
...
* detect "unknown" algorithms (any C macro starting with NO_ that is
not explicitely mentioned in mkdef.pl as a known algorithm) and
report.
* add a number of algorithms that can be deselected.
* look in ssl/kssl.h as well.
* accept multiple whitespace (not just one SPC) in preprocessor lines.
2000-12-29 00:05:14 +00:00
Dr. Stephen Henson
f86c5c9ac7
ASN1_ITEM version of ASN1_dup(). Might want
...
something more efficient later...
2000-12-28 22:41:46 +00:00
Richard Levitte
66a0def81b
Update VMS build procedures to match the current status.
2000-12-28 22:26:11 +00:00
Dr. Stephen Henson
73e92de577
Add NO_ASN1_OLD to remove some old style functions:
...
currently OpenSSL itself wont compile with this set
because some old style stuff remains.
Change old functions X509_sign(), X509_verify() etc
to use new item based functions.
Replace OCSP function declarations with DECLARE macros.
2000-12-28 22:24:50 +00:00
Dr. Stephen Henson
09ab755c55
ASN1_ITEM versions of sign, verify, pack and unpack.
...
The old function pointer versions will eventually go
away.
2000-12-28 19:18:48 +00:00
Dr. Stephen Henson
ec558b6548
New OCSP extension functions.
2000-12-28 01:05:05 +00:00
Bodo Möller
037a9f9c1a
Get rid of unused error code.
2000-12-27 23:42:20 +00:00
Dr. Stephen Henson
29e1fdf3f2
Avoid compiler warnings in hw_ubsec.c: unused static
...
functions and signed/unsigned mismatch.
This will of course change if some of the unused functions
suddenly get used...
2000-12-27 19:20:14 +00:00
Dr. Stephen Henson
28ddfc61dc
X509V3_add_i2d() needs to be able to allocate a
...
STACK_OF(X509_EXTENSION) so it should be passed
STACK_OF(X509_EXTENSION) ** in the first argument.
Modify wrappers appropriately.
2000-12-27 13:42:43 +00:00
Bodo Möller
725c88879c
Finish SSL_peek/SSL_pending fixes.
2000-12-26 12:07:23 +00:00
Bodo Möller
a0aae68cf6
Fix SSL_peek and SSL_pending.
2000-12-25 18:40:46 +00:00
Dr. Stephen Henson
57d2f21782
New function X509V3_add_i2d() this is used for
...
encoding, replacing and deleting extensions.
Fix X509V3_get_d2i() so it uses takes note of
new critical behaviour.
2000-12-24 18:02:33 +00:00
Geoff Thorpe
895959b736
Re-order the options in tunala and add command switches like s_server for
...
disabling different SSL/TLS protocol versions.
2000-12-21 02:49:13 +00:00
Dr. Stephen Henson
3c07b4c2ee
Various Win32 related fixes. Doesn't compile yet on
...
Win32 but it is getting there...
Update mkdef.pl to handle ASN1_ANY and fix headers.
Stop various VC++ warnings.
Include some fixes from "Peter 'Luna' Runestig"
<peter@runestig.com >
Remove external declaration for des_set_weak_key_flag:
it doesn't exist.
2000-12-21 01:38:55 +00:00
Geoff Thorpe
1cc0b0a66a
This adds support to 'tunala' for supplying DH parameters (without which it
...
will not support EDH cipher suites). The parameters can either be loaded
from a file (via "-dh_file"), generated by the application on start-up
("-dh_special generate"), or be standard DH parameters (as used in
s_server, etc).
2000-12-20 22:14:23 +00:00
Geoff Thorpe
beb23252a6
Some minor changes to the "tunala" demo.
...
* Seal off some buffer functions so that only the higher-level IO functions
are exposed.
* Using the above change to buffer, add support to tunala for displaying
traffic totals when a tunnel closes. Useful in debugging and analysis -
you get to see the total encrypted traffic versus the total tunneled
traffic. This shows not only how much expansion your data suffers from
SSL (a lot if you send/receive a few bytes at a time), but also the
overhead of SSL handshaking relative to the payload sent through the
tunnel. This is controlled by the "-out_totals" switch to tunala.
* Fix and tweak some bits in the README.
Eg. sample output of "-out_totals" from a tunnel client when tunneling a brief
"telnet" session.
Tunnel closing, traffic stats follow
SSL (network) traffic to/from server; 7305 bytes in, 3475 bytes out
tunnelled data to/from server; 4295 bytes in, 186 bytes out
2000-12-20 19:30:19 +00:00
Ulf Möller
3ba25ee86a
branches have been merged.
2000-12-20 15:42:01 +00:00
Ulf Möller
0be35f5c51
Stop build when an error occurs.
...
"Peter 'Luna' Runestig" <peter+openssl-dev@runestig.com >
2000-12-20 15:23:31 +00:00
Bodo Möller
60f7492646
Don't access non-existing element buf[256], use buf[255] instead.
...
Submitted by: draslar <draslar@elray.ch >
2000-12-20 10:11:06 +00:00
Bodo Möller
1456d1860e
Split a CHANGES entry so that one of the halves matches the
...
corresponding new entry in the OpenSSL_0_9_6-stable branch.
2000-12-20 10:09:08 +00:00
Dr. Stephen Henson
5755cab49d
Fixes to OCSP print code.
...
Don't try to print request certificates if signature is not present.
Remove unnecessary test for certificates being NULL.
Fix typos in printed output.
Tidy up output.
Fix for typo in OCSP_SERVICELOC ASN1 template.
Also give a bit more info in CHANGES about the ASN1 revision.
2000-12-20 00:46:44 +00:00
Bodo Möller
975842f9fb
fix indentation
2000-12-19 12:39:45 +00:00
Bodo Möller
126fe085db
Don't hold CRYPTO_LOCK_RSA during time-consuming operations.
2000-12-19 12:31:41 +00:00
Bodo Möller
123d24d600
Add a comment (intended change)
2000-12-18 16:39:00 +00:00
Bodo Möller
3880cd35ad
Import s2_pkt.c wbuf fixes from OpenSSL_0_9_6-stable branch.
2000-12-18 11:35:32 +00:00
Bodo Möller
cb38052b3a
Comment correction.
2000-12-18 09:18:22 +00:00
Bodo Möller
f640ee90c3
Obtain lock CRYPTO_LOCK_RSA before creating BN_MONT_CTX
...
structures and setting rsa->_method_mod_{n,p,q}.
Submitted by: "Reddie, Steven" <Steven.Reddie@ca.com >
2000-12-18 09:00:48 +00:00
Bodo Möller
09f4278d25
undo previous change: '-prexit' is already available in current versions of s_client
2000-12-18 08:18:07 +00:00
Dr. Stephen Henson
1f47ec53a2
Redo OCSP response printing. Remove duplicate or
...
obsolete code. Delete some redundant files.
2000-12-17 14:09:43 +00:00
Bodo Möller
959f67d6a4
When mentioning features that don't exist in current releases of
...
OpenSSL (such as the new undocumented '-prexit' option to s_client),
the FAQ should point out that they don't: The FAQ is not just part
of the release, it's current version is also published on the web.
2000-12-17 00:32:49 +00:00
Bodo Möller
b2e7419a1d
Simplify preprocessor statements.
2000-12-17 00:30:03 +00:00
Dr. Stephen Henson
6546fdfaf8
Add OCSP service locator extension.
2000-12-16 12:51:58 +00:00
Richard Levitte
3a3ca1d474
Do not poll DEVRANDOM if weäre building without an file pointer API.
...
Spotted by "David Schwartz" <davids@webmaster.com >.
2000-12-16 11:19:19 +00:00
Richard Levitte
7522254b48
Make sure each FAQ item has an index entry.
2000-12-16 11:14:41 +00:00
Dr. Stephen Henson
f1a6a0d4dd
Add support for the noCheck OCSP extension. This is
...
just a NULL and appears in a certificate.
2000-12-16 01:58:58 +00:00
Dr. Stephen Henson
9c67ab2f26
Make mkdef.pl parse some ASN1 IMPLEMENT macros.
...
Initial support for variables in DEF files.
2000-12-16 01:19:24 +00:00
Dr. Stephen Henson
1a7b2d33f4
Add a couple of FAQs.
2000-12-16 01:07:16 +00:00
Ulf Möller
6e2dad1cc7
"Andrew W. Gray" <agray@iconsinc.com> says /GD is no longer a valid
...
compiler switch.
2000-12-15 20:59:37 +00:00
Bodo Möller
2c0d10123e
If CONF_get_string returns NULL and we want to tolerate this
...
(e.g., use a default), we have to call ERR_clear_error().
2000-12-15 16:59:49 +00:00
Bodo Möller
3ac82faae5
Locking issues.
2000-12-15 16:40:35 +00:00
Dr. Stephen Henson
c08523d862
Implement some standard OCSP extensions in the v3 code. These
...
are all raw print only extensions at present.
2000-12-15 13:42:00 +00:00
Bodo Möller
137e601277
The C version of bn_sub_part_words is needed not only
...
in NO_ASM configurations
2000-12-15 10:54:03 +00:00
Bodo Möller
09f4bd2a39
Very few in the "README" is up-to-date
2000-12-15 10:42:11 +00:00
Dr. Stephen Henson
2fc0d1f15e
Add OCSP nonce extension to supported extensions.
...
This is a little unusual because it can contain no
structure i.e. the extension OCTET STRING content
octets do not contain a DER encoded structure.
2000-12-14 23:27:20 +00:00
Geoff Thorpe
2a86064f95
Make a note of the new engine.
2000-12-14 21:49:48 +00:00
Geoff Thorpe
016d7d250a
This is an engine contributed by Broadcom - it is meant to support the
...
BCM5805 and BCM5820 units. So far I've merely taken a skim over the code
and changed a few things from their original contributed source
(de-shadowing variables, removing variables from the header, and
re-constifying some functions to remove warnings). If this gives
compilation problems on any system, please let me know. We will hopefully
know for sure whether this actually functions on a system with the relevant
hardware in a day or two. :-)
2000-12-14 21:41:55 +00:00
Dr. Stephen Henson
2c15d426b9
New function X509V3_extensions_print() this removes extension duplication
...
from the print routines.
Reorganisation of OCSP code: initial print routines in ocsp_prn.c. Doesn't
work fully because OCSP extensions aren't reimplemented yet.
Implement some ASN1 functions needed to compile OCSP code.
2000-12-14 18:42:28 +00:00
Bodo Möller
bdcfe1d165
typo
2000-12-14 17:47:29 +00:00
Bodo Möller
3b28dbce7e
The BN_mul bug test apparently is no longer needed
2000-12-14 17:46:36 +00:00
Bodo Möller
5a4fbc69c3
First step towards SSL_peek fix.
2000-12-14 17:36:59 +00:00
Bodo Möller
7e7c8952b5
Update.
2000-12-14 17:29:33 +00:00
Dr. Stephen Henson
de487514ae
New function X509_signature_print() to remove some duplicate
...
code from certificate, CRL and request printing routines.
2000-12-14 00:53:10 +00:00
Dr. Stephen Henson
06db4253e2
Change the PKCS7 structure to use SEQUENCE OF for the
...
authenticated attributes: this is used to retain the
original encoding and not break signatures.
Support for a SET OF which reorders the STACK when
encoding a structure. This will be used with the
PKCS7 code.
2000-12-13 23:54:30 +00:00
Ulf Möller
4ce7894c4a
c&p error spotted by Martin Forssen
2000-12-13 23:00:33 +00:00
Dr. Stephen Henson
36f554d43c
Replace the old style OCSP ASN1 module.
2000-12-13 18:21:51 +00:00
Richard Levitte
8d28d5f81b
Constification of the data of a hash table. This means the callback
...
functions need to be constified, and therefore meant a number of easy
changes a little everywhere.
Now, if someone could explain to me why OBJ_dup() cheats...
2000-12-13 17:15:03 +00:00
Richard Levitte
53b407da84
Problem: bn_mul_normal() misbehaves if the size of b is 0.
...
Solution: multiply a with 0, putting the result in r, and return.
2000-12-13 15:29:29 +00:00
Richard Levitte
765e531159
In bn_mul_recursive(), make sure the comba routines are only called
...
when both a and b are of the exact right size. This may change to
something better later.
2000-12-13 14:47:06 +00:00
Richard Levitte
de282fe3ba
When using -pedantic, it's a good thing to define PEDANTIC as well.
...
Also, define a second debugging configuration without assembler.
2000-12-13 14:04:08 +00:00
Dr. Stephen Henson
36ac656a1b
Stop extension creation code core dumping.
...
This was caused by no initialising the buffer
to NULL when using the auto allocating version
if i2d.
2000-12-13 13:55:03 +00:00
Dr. Stephen Henson
2aff7727f7
Rewrite the extension code to use an ASN1_ITEM structure
...
for its ASN1 operations as well as the old style function
pointers (i2d, d2i, new, free). Change standard extensions
to support this.
Fix a warning in BN_mul(), bn_mul.c about uninitialised 'j'.
2000-12-13 13:47:33 +00:00
Lutz Jänicke
cc93ae3ef4
Add description of SSL_[CTX_]_check_private_key().
2000-12-12 21:06:29 +00:00
Richard Levitte
34d69d3b23
SSL_new() may potentially add a certfificate. Therefore, wen
...
duplicating the certificate that is in the original SSL, remove the
one that SSL_new() provided, if any.
Spotted by: Mike Zeoli <zeoli@roguewave.com >
2000-12-12 08:08:53 +00:00
Bodo Möller
daea0ff8a9
Change/add comments
2000-12-11 17:28:07 +00:00
Ulf Möller
448701473a
Stop on bntest error.
2000-12-10 04:25:57 +00:00
Ulf Möller
572f0017d5
*** empty log message ***
2000-12-10 04:22:45 +00:00
Richard Levitte
df2c442a6d
Make TYPE_RSA the default type instead of just setting it when -new is
...
given. That also allows the arguments to come in any order (-new
last, for example).
2000-12-09 11:11:35 +00:00
Bodo Möller
23e2947cc8
Use continuation lines in test/bctest as far as it is possible
...
to dermine what the expression should look like.
Apparently CVS does not like lines longer than about 2^10 characters.
2000-12-09 10:07:47 +00:00
Bodo Möller
44b51ca36c
Don't throw away bctest's error messages.
2000-12-09 10:05:03 +00:00
Ulf Möller
bbf848ce8d
Test for SCO bc bug
2000-12-09 02:45:59 +00:00
Geoff Thorpe
d0fa136ce2
Next step in tidying up the LHASH code.
...
DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe
wrapper functions that avoid the use of function pointer casting yet retain
type-safety for type-specific callbacks. However, most of the usage within
OpenSSL itself doesn't really require the extra function because the hash
and compare callbacks are internal functions declared only for use by the
hash table. So this change catches all those cases and reimplements the
functions using the base-level LHASH prototypes and does per-variable
casting inside those functions to convert to the appropriate item type.
The exception so far is in ssl_lib.c where the hash and compare callbacks
are not static - they're exposed in ssl.h so their prototypes should not be
changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left
intact.
2000-12-08 20:02:01 +00:00
Ulf Möller
15156cce0e
bn_part_sub_word prototype.
2000-12-08 19:10:33 +00:00
Dr. Stephen Henson
9d6b1ce644
Merge from the ASN1 branch of new ASN1 code
...
to main trunk.
Lets see if the makes it to openssl-cvs :-)
2000-12-08 19:09:35 +00:00
Lutz Jänicke
66ebbb6a56
Add manual pages for certficate/key loading and friends.
2000-12-08 14:29:13 +00:00
Bodo Möller
c5e48d8b01
Placeholder for SCO bc bug detection
2000-12-08 08:30:38 +00:00
Bodo Möller
8dea52fa42
Fix some things that look like bugs.
...
One problem that looked like a problem in bn_recp.c at first turned
out to be a BN_mul bug. An example is given in bn_recp.c; finding
the bug responsible for this is left as an exercise.
2000-12-07 22:06:09 +00:00
Bodo Möller
f7356b677b
TEST_MUL and TEST_SQR added.
2000-12-07 11:11:10 +00:00
Bodo Möller
80d89e6a6a
Sign-related fixes (and tests).
...
BN_mod_exp_mont does not work properly yet if modulus m
is negative (we want computations to be carried out
modulo |m|).
2000-12-07 08:48:58 +00:00
Bodo Möller
bc5f2740d2
Move 'q->neg = 0' to those places where it is needed
...
(just in cases someone uses a negative modulus)
2000-12-07 07:55:26 +00:00
Bodo Möller
aa66eba7c8
BN_mod_sqrt documentation/comment
2000-12-06 21:33:58 +00:00
Ulf Möller
f27b45d237
Don't check for bc at all. We can now run a meaningful test even if
...
it is missing.
2000-12-06 16:39:09 +00:00
Ulf Möller
3bb4736289
remove a comment that shouldn't have been there any more
2000-12-06 16:30:23 +00:00
Bodo Möller
bac685417a
Faster BN_mod_sqrt algorithm for p == 5 (8).
2000-12-06 12:25:33 +00:00
Bodo Möller
1a4d6400ae
Printing "verify ..." should not be counted as a test for the
...
"xxx tests passed" message.
2000-12-06 12:24:27 +00:00
Richard Levitte
322006dcb1
During the self test, we only want to know what bctest says on
...
stderr...
2000-12-06 10:58:13 +00:00
Richard Levitte
db01d55671
Have the self test use bctest to check that bc is sane.
2000-12-06 10:54:31 +00:00
Bodo Möller
0a52d38b31
Use bc's "print" feature whenever it is available,
...
not just on certain platforms.
2000-12-06 10:32:55 +00:00
Bodo Möller
902d1051b1
Add a comment.
2000-12-06 09:53:29 +00:00
Bodo Möller
f67868ff4c
Workaround for broken (or missing) bc.
2000-12-06 09:48:57 +00:00
Ulf Möller
a6576c56dd
remove useless instruction
2000-12-06 04:48:50 +00:00
Ulf Möller
240f516939
Intel assembler version for bn_sub_part_words(). I haven't got
...
reliable timings yet, please try it out!
2000-12-06 04:16:38 +00:00
Ulf Möller
ef8f14a882
another fix for the debug print
2000-12-06 04:14:37 +00:00
Ulf Möller
aecb0b018f
test_mod_mul is useful, let's run it more often.
2000-12-06 04:14:30 +00:00
Ulf Möller
e4d56bab5b
move constants for debug functions to end of file
2000-12-06 00:19:09 +00:00
Richard Levitte
1435ccfba1
Update the internal docs.
2000-12-05 19:18:51 +00:00
Lutz Jänicke
d766a23deb
Typo and additional information about cert-chain building.
2000-12-05 16:47:22 +00:00
Lutz Jänicke
b1e21f8fac
Add EXAMPLES for SSL_CIPHER_description() output.
2000-12-05 16:45:26 +00:00
Bodo Möller
9347ba487c
Discuss http://www.shoup.net/papers/oaep.ps.Z
2000-12-05 10:30:21 +00:00
Richard Levitte
c28500900e
On Windows, Rainbow uses _stdcall convention under Windows.
...
Spotted by plin <plin@rainbow.com >
2000-12-05 08:16:25 +00:00
Ulf Möller
e4c5391ddb
push the flags too
2000-12-05 06:38:45 +00:00
Ulf Möller
0c34556cbd
looks like it works now
2000-12-05 05:39:43 +00:00
Ulf Möller
b50118ca3e
save registers in the debug output code (return value is overwritten too)
2000-12-05 05:10:05 +00:00
Ulf Möller
a57ecb95f6
more of the same: add printf() for perlasm.
2000-12-05 04:39:39 +00:00
Ulf Möller
428a55a0fe
minor modification to the previous change
2000-12-05 03:57:58 +00:00
Ulf Möller
cc74659fcc
PERLASM - the wierdest programming language since Intercal.
...
add debug output facilities.
2000-12-05 03:51:46 +00:00
Ulf Möller
90e7ce363a
Use assert as in the rest of the BN library.
2000-12-05 02:00:40 +00:00
Bodo Möller
a47b505e37
Improve formatting.
2000-12-04 19:04:55 +00:00
Richard Levitte
9f49524331
It's completely unnecessary to add a compression algorithm that is
...
really undefined.
Spotted by Jeffrey Altman <jaltman@columbia.edu >
2000-12-04 17:17:03 +00:00
Richard Levitte
6a2347ee45
Remove the last bn_wexpand()s that made us break constness. Of
...
course, that means we need to handle the cases where the two arrays to
bn_mul_recursive() and bn_mul_part_recursive() differ in size.
I haven't yet changed the comments that describe bn_mul_recursive()
and bn_mul_part_recursive(). I want this to be tested by more people
before I consider this change final. Please test away!
2000-12-04 17:11:59 +00:00
Bodo Möller
e5164b7041
Change error message to "bignum too long"
2000-12-04 09:24:54 +00:00
Geoff Thorpe
ebff44b83a
Sync up with a minor change in lhash.h
2000-12-04 04:54:59 +00:00
Geoff Thorpe
c0e7c3aab9
ANSI C doesn't allow trailing semi-colons after a function's closing brace
...
so these macros probably shouldn't be used like that at all. So, this
change removes the misleading comment and also adds an implicit trailing
semi-colon to the DECLARE macros so they too don't require one.
2000-12-04 04:52:38 +00:00
Geoff Thorpe
733777275b
Update the documentation to the current state of the LHASH changes. There
...
will probably be more when the lh_doall[_arg] callbacks are similarly
tidied up, but this 'pod' should now be current.
2000-12-04 04:35:04 +00:00
Geoff Thorpe
f1919c3df9
Make a note of the LHASH changes.
2000-12-04 03:35:35 +00:00
Geoff Thorpe
97b1719583
Make the remaining LHASH macro changes. This should leave no remaining
...
cases of function pointer casting in lh_new() calls - and leave only the
lh_doall and lh_doall_arg cases to be finished.
2000-12-04 03:02:44 +00:00
Ben Laurie
b0dc680f71
Fix warnings.
2000-12-03 10:04:22 +00:00
Bodo Möller
addb309ad6
include <limits.h>
2000-12-03 09:55:08 +00:00
Bodo Möller
152a689cf9
Don't allow BIGNUMs to become so large that computations with dmax
...
might overflow.
2000-12-03 09:39:04 +00:00
Geoff Thorpe
35a99b6380
Use the new LHASH macros to declare type-safe wrapper functions that can
...
be used as the hash/compare callbacks without function pointer casting.
For now, this is just happening in the apps/ directory whilst a few people
check the approach. The rest of the library will be moved across to the
same idea if there's no problems with this.
2000-12-02 23:16:54 +00:00
Geoff Thorpe
dfa46e502d
Next step in tidying up the LHASH code. This commit defines DECLARE and
...
IMPLEMENT macros for defining wrapper functions for "hash" and "cmp" callbacks
that are specific to the underlying item type in a hash-table. This prevents
function pointer casting altogether, and also provides some type-safety
because the macro does per-variable casting from the (void *) type used in
LHASH itself to the type declared in the macro - and if that doesn't match the
prototype expected by the "hash" or "cmp" function then a compiler error will
result.
NB: IMPLEMENT macros are not required unless predeclared forms are required
(either in a header file, or further up in a C file than the implementation
needs to be). The DECLARE macros must occur after the type-specific hash/cmp
callbacks are declared. Also, the IMPLEMENT and DECLARE macros are such that
they can be prefixed with "static" if desired and a trailing semi-colon should
be appended (making it look more like a regular declaration and easier on
auto-formatting text-editors too).
Now that these macros are defined, I will next be commiting changes to a
number of places in the library where the casting was doing bad things. After
that, the final step will be to make the analogous changes for the lh_doall
and lh_doall_arg functions (more specifically, their callback parameters).
2000-12-02 23:08:59 +00:00
Richard Levitte
c21c35e6a4
Add a comment to explain the purpose of bn_cmp_part_words().
2000-12-02 21:16:13 +00:00
Ulf Möller
b26f84cbbd
last commit was wrong. Now it works. :)
2000-12-02 20:51:47 +00:00
Ulf Möller
0dba0613ea
argl
2000-12-02 19:34:42 +00:00
Ulf Möller
e0c875081e
remember the problem with ftime()
2000-12-02 18:50:31 +00:00
Ulf Möller
ea1b7fe6d4
forgot to remove the loop variable
2000-12-02 16:20:04 +00:00
Ulf Möller
db88223baa
Loops like this one:
...
if (bp == NULL)
for (j=0; j<10000; j++)
BN_add(&c,&a,&b);
seem to be pretty useless, and bp never is NULL anyway.
2000-12-02 16:13:27 +00:00
Ulf Möller
d29b63bc9b
Move the rijndael "test" to the bf and cast tests.
2000-12-02 08:11:55 +00:00
Ulf Möller
1946cd8bc2
Note the bntest change.
...
The *_part_words functions are not static.
2000-12-02 07:50:30 +00:00
Ulf Möller
111482cf2e
New function BN_bntest_rand() to detect more BN library bugs.
...
The bn_cmp_part_words bug was only caught in the BN_mod_mul() test,
not in the BN_mul() test, so apparently the choice of parameters in
some cases is bad.
2000-12-02 07:32:57 +00:00
Ulf Möller
52a1bab2d9
Fix bn_cmp_part_words() and move it to bn_lib.c.
2000-12-02 07:28:43 +00:00
Ulf Möller
0826c85f4c
remove unused static function
2000-12-02 07:20:47 +00:00
Geoff Thorpe
385d81380c
First step in tidying up the LHASH code. The callback prototypes (and
...
casts) used in the lhash code are about as horrible and evil as they can
be. For starters, the callback prototypes contain empty parameter lists.
Yuck.
This first change defines clearer prototypes - including "typedef"'d
function pointer types to use as "hash" and "compare" callbacks, as well as
the callbacks passed to the lh_doall and lh_doall_arg iteration functions.
Now at least more explicit (and clear) casting is required in all of the
dependant code - and that should be included in this commit.
The next step will be to hunt down and obliterate some of the function
pointer casting being used when it's not necessary - a particularly evil
variant exists in the implementation of lh_doall.
2000-12-01 20:31:52 +00:00
Richard Levitte
862e973b50
Write a first HOWTO on how to create certificates. This is currently
...
a draft.
2000-12-01 17:44:33 +00:00
Richard Levitte
2efff10cfa
Correct a mail address...
2000-12-01 16:49:53 +00:00
Richard Levitte
33479d275a
Document the addition of Kerberos stuff.
2000-12-01 14:40:45 +00:00
Richard Levitte
3e7a6396ed
Typo corrected.
2000-12-01 14:33:19 +00:00
Bodo Möller
5a12df5c40
functionality for BN_mod_sqrt timings
2000-12-01 09:41:21 +00:00
Bodo Möller
b5a25a430a
"make depend"
2000-12-01 08:48:42 +00:00
Bodo Möller
592c784ffe
update
2000-12-01 08:46:47 +00:00
Ulf Möller
17e757478a
GPL FAQ.
...
I hope this adequately summarizes the results of all those disussions.
2000-12-01 02:47:50 +00:00
Ulf Möller
a023052580
Borland C fix.
2000-12-01 01:53:08 +00:00
Ulf Möller
4b757c830d
typo
2000-12-01 01:51:04 +00:00
Richard Levitte
9b7a552f4b
Recognise Darwin as well. For now, have it do exactly the same thing as for Rhapsody
2000-12-01 01:11:54 +00:00
Bodo Möller
8df788c97f
COMP_zlib should always be declared, even if it is not functional.
...
Don't dump core in ssltest.
2000-11-30 23:41:58 +00:00
Bodo Möller
12cfcc128c
Fix the recently introduced test that checks if the result is 0
2000-11-30 22:58:27 +00:00
Richard Levitte
f9b3bff6f7
First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu>
2000-11-30 22:53:34 +00:00
Bodo Möller
fc2e05c2d5
Fix BN_rshift, which caused lots of trouble.
2000-11-30 22:34:57 +00:00
Bodo Möller
b2993bdea1
Remove randomness from the test. These constants give me a segment
...
violation in test_kron on a 32 bit system.
2000-11-30 21:03:13 +00:00
Bodo Möller
470fa98f8a
BN_mod_exp(r,a,p,m,ctx) should not be called with r == p.
...
But even if this is avoided, there are still segmentation violations
(during one of the BN_free()s at the end of test_kron
in some cases, in other cases during BN_kronecker, or
later in BN_sqrt; choosing a different exponentiation
algorithm in bntest.c appears to influence when the SIGSEGV
takes place).
2000-11-30 20:03:24 +00:00
Bodo Möller
de6e207db6
It's "#elif", not "#elsif".
2000-11-30 19:35:51 +00:00
Richard Levitte
1363155145
A few bug fixes for Windows.
2000-11-30 17:41:01 +00:00
Bodo Möller
db5bda670f
Changes to Lenka's Montgomery implementation.
...
Submitted by: Lenka Fibikova
2000-11-30 17:35:17 +00:00
Richard Levitte
0ae485dc07
New format for the FAQ. We now have different sections for different
...
types of questions. Hopefully, that'll make them easier to spot, and
specially, easier to refer to.
2000-11-30 13:04:14 +00:00
Bodo Möller
19cda70045
Corrections to the comments in BN_mod_inverse.
2000-11-30 12:53:53 +00:00
Richard Levitte
4751717cd8
The compression method may be undefined for some reason that has
...
generated errors. Therefore, print whatever error there may be...
2000-11-30 12:53:15 +00:00
Richard Levitte
bd68b6b1f6
Simplify and provide the possibility to clean a compression method.
2000-11-30 12:22:35 +00:00
Richard Levitte
cd9b7d7c35
comp_methods in a SSL_CTX points at an internal database. Do *not*
...
free that, since it's shared by all SSL_CTX's, present and future.
2000-11-30 12:21:33 +00:00
Richard Levitte
058123afb6
Turn off memory checking when loading new compression algorithms.
2000-11-30 12:19:54 +00:00
Richard Levitte
a4614bf06d
COMP_METHOD has a new argument since some time back...
2000-11-30 12:18:10 +00:00
Richard Levitte
23f80f46a4
Make it possible to test SSL compression
2000-11-30 11:57:31 +00:00
Richard Levitte
c4438dc0e5
Change c_zlib further to allow loading a shared zlib on all operating
...
systems where such an operation is supported.
2000-11-30 11:56:00 +00:00
Bodo Möller
04ca16890b
BN_mod_exp problems ...
2000-11-30 11:47:04 +00:00
Richard Levitte
20f88b9bd4
Changes to c_zlib.c to make ZLIB.DLL dynamically loadable under
...
Windows. Really, this should probably be done on Unix as well, but
that will be a later story...
2000-11-30 10:25:45 +00:00
Bodo Möller
25439b76ad
Move reduction step from BN_mod_exp to BN_mod_exp_mont_word.
...
Fix BN_mod_exp_simple for a==0 (mod m).
Skip useless round in BN_mod_sqrt (1 is always a square, no need
to test BN_kronecker for it).
2000-11-30 09:45:26 +00:00
Geoff Thorpe
3465dd3853
* Fix a slight bug in the state-machine. This caused the client end of a
...
tunnel to not pro-actively close down when failing an SSL handshake.
* Change the cert-chain callback - originally this was the same one used in
s_client and s_server but the output's as ugly as sin, so I've prettied
tunala's copy output up a bit (and made the output level configurable).
* Remove the superfluous "errors" from the SSL state callback - these are just
non-blocking side-effects.
2000-11-30 01:34:26 +00:00
Bodo Möller
ac445acf69
bn_modfs.c is no longer needed, a BN_sqrt implementation
...
exists in bn_sqrt.c now
2000-11-30 00:43:41 +00:00
Bodo Möller
77ac92d00a
Fix bntest.c problem -- one of the primes got lost
2000-11-30 00:37:49 +00:00
Bodo Möller
73c2522c7c
Handle special cases correctly in exponentation functions.
...
test_bn still fails in the BN_sqrt test because
small primes appear to turn into zero for no
obvious reason, leading to "div by zero" errors.
2000-11-30 00:33:18 +00:00
Bodo Möller
6b5d39e82d
BN_mod_sqrt
2000-11-30 00:20:20 +00:00
Bodo Möller
cd2eebfd64
BN_sqrt
2000-11-30 00:18:19 +00:00
Ulf Möller
06676624fc
Add a warning about the usage of the montgomery functions (if the inputs
...
are not reduced modulo m, the outputs won't be either).
2000-11-29 22:37:14 +00:00
Geoff Thorpe
ef8b601789
Amend the original CHANGES log entry. The ex_data handling has been
...
similarly modified now on DH and DSA.
2000-11-29 20:02:00 +00:00
Bodo Möller
01e62900c7
BN_legendre is no longer needed now that OpenSSL has BN_kronecker.
2000-11-29 19:59:59 +00:00
Geoff Thorpe
d50f1bdfac
Do to DH and DSA what has already been done to RSA. This involves moving
...
the initialisation and cleanup of "ex_data" elements to before an init()
handler and after a finish() handler respectively.
2000-11-29 19:59:45 +00:00
Bodo Möller
38b40c624c
mark a bug
2000-11-29 19:29:47 +00:00
Bodo Möller
eb1f1b0a34
Fix BN_kronecker so that it works correctly if 'a' is negative
...
(we need the two's complement of BN_lsw then).
2000-11-29 19:26:33 +00:00
Geoff Thorpe
a9376dbff9
More little changes to the tunala demo;
...
* A little bit of code-cleanup
* Reformat the usage string (not so wide)
* Allow adding an alternative (usually DSA) cert/key pair (a la s_server)
* Allow control over cert-chain verify depth
2000-11-29 19:22:54 +00:00
Bodo Möller
14697d9d6d
BN_to_montgomery expects its inputs to be in the interval 0 .. modulus-1,
...
so we have to reduce the random numbers used in test_mont.
Before this change, test_mont failed in [debug-]solaris-sparcv9-gcc
configurations ("Montgomery multiplication test failed!" because
the multiplication result obtained with Montgomery multiplication
differed from the result obtained by BN_mod_mul).
Substituing the old version of bn_gcd.c (BN_mod_inverse) did not avoid
the problem.
The strange thing is that it I did not observe any problems
when using debug-solaris-sparcv8-gcc and solaris-sparcv9-cc,
as well as when compiling OpenSSL 0.9.6 in the solaric-sparcv9-gcc
configuration on the same system.
2000-11-29 18:08:24 +00:00
Lutz Jänicke
c6a926d9e2
Log security relevant change.
2000-11-29 18:06:18 +00:00
Ulf Möller
c1db5bfc08
fix for Borland C
2000-11-29 16:43:50 +00:00
Bodo Möller
429b8162c6
add missing braces
2000-11-29 16:43:03 +00:00
Lutz Jänicke
0dd2254d76
Store verify_result with sessions to avoid potential security hole.
...
For the server side this was already done one year ago :-(
2000-11-29 16:04:38 +00:00
Bodo Möller
03a0848922
Fix warnings in expspeed.c (but the segmentation fault remains)
...
Improve readability of bn_shift.c.
Add comment in bn_lib.c (why zero data between top and max?)
Change bntest.c output for BN_kronecker test
2000-11-29 13:40:08 +00:00
Bodo Möller
9161672950
BN_bin2bn did *not* contain an off-by-one error;
...
I'm still investigating what caused the segementation fault
(maybe "make clean; make" will cure it ...).
But BN_bin2bn should always reset ret->neg.
2000-11-29 12:53:41 +00:00
Bodo Möller
a08bcccc67
Expand expspeed.c to make BN_kronecker timings.
...
This caused a segmentation fault in calls to malloc, so I cleaned up
bn_lib.c a little so that it is easier to see what is going on.
The bug turned out to be an off-by-one error in BN_bin2bn.
2000-11-29 12:32:10 +00:00
Bodo Möller
bdec3c5323
Implement BN_kronecker test.
...
Modify "CHANGES" entry for BN_mod_inverse (it's not just avoiding BN_div
that increases performance, avoiding BN_mul also helps)
2000-11-29 11:06:50 +00:00
Bodo Möller
53d286797c
avoid segmentation fault
2000-11-29 11:04:31 +00:00
Bodo Möller
b6cafbd7d8
Make BN_mod_inverse a little faster
2000-11-29 09:57:13 +00:00
Bodo Möller
499e167fda
Improve BN_mod_inverse performance.
...
Get the BN_mod_exp_mont bugfix (for handling negative inputs) correct
this time.
2000-11-29 09:41:19 +00:00
Richard Levitte
0135e33511
Copy and paste error... bn_add_part_words() should of course call
...
bn_add_words(), not bn_sub_words()...
2000-11-29 09:36:48 +00:00
Geoff Thorpe
f2cc7559dd
Make s_client/s_server-style cert verification output configurable by
...
command line, and make the peer-authentication similarly configurable.
2000-11-29 01:29:08 +00:00
Ulf Möller
fe8686ba4b
use standard C
2000-11-29 00:07:07 +00:00
Geoff Thorpe
4aa69fe0b6
Minor tweaks and improvements to the tunala demo.
...
- Add "-cipher" and "-out_state" command line arguments to control SSL
cipher-suites and handshake debug output respectively.
- Implemented error handling for SSL handshakes that break down. This uses
a cheat - storing a non-NULL pointer as "app_data" in the SSL structure
when the SSL should be killed.
2000-11-28 23:27:23 +00:00
Geoff Thorpe
b984cd2b01
A typo and a couple of logic errors fixed. I think there may still be one
...
or two kinks lurking around, but it now appears to deal with the basic
test cases ok.
2000-11-28 19:09:58 +00:00
Bodo Möller
adcc64cd9e
Use BN_pseudo_rand instead of BN_rand
2000-11-28 11:49:12 +00:00
Bodo Möller
c94b6de017
Timings.
2000-11-28 11:47:51 +00:00
Bodo Möller
000e21779c
Note that SSL_peek has been disabled.
2000-11-28 11:13:06 +00:00
Richard Levitte
f1d6f64c8e
Addapt to added files in the BIGNUM section
2000-11-28 10:20:02 +00:00
Bodo Möller
d79cab27a5
Correct a bug in BN_kronecker.
...
Sketch the test for BN_kronecker.
2000-11-28 07:53:35 +00:00
Bodo Möller
24b44446e2
Comments on SSL_peek deficiencies
2000-11-28 06:58:22 +00:00
Bodo Möller
87739b2c53
Disable SSL_peek until it is fixed.
2000-11-28 06:48:36 +00:00
Bodo Möller
c782089611
Add test_kron function, which will contain a test for BN_kronecker.
2000-11-28 06:41:05 +00:00
Bodo Möller
265592b99a
Add bn_kron.c (BN_kronecker), which I forgot in the previous commit.
...
Also add the next file in advance so that I can't forget this one :-)
2000-11-28 06:37:43 +00:00
Bodo Möller
077ff61eef
Undo previous commit, which was an accident.
2000-11-27 21:22:45 +00:00
Bodo Möller
dcbd0d74d5
Fix BN_is_... macros.
...
Fix BN_gcd.
Analyze BN_mod_inverse.
Add BN_kronecker.
"make update".
2000-11-27 21:17:20 +00:00
Bodo Möller
1ec0a3862e
Change submitted files so that they compile (in particular,
...
use BN_CTX_start/get/end instead of accessing ctx->tos).
Change indentation to "EAY" style.
2000-11-26 19:20:56 +00:00
Bodo Möller
946cd9a540
Change submitted files so that they compile (in particular,
...
use BN_CTX_start/get/end instead of accessing ctx->tos).
Change indentation to "EAY" style.
2000-11-26 19:13:52 +00:00
Geoff Thorpe
0ac87024e3
It was a small change, but it *could* conceivably affect people - so I'm
...
making a note in the CHANGES file.
2000-11-26 18:39:27 +00:00
Geoff Thorpe
7abe830501
Ensure that the "ex_data" member of an RSA structure is initialised before
...
the RSA_METHOD's "init()" handler is called, and is cleaned up after the
RSA_METHOD's "finish()" handler is called. Custom RSA_METHODs may wish to
initialise contexts and other specifics in the RSA structure upon creation
and that was previously not possible - "ex_data" is where that stuff
should go and it was being initialised too late for it to be used.
2000-11-26 18:34:45 +00:00
Bodo Möller
5acaa49504
More BN_mod_... functions.
2000-11-26 18:31:32 +00:00
Bodo Möller
535b9b5724
Add bn_mod.c (should have happend in the previous commit ...).
...
BN_swap manual page.
2000-11-26 16:46:57 +00:00
Bodo Möller
78a0c1f18d
modular arithmetics
...
"make update"
2000-11-26 16:42:38 +00:00
Bodo Möller
6cc5e19d47
Remove CR at line ends.
2000-11-26 12:55:19 +00:00
Bodo Möller
7e0c5264e7
Elliptic curves over GF(p), new BIGNUM functions, Montgomery re-implementation.
...
These new files will not be included literally in OpenSSL, but I intend
to integrate most of their contents. Most file names will change,
and when the integration is done, the superfluous files will be deleted.
Submitted by: Lenka Fibikova <fibikova@exp-math.uni-essen.de >
2000-11-26 12:12:35 +00:00
Richard Levitte
73343ac38a
Correct a number of syntax errors.
2000-11-22 18:20:31 +00:00
Richard Levitte
d53d271728
Addapt the VMS scripts to the changes in the Makefiles.
2000-11-22 18:17:16 +00:00
Ulf Möller
37fc8c3747
Remove RSAREF (not used).
...
You can still get the code using tag "rsaref".
2000-11-22 16:52:29 +00:00
Richard Levitte
01412ec600
Addapt the VMS scripts to the changes in the Makefiles.
2000-11-22 04:54:06 +00:00
Richard Levitte
c4f3542abf
Reimplement bn_div_words, bn_add_words and bn_sub_words for VAX.
...
I'm a little bit nervous about bn_div_words, as I don't know what it's
supposed to return on overflow. For now, I trust the rest of the
system to give it numbers that will not cause any overflow...
2000-11-21 23:32:38 +00:00
Richard Levitte
c799770060
Avoid getting warnings about unary - being used on unsigned integer.
2000-11-21 23:29:55 +00:00
Ben Laurie
cd26e6c79d
Oops! Read a full buffer instead of some spurious number from elswhere.
2000-11-21 21:37:48 +00:00
Richard Levitte
4e773226f5
'echo on' works better all over than 'echo=on'. We had the same
...
problem in some other file, but I can't recall which.
2000-11-20 21:30:43 +00:00
Ben Laurie
646d56956b
Better handling of EVP names, add EVP to speed.
2000-11-20 04:14:19 +00:00
Richard Levitte
0cc1115643
Make sure bs is assigned NULL when it's free'd, or there will be an
...
(incorrect) attempt to free it once more...
2000-11-19 14:14:52 +00:00
Richard Levitte
257341b5b4
I wonder if I do too much...
2000-11-19 14:11:03 +00:00
Richard Levitte
83f2571782
Add news items early. Please fill in with what I have forgotten.
2000-11-19 14:10:07 +00:00
Richard Levitte
baa257f1ed
Remove two bn_wexpand() from BN_mul(), which is a step toward getting
...
BN_mul() correctly constified, avoids two realloc()'s that aren't
really necessary and saves memory to boot. This required a small
change in bn_mul_part_recursive() and the addition of variants of
bn_cmp_words(), bn_add_words() and bn_sub_words() that can take arrays
with differing sizes.
The test results show a performance that very closely matches the
original code from before my constification. This may seem like a
very small win from a performance point of view, but if one remembers
that the variants of bn_cmp_words(), bn_add_words() and bn_sub_words()
are not at all optimized for the moment (and there's no corresponding
assembler code), and that their use may be just as non-optimal, I'm
pretty confident there are possibilities...
This code needs reviewing!
2000-11-18 22:58:26 +00:00
Richard Levitte
e06cc57118
Remove a declaration for a function that does not exist.
2000-11-18 20:52:14 +00:00
Richard Levitte
0450d28759
Make the definition of bn_add_words() match the definition.
2000-11-18 20:49:02 +00:00
Richard Levitte
7f56097c65
I might want to debug the assembler modules...
2000-11-18 20:44:25 +00:00
Bodo Möller
7396958515
Increase permissible ClientKeyExchange message length.
2000-11-17 14:42:49 +00:00
Bodo Möller
3c758be86e
include 'err' label only when it is actually used
2000-11-17 13:08:57 +00:00
Richard Levitte
227385b719
Make sure BN_DIV2W is not defining when defining it, and remove the
...
declarations of bn_add_part_words() and bn_sub_part_words() since they
do not exist.
2000-11-17 12:01:55 +00:00
Bodo Möller
f7a059316f
tag SSL_peek bugs
2000-11-17 11:49:29 +00:00
Bodo Möller
b1d6e3f551
Documentation on using the SSL library with non-blocking I/O.
2000-11-17 10:25:46 +00:00
Bodo Möller
db70a3fd6e
Improve usability of 'openssl passwd' by including
...
password verification where it makes sense.
2000-11-17 09:03:02 +00:00
Bodo Möller
28fd5c60de
Constify bn_dump1 implementation so that it matches the prototype
...
in bn.h
2000-11-17 08:36:10 +00:00
Richard Levitte
cbd48ba626
More constification of the BN library.
2000-11-16 22:43:32 +00:00
Richard Levitte
67d93e6f49
Make sure to print the BN counting (BN_COUNT) to stderr instead of
...
stdout. bc gets so confused by bean counts.
2000-11-16 22:42:39 +00:00
Richard Levitte
afb83c45e6
Oops, when I clean, I should do it thoroughly.
2000-11-16 22:41:26 +00:00
Richard Levitte
43fcc1b096
I've checked again and again. There really is no need to expand a to
...
4 times it's size when bn_sqr_recursive() won't look farther than the
original length. Thereby, constification is no longer a problem.
2000-11-16 21:35:41 +00:00
Richard Levitte
d5695a26a6
/proc/cpuinfo can have several lines containing the word "type". We want the one that is "type", plain and simple. Caught by Raoul Borenius <borenius@shuttle.de>
2000-11-16 18:59:02 +00:00
Geoff Thorpe
8bfc8f934f
I have no idea how this comment got there, but it's certainly not
...
applicable to ENGINE_ctrl()
2000-11-16 00:17:11 +00:00
Geoff Thorpe
ef02b10a16
Many applications that use OpenSSL with ENGINE support might face a
...
situation where they've initialised the ENGINE, loaded keys (which are then
linked to that ENGINE), and performed other checks (such as verifying
certificate chains etc). At that point, if the application goes
multi-threaded or multi-process it creates problems for any ENGINE
implementations that are either not thread/process safe or that perform
optimally when they do not have to perform locking and other contention
management tasks at "run-time".
This defines a new ENGINE_ctrl() command that can be supported by engines
at their discretion. If ENGINE_ctrl(..., ENGINE_CTRL_HUP,...) returns an
error then the caller should check if the *_R_COMMAND_NOT_IMPLEMENTED error
reason was set - it may just be that the engine doesn't support or need the
HUP command, or it could be that the attempted reinitialisation failed. A
crude alternative is to ignore the return value from ENGINE_ctrl() (and
clear any errors with ERR_clear_error()) and perform a test operation
immediately after the "HUP". Very crude indeed.
ENGINEs can support this command to close and reopen connections, files,
handles, or whatever as an alternative to run-time locking when such things
would otherwise be needed. In such a case, it's advisable for the engine
implementations to support locking by default but disable it after the
arrival of a HUP command, or any other indication by the application that
locking is not required. NB: This command exists to allow an ENGINE to
reinitialise without the ENGINE's functional reference count having to sink
down to zero and back up - which is what is normally required for the
finish() and init() handlers to get invoked. It would also be a bad idea
for engine_lib to catch this command itself and interpret it by calling the
engine's init() and finish() handlers directly, because reinitialisation
may need special handling on a case-by-case basis that is distinct from a
finish/init pair - eg. calling a finish() handler may invalidate the state
stored inside individual keys that have already loaded for this engine.
2000-11-16 00:15:50 +00:00
Lutz Jänicke
803e4e93d4
Fill in missing information about the string returned from
...
SSL_CIPHER_description(), as there is no other API function to find
out details about the cipher used besides the number of bits or protocol used.
2000-11-15 18:42:41 +00:00
Ulf Möller
60b8607727
ignore
2000-11-14 19:18:31 +00:00
Richard Levitte
159564ae9f
Modify () to (void), since that's what is actually defined in the
...
engine structure, and some ANSI C compilers will complain otherwise.
2000-11-14 15:33:06 +00:00
Richard Levitte
cd1bf28e2c
Two OCSP functions that aren't yet implemented.
2000-11-14 13:50:42 +00:00
Richard Levitte
74e10aa58b
make update
2000-11-14 13:39:38 +00:00
Richard Levitte
5f524accc1
Get the Rijndael function declarations.
2000-11-14 13:24:06 +00:00
Richard Levitte
451e60e99f
Detect and mark functions that no longer exist.
2000-11-14 13:20:10 +00:00
Lutz Jänicke
89c16ab53e
Some platforms (namely HP-UX) require the 'x' bit set for shared libraries.
...
For performance reasons, it is also recommended to make the (mmap'ed)
shared library 'read-only'.
-> New permissions for installed shared libraries = 555
This doesn't hurt anybody, provided the installation is performed with
'cp -f' :-)
2000-11-14 11:05:10 +00:00
Richard Levitte
820aaa5fc5
Typo, was "time" instead of "tim".
...
Caught by Jeffrey Altman <jaltman@columbia.edu >
2000-11-14 10:52:16 +00:00
Richard Levitte
993ea851f5
Add Rijndael as things to look through.
2000-11-14 10:51:00 +00:00
Lutz Jänicke
305db17b5f
HP-UX shared libraries do not build any longer, as EX_LIBS contains
...
"-Wl,+s" instead of +s:
* Hardcoded necessary references to -ldld/-ldl into the build rules and
removed EX_LIBS.
HP-UX records the pathnames of dependent libraries when the shared libs
are built, so that ./libcrypto.sl... is recorded in libssl.sl..., with
"./" not being resolvable when running an application linked against -lssl:
* Build libssl without explicit reference to libcrypto, applications will
be linked with "-lssl -lcrypto" anyway.
Document these informations in Makefile.org.
2000-11-13 14:40:07 +00:00
Ulf Möller
6a8ba34f9d
in some new file names the first 8 characters were not unique
2000-11-12 22:32:18 +00:00
Richard Levitte
f777408fc5
For a long time, I've wanted to be able to easily run one or a few
...
individual tests. I finally got myself to implement it...
2000-11-12 20:24:30 +00:00
Bodo Möller
2984b0ae24
Additional explanations for SSL_ERROR_WANT_READ/WRITE.
2000-11-12 19:17:22 +00:00
Richard Levitte
3d6001f7b9
Enhance granularity on what I want to debug for the moment by changing
...
LEVITTE_DEBUG to LEVITTE_DEBUG_MEM.
2000-11-12 18:25:30 +00:00
Richard Levitte
f6a8898fc3
Update my own debugging configuration entry
2000-11-12 16:20:40 +00:00
Ben Laurie
757e392d4e
Make Rijndael work! Those long flights have some good points.
2000-11-12 02:13:38 +00:00
Ben Laurie
2f9f0c72de
Make this stuff compile.
2000-11-12 02:11:13 +00:00
Bodo Möller
cb4ae6c0d3
Point to SSL_set_bio(3) early because that manpage provides
...
information that is essential for using BIO pairs.
2000-11-10 07:50:18 +00:00
Bodo Möller
359fd02fec
add missing word
2000-11-10 07:46:11 +00:00
Bodo Möller
e1a8ac495b
tmp2 is not used in BN_mod_mul_montgomery.
2000-11-09 16:39:01 +00:00
Richard Levitte
0b5806b5f5
Really stupid glitch (a comment not properly ended) fixed.
2000-11-08 18:10:35 +00:00
Richard Levitte
ccb9643f02
Remove references to RSAref. The glue library is but a memory to fade
...
away now...
2000-11-08 17:51:37 +00:00
Bodo Möller
7f7b8d6871
BN_CTX-related fixes.
2000-11-08 10:05:34 +00:00
Richard Levitte
bb7e632aef
Constification of LHASH. Contributed by "Paul D. Smith" <psmith@gnu.org>
...
I didn't apply all his patches yet, since I have some hesitance about
unconstifying. To be pondered.
2000-11-07 23:43:21 +00:00
Richard Levitte
55d892e373
Document that the Nuron hardware has been added and remove the
...
requirement for an engine utility since we now have that.
2000-11-07 14:31:53 +00:00
Richard Levitte
f971ccb264
Constify DH-related code.
2000-11-07 14:30:37 +00:00
Richard Levitte
a4aba800d9
Constify DSA-related code.
2000-11-07 13:54:39 +00:00
Richard Levitte
669cefdd35
Make sure ERR_get_error() is declared.
2000-11-07 13:53:21 +00:00
Richard Levitte
7be7c2eda5
A few more constifications of some RSA routines that I forgot
...
yesterday.
2000-11-07 13:49:46 +00:00
Richard Levitte
8de2910b5c
Lutz tells me HP cc uses the same syntax for flags that should be
...
passed down to ld as GNU cc.
2000-11-07 13:23:16 +00:00
Richard Levitte
74489a3668
When ENGINE_by_id() couldn't find the given engine id, it generates an
...
error. When checking like engine_add() is, those errors are actually
good, so remove them.
2000-11-07 13:21:09 +00:00
Richard Levitte
e06433d9ba
shl_load() also needs to load along a path given through an
...
environment variable, SHLIB_PATH. This change makes that possible.
2000-11-07 11:25:26 +00:00
Bodo Möller
e0bf5c11ea
Handle BN_copy failure after successful BN_new.
2000-11-07 09:39:51 +00:00
Bodo Möller
58f0f52e67
handle the case when BN_new returns NULL
2000-11-07 09:35:19 +00:00
Richard Levitte
55b3c877c7
Document recent constifications.
2000-11-06 23:29:52 +00:00
Richard Levitte
bbbc96a87e
Constification of CRYPTO_get_ex_data() needed for the sake of
...
RSA_get_ext_data().
2000-11-06 23:24:59 +00:00
Richard Levitte
5e4ca4220e
The consequence of constification is that to pass the address to a
...
pointer to a const double pointe parameter, the pointer must point to
const data as well.
2000-11-06 23:16:04 +00:00
Richard Levitte
e5828cd46f
Constify the RSAref glue code.
2000-11-06 23:15:03 +00:00
Richard Levitte
7081f3bd89
Constify the RSA parts of the ASN.1 library. Note some ugly casts
...
that are needed in the ASN.1 macros. Hopefully, we can get rid of
those in an elegant way in the future.
2000-11-06 23:04:15 +00:00
Richard Levitte
0413ba429c
Constify the RSA library.
2000-11-06 22:49:05 +00:00
Richard Levitte
29c1f0615b
Constify the RSA library.
2000-11-06 22:34:17 +00:00
Richard Levitte
10e473e930
As a consequence of the BIGNUM constification, the ENGINE code needs a
...
few small constifying changes, and why not throw in a couple of extras
while I'm at it?
2000-11-06 22:15:50 +00:00
Richard Levitte
e7ef1a561a
Make all engines available in the openssl application.
2000-11-06 22:03:00 +00:00
Ulf Möller
458d356db9
looks like a cut&paste error
2000-11-06 21:28:38 +00:00
Richard Levitte
020fc820dc
Constify the BIGNUM routines a bit more. The only trouble were the
...
two functions that did expansion on in parameters (BN_mul() and
BN_sqr()). The problem was solved by making bn_dup_expand() which is
a mix of bn_expand2() and BN_dup().
2000-11-06 21:15:54 +00:00
Richard Levitte
bc8a9f1f0f
mode used too early in EVP_PKEY_save_parameters.
...
Spotted by Ken Lalonde <ken@torus.ca >
2000-11-06 21:12:21 +00:00
Richard Levitte
6b77e6d7f3
Make sure that shared libraries get the internal name engine with the
...
full version number and not just 0. This should mark the shared
libraries as not backward compatible. Of course, this should be
changed again when we can guarantee backward binary compatibility.
2000-11-06 06:52:47 +00:00
Ulf Möller
361c7f2b52
Set the CryptoAPI randomness estimate back to 0.
...
The randomness may not actually be very good (we don't know).
2000-11-04 03:33:26 +00:00
Ulf Möller
9f6fe8dbe7
increase the value a bit
2000-11-03 23:07:01 +00:00
Geoff Thorpe
ee78e1fc8b
Richard moved hw_nuron.c over to DSO-land recently, so this include isn't
...
needed now.
2000-11-03 17:09:19 +00:00
Ulf Möller
864170286a
Minor corrections (HPUX).
...
From: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-11-03 16:35:31 +00:00
Bodo Möller
02af65b347
avoid memory leak
2000-11-03 15:40:10 +00:00
Richard Levitte
2f13ee21ea
Instead of just STACK, use STACK_OF(ASN1_OBJECT).
2000-11-03 00:59:49 +00:00
Richard Levitte
1d833a9910
Update the standards list to the current status
2000-11-02 22:55:14 +00:00
Richard Levitte
11c0f1201c
Change the engine library so the application writer has to explicitely
...
load the "external" built-in engines (those that require DSO). This
makes linking with libdl or other dso libraries non-mandatory.
Change 'openssl engine' accordingly.
Change the engine header files so some declarations (that differed at
that!) aren't duplicated, and make sure engine_int.h includes
engine.h. That way, there should be no way of missing the needed
info.
2000-11-02 20:33:04 +00:00
Richard Levitte
69e7805f54
'openssl engine' can now list engine capabilities. The current
...
implementation is contained in the application, and the capability
string building part should really be part of the engine library.
This is therefore an experimental hack, and will be changed in the
near future.
2000-11-02 19:24:48 +00:00
Richard Levitte
e264cfe17a
Better error reporting in 'openssl engine'
2000-11-02 18:58:43 +00:00
Richard Levitte
8224b0cbe5
make update
2000-11-02 18:53:25 +00:00
Bodo Möller
15d52ddb55
Never call load_dh_param(NULL) because this leads to an illegal
...
fopen(NULL).
2000-11-02 10:35:10 +00:00
Richard Levitte
d48f487e2c
-t is supported, so display some help about it.
2000-11-01 23:55:45 +00:00
Geoff Thorpe
ce23b0f73e
oops, remove comments that are no longer true.
2000-11-01 23:14:19 +00:00
Geoff Thorpe
d313047f63
Explanation, tips, etc.
2000-11-01 23:12:01 +00:00
Geoff Thorpe
d1855cc7af
This is a demo that performs SSL tunneling (client and/or server) and is
...
built using an abstracted state machine with a non-blocking IP wrapper
around it. README will follow in the next commit.
2000-11-01 23:11:19 +00:00
Richard Levitte
14c6d27d63
Add application to enumerate, list and test engines with.
2000-11-01 02:57:35 +00:00
Richard Levitte
dcea8e12e2
Add support for shared libraries under Irix.
...
Submitted by Albert Chin-A-Young <china@thewrittenword.com >
2000-11-01 00:05:04 +00:00
Richard Levitte
26b264795d
Rename true64 to the correct tru64.
...
Suggested by Albert Chin-A-Young <china@thewrittenword.com >
2000-10-31 23:39:08 +00:00
Richard Levitte
501ebf16b6
Improvements to openssl.spec.
...
Submitted by Damien Miller <djm@mindrot.org >
This change has been CC:ed to crypt@bxa.doc.gov
2000-10-31 23:26:32 +00:00
Richard Levitte
815c83f70a
Add configuration option to build on Linux on both big-endian and
...
little-endian MIPS.
Submitted by Ralf Baechle <ralf@uni-koblenz.de >
2000-10-31 23:14:19 +00:00
Richard Levitte
92125ffaec
Make flag variables int instead of char. This avoids getting into trouble on systems where char is unsigned by default
2000-10-31 11:58:56 +00:00
Ulf Möller
7db2fcaa81
_lrotl() is a call to the C runtime library!
2000-10-30 20:14:27 +00:00
Geoff Thorpe
7d09713d09
DSO_load() should also work when it is passed a NULL - a new DSO is created
...
automatically, however some code was still referring to the original
pointer rather than the internal one (and thus to NULL instead of the
created pointer).
2000-10-30 18:47:27 +00:00
Richard Levitte
3aba98e787
Document the change.
2000-10-28 22:44:03 +00:00
Richard Levitte
32d862ede4
Add the possibility to use keys handled by engines in more
...
applications.
2000-10-28 22:40:40 +00:00
Richard Levitte
a44f26d5c9
Small documentation change
2000-10-28 22:21:04 +00:00
Ulf Möller
3e126d3610
-engine is gone.
2000-10-27 20:43:18 +00:00
Richard Levitte
5660eb489e
NetBSD doesn't use ftime().
2000-10-27 20:28:37 +00:00
Richard Levitte
7c155330de
Document the OCSP addition.
2000-10-27 11:22:17 +00:00
Richard Levitte
8bb4ad88d8
make update
2000-10-27 11:09:52 +00:00
Richard Levitte
eb64730b9c
The majority of the OCSP code from CertCo.
2000-10-27 11:05:35 +00:00
Ulf Möller
34a1488220
.
2000-10-26 22:24:49 +00:00
Richard Levitte
5270e7025e
Merge the engine branch into the main trunk. All conflicts resolved.
...
At the same time, add VMS support for Rijndael.
2000-10-26 21:07:28 +00:00
Geoff Thorpe
1df586bec2
Add a note about the recent DSO changes in CHANGES.
2000-10-26 20:02:33 +00:00
Richard Levitte
551e5990d2
On HP-UX, at least when shl_* are used, the libraries have the
...
extension .sl instead of .so.
2000-10-26 18:42:35 +00:00
Richard Levitte
d9efa3616a
For the operating systems where it matters, it is sometimes good to
...
translate library names by only adding ".so" to them without
prepending them with "lib". Add the flag DSO_FLAG_NAME_TRANSLATION_EXT_ONLY
for that purpose.
2000-10-26 18:30:34 +00:00
Geoff Thorpe
51c8dc37dd
This changes the behaviour of the DSO mechanism for determining an
...
appropriate filename translation on the host system. Apart from this point,
users should also note that there's a slight change in the API functions
too. The DSO now contains its own to-be-converted filename
("dso->filename"), and at the time the DSO loads the "dso->loaded_filename"
value is set to the translated form. As such, this also provides an impicit
way of determining if the DSO is currently loaded or not. Except, perhaps,
VMS .... :-)
The various DSO_METHODs have been updated for this mechanism except VMS
which is deliberately broken for now, Richard is going to look at how to
fit it in (the source comments in there explain "the issue").
Basically, the new callback scheme allows the filename conversion to
(a) be turned off altogether through the use of the
DSO_FLAG_NO_NAME_TRANSLATION flag,
(b) be handled in the default way using the default DSO_METHOD's converter
(c) overriden per-DSO by setting the override callback
(d) a mix of (b) and (c) - eg. implement an override callback that;
(i) checks if we're win32 "if(strstr(dso->meth->name, "win32"))..."
and if so, convert "blah" into "blah32.dll" (the default is
otherwise to make it "blah.dll").
(ii) default to the normal behaviour - eg. we're not on win32, so
finish with (return dso->meth->dso_name_converter(dso,NULL)).
(e) be retried a number of times by writing a new DSO_METHOD where the
"dso_load()" handler will call the converter repeatedly. Then the
custom converter could use state information in the DSO to suggest
different conversions or paths each time it is invoked.
2000-10-26 17:38:59 +00:00
Bodo Möller
28967cf079
rsautl.c requires RSA.
2000-10-26 12:05:57 +00:00
Ulf Möller
a2bbe59401
s_server not s_client
2000-10-23 19:13:35 +00:00
Bodo Möller
421cb50b2d
Cert chain verification is useable by now.
...
Whether Steve is still working on 'proper' verification is up to
him to decide ...
2000-10-23 14:36:18 +00:00
Ulf Möller
0fa504b68d
Correction from Tani Hosokawa <unknown@riverstyx.net>
2000-10-23 14:02:02 +00:00
Bodo Möller
705bfcf8e7
internal_verify now does know about extensions
2000-10-23 08:01:41 +00:00
Bodo Möller
4fb40db932
Don't ever set 'seeded' if RAND_status() returned 0
...
(although maybe this static variable should be abolished totally,
it was introduced before RAND_status existed).
2000-10-23 07:37:03 +00:00
Richard Levitte
9dd0463852
When building shared libraries on HP-UX 10.20 and HP-UX 11.00 (32bit),
...
ld warns that -Fl "may not be supported in future releases". We know
that, and are doing things in HP-UX 11 (64bit), so turn off that
warning with +vnocompatwarnings.
2000-10-22 21:37:39 +00:00
Richard Levitte
5cb5715f97
It seems like grep isn't as capable as I thought on some Unix systems.
...
Use egrep instead.
2000-10-22 16:46:47 +00:00
Richard Levitte
e9a583aa26
Pointer error corrected
2000-10-22 12:47:01 +00:00
Richard Levitte
f3f316f13f
If the functions get_dh*() are declared static, they should be defined the same way
2000-10-22 12:45:33 +00:00
Richard Levitte
99b1aaf2ec
On some operating systems, MAX is defined. Call ours OSSL_MAX instead
2000-10-22 12:44:12 +00:00
Richard Levitte
53400da75c
Document
2000-10-21 22:53:32 +00:00
Richard Levitte
2b59a6ac14
There's no reason why app_RAND_load_file() should return 0 when
...
RAND_status() hasn't.
Reported by Dale Stimson <dale@accentre.com >.
2000-10-21 22:43:07 +00:00
Richard Levitte
48d89b560c
Krister Walfridsson <cato@df.lth.se> tells us sysctl lives in /sbin
...
since NetBSD 1.5.
2000-10-21 22:18:52 +00:00
Richard Levitte
b5a43800ef
FreeBSD-elf can do threads. However, there seems to be confusion if
...
you should defined _THREAD_SAFE (I found that in an include file, and
that's what everybody tells me) or _THREADSAFE (that's what the gcc
manual says in the FreeBSD-specific section), so I defined both, just
to be safe.
2000-10-21 22:05:03 +00:00
Richard Levitte
0fd44e2ddb
Add what's needed to get shared libraries on HP-UX.
...
N.B.: This has not been tested at all, that's my next step.
2000-10-21 21:24:11 +00:00
Richard Levitte
0a2221f9ad
make update
2000-10-21 20:15:46 +00:00
Richard Levitte
567f17cfe0
Document the change to NCONF.
2000-10-21 20:01:34 +00:00
Dr. Stephen Henson
627ec355d8
Fix for bug (?) in assembly language routines for SHA1. This
...
causes MASM to complain and not produce valid debug info.
Hopefully this wont break anything else...
Also fix typo in e_rd.c
2000-10-20 00:36:45 +00:00
Dr. Stephen Henson
4184a78761
Move expired CA certificate.
2000-10-19 23:16:47 +00:00
Ulf Möller
bbdc9c98a8
give pseudo prototypes instead of macro definitions for better clarity
2000-10-19 22:02:21 +00:00
Ulf Möller
11b62699a1
"DESCRIPTION" is required.
2000-10-19 19:40:35 +00:00
Ulf Möller
14a74a21f0
correction from Lutz
2000-10-19 15:19:41 +00:00
Richard Levitte
c8cda405e7
Keep binary backward compatibility by putting new method function
...
pointers at the end of the structure.
2000-10-19 08:29:27 +00:00
Richard Levitte
befb3e7a4d
Make it possible for methods to load from something other than a BIO,
...
by providing a function pointer that is given a name instead of a BIO.
For example, this could be used to load configuration data from an
LDAP server.
2000-10-19 08:26:32 +00:00
Richard Levitte
c6f1787bbd
NCONF_get_number() has no error checking at all. As a replacement,
...
NCONF_get_number_e() is defined (_e for "error checking") and is
promoted strongly. The old NCONF_get_number is kept around for
binary backward compatibility.
2000-10-19 08:03:14 +00:00
Ulf Möller
9bd3bd227f
Add short overview, move header files section further down.
2000-10-18 23:08:55 +00:00
Ulf Möller
d0ef53bd2d
cosmetic changes
2000-10-18 22:51:34 +00:00
Ulf Möller
8d3f155a66
cosmetic change
2000-10-18 22:01:47 +00:00
Richard Levitte
ef0ab7f94f
John Denney <jdenney@ca.mdis.com> reports that we forgot to convert
...
Free to OPENSSL_free in the SSL demos.
2000-10-18 19:36:27 +00:00
Richard Levitte
bf55ece1c1
Two questions have been asked quite often lately.
2000-10-17 16:16:12 +00:00
Dr. Stephen Henson
51754ec835
Update test server certificate in apps/server.pem (it was expired).
2000-10-16 22:56:10 +00:00
Ben Laurie
1bc5dd3efc
Always return a value.
...
Submitted by:
Reviewed by:
PR:
2000-10-16 13:08:16 +00:00
Richard Levitte
0ded1638ba
CRYPTO_get_ex_new_index would never return an error.
2000-10-16 06:01:41 +00:00
Dr. Stephen Henson
71d525c9f6
Fix for typo in certificate directory lookup code.
2000-10-14 23:51:52 +00:00
Richard Levitte
3ab5651112
The experimental Rijndael code moved to the main trunk.
...
make update done.
2000-10-14 20:09:54 +00:00
Richard Levitte
82ce0b2308
Even when you don't want to create shared libraries, it's a good idea
...
to have the full extension information, so residual shared libraries
can be removed so the applications and test programs do not get linked
against them by mistake...
2000-10-13 16:04:20 +00:00
Richard Levitte
a22fb399cb
Rework the system to generate shared libraries:
...
- Make note of the expected extension for the shared libraries and
if there is a need for symbolic links from for example libcrypto.so.0
to libcrypto.so.0.9.7. There is extended info in Configure for
that.
- Make as few rebuilds of the shared libraries as possible.
- Still avoid linking the OpenSSL programs with the shared libraries.
- When installing, install the shared libraries separately from the
static ones.
2000-10-13 15:25:06 +00:00
Richard Levitte
8df8f27513
Bump the shared library version (should have been done a while ago).
2000-10-13 15:09:06 +00:00
Richard Levitte
cde70093ac
Make the new conf implementatoin bug-compatible with the old one.
...
Actually, it's a feature that it goes looking at environment
variables. It's just a pity that it's at the cost of the error
checking... I'll see if I can come up with a better interface for
this.
2000-10-13 08:30:06 +00:00
Richard Levitte
5f97f508e4
make update
2000-10-13 08:27:00 +00:00
Richard Levitte
553615f500
New docs and new facts in older docs.
...
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-10-12 09:56:36 +00:00
Dr. Stephen Henson
924046ce75
Make non blocking I/O work for accept BIOs.
2000-10-12 01:50:33 +00:00
Ulf Möller
9e2c0f41d7
fix problems in the selftest
2000-10-11 00:08:15 +00:00
Richard Levitte
5ef67042f9
Do a favor to those who get weird compiles and report if RAND_pseudo_bytes
...
returns -1...
2000-10-10 15:08:30 +00:00
Richard Levitte
53fe8d5be5
A few small corrections to the SSL documentation.
...
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-10-10 09:15:47 +00:00
Bodo Möller
8c23788dd1
BIO_sock_init() returns 1 for success and -1 for failure, not 0;
...
thus the condition '!BIO_sock_init()' doesn't make sense.
2000-10-09 16:40:16 +00:00
Geoff Thorpe
ef76e3dbda
DSO_ctrl() changes have removed a couple of DSO_METHOD-specific functions
...
so I've regenerated the error numbers and strings for the DSO functions.
2000-10-09 01:57:54 +00:00
Richard Levitte
7ba839bfe2
Make sure ranlib is only used on .a libraries.
2000-10-09 00:50:04 +00:00
Richard Levitte
d2dcf4f40d
Make sure that shareable libraries are turned off if we don't know how
...
to make them...
2000-10-09 00:48:30 +00:00
Geoff Thorpe
75a382bd90
None of the DSO_METHOD's were handling anything except generic messages.
...
These are now processed inside DSO_ctrl() itself.
2000-10-08 22:36:49 +00:00
Geoff Thorpe
5b0a0544f2
Time to get rid of some rather silly code duplication - some DSO_ctrl()
...
commands are common to all DSO_METHODs, hence handle them at the top.
2000-10-08 22:32:57 +00:00
Richard Levitte
a0ec9cf6d5
Linux on Alpha with gcc knows about shared libraries.
2000-10-08 19:40:07 +00:00
Richard Levitte
e9ebf346c4
Linux on Alpha has the configuration name linux-alpha-gcc, not
...
linux-alpha.
2000-10-08 19:38:28 +00:00
Dr. Stephen Henson
8ca533e378
More code for X509_print_ex() support.
2000-10-06 11:51:47 +00:00
Dr. Stephen Henson
d0c9858914
Global DirectoryString mask fix.
...
Add support for X509_NAME_print_ex() in req.
Initial code for cutomizable X509 print routines.
2000-10-04 01:16:32 +00:00
Richard Levitte
356c06c776
More SSL functions documented. Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-10-03 22:02:28 +00:00
Richard Levitte
ef71cb6daf
Document...
2000-10-01 21:46:43 +00:00
Richard Levitte
2e7e3d6ce9
Remove what was described by someone as "an EAY hack for compiling
...
SSLeay with Colin Plumb's MD5 implementation instead of his one".
2000-10-01 21:28:07 +00:00
Richard Levitte
a269d312da
Include arpa/inet.h, since that's where htons() and friends are
...
supposed to be defined according to XPG4.2.
Found by Evan <n2xjk@ulster.net > for the MVS platform.
2000-09-29 20:14:57 +00:00
Ulf Möller
a87aa87bcc
The des_modes manpage is in section 7.
2000-09-27 21:45:20 +00:00
Richard Levitte
6df3553255
A compiler warning removed. Thanks to the folks at HP!
2000-09-27 13:54:28 +00:00
Bodo Möller
2eaad87f36
Verbose output when installing manual pages so that you see that
...
something is going on (and what).
2000-09-26 12:23:55 +00:00
Bodo Möller
b7af080fb1
Add BUGS section.
2000-09-26 12:15:53 +00:00
Bodo Möller
3a0afe1eed
Note read_ahead-flag related fixes.
2000-09-26 11:39:37 +00:00
Bodo Möller
086a32d754
Set s->read_ahead in SSL_new because SSL_clear no longer modifies it.
2000-09-26 11:38:05 +00:00
Bodo Möller
544ebbceb4
Don't modify s->read_ahead in SSL_clear, which is called from
...
accept/connect functions; those should not change the
read_ahead setting of the SSL structure.
2000-09-26 11:30:59 +00:00
Bodo Möller
6d0dcbedb1
Fix SSL_CTX_set_read_ahead macro.
...
Submitted by: Anders Gertz <gertz@epact.se >
2000-09-26 11:25:44 +00:00
Richard Levitte
88aeb646bd
Document the change.
2000-09-25 11:12:27 +00:00
Richard Levitte
46b1b91309
Update
2000-09-25 10:22:39 +00:00
Richard Levitte
be054868a1
When creating a .def file, be a bit more selective so disabled
...
algorithms do not get in...
2000-09-25 10:21:23 +00:00
Richard Levitte
0acc90e5f7
echo=off works on NT, but not on W2K.
2000-09-25 09:30:32 +00:00
Richard Levitte
4e20a4e688
'ranlib' doesn't always run on some systems. That's actually
...
acceptable, since all that happens if it fails is a library with
an index, which makes linking slower, but still working correctly.
2000-09-25 08:53:15 +00:00
Richard Levitte
9ef9e78520
Make the algorithm implementations depend on the corresponding
...
selection macros.
2000-09-25 08:49:13 +00:00
Ulf Möller
393e826ec3
typo
2000-09-25 05:55:19 +00:00
Richard Levitte
c5e8580e7b
Update the status and version number to 0.9.7-dev.
2000-09-24 17:31:37 +00:00
Richard Levitte
16221173c8
Forgot to change the STATUS file...
2000-09-24 15:42:34 +00:00
Richard Levitte
0e8f2fdfdd
Time to build the release. Bump the version info accordingly.
2000-09-24 15:21:30 +00:00
Richard Levitte
fec8c79a7e
make update
2000-09-24 14:54:31 +00:00
Richard Levitte
56245be46d
Change the Windows building scripts to enable DSO_WIN32.
2000-09-24 14:48:51 +00:00
Ulf Möller
eb206eb8be
print the perlasm rule only for linux-elf (it seems it confuses some
...
version of make for Mingw32)
----------------------------------------------------------------------
----------------------------------------------------------------------
2000-09-23 19:24:06 +00:00
Ulf Möller
fda05b2155
spelling
2000-09-23 19:08:16 +00:00
Ulf Möller
8c4ab6d5ae
update info to match the README.
2000-09-23 07:38:43 +00:00
Ulf Möller
8fdec3e558
stop perlpod from complaining.
2000-09-23 07:30:28 +00:00
Ulf Möller
69431c2998
more manpage links.
2000-09-23 07:16:17 +00:00
Ulf Möller
90d7fc1de4
tlhelp32.h
2000-09-23 05:46:41 +00:00
Ulf Möller
bb28bcdf98
Workaround for tlhelp32.h: place the missing header file in outinc
2000-09-23 05:19:16 +00:00
Ulf Möller
d49da3aa5b
Add some missing info.
2000-09-23 05:17:40 +00:00
Ulf Möller
fc55bf3b20
tlhelp32.h is currently missing in Mingw32 (release 2.95.2 and 2.95.2-1)
2000-09-23 05:04:19 +00:00
Ulf Möller
03dbae0d20
URL to "latest" Mingw release (which is almost a year old :()
2000-09-23 02:06:08 +00:00
Bodo Möller
5a5accdd64
typo
2000-09-22 21:45:49 +00:00
Bodo Möller
f1192b7f2e
Avoid protocol rollback.
2000-09-22 21:39:33 +00:00
Dr. Stephen Henson
dbba890cf1
Only use the new informational verify codes if we
...
specifically ask for them.
Fix typo in docs.
2000-09-22 21:32:08 +00:00
Richard Levitte
3f8b90c345
Catch V_ASN1_NULL.
2000-09-22 13:15:16 +00:00
Richard Levitte
28a63d3e6f
Problem on FreeBSD/Alpha fixed.
2000-09-22 06:15:10 +00:00
Richard Levitte
318e09356b
Kris Kennaway <kris@FreeBSD.org> tells us that FreeBSD/Alpha shouldn't
...
use an optimization higher than -O.
2000-09-22 06:06:25 +00:00
Richard Levitte
6b3a4ffe36
More reports
2000-09-21 20:49:47 +00:00
Richard Levitte
7f6e0a4c09
More reports
2000-09-21 20:09:16 +00:00
Dr. Stephen Henson
6cffb201f3
Fix ASN1_TYPE bug.
2000-09-21 18:57:00 +00:00
Richard Levitte
4b0f00b7ce
More reports
2000-09-21 17:44:23 +00:00
Richard Levitte
4aa4f333ed
Change IMPORTANT to WARNING for greater emphasis.
2000-09-21 17:21:15 +00:00
Richard Levitte
a04cfb72d5
More reports
2000-09-21 17:11:52 +00:00
Richard Levitte
1cbb729fdc
Oops, if the target only had USE_TOD, an error message was issued...
2000-09-21 16:01:08 +00:00
Richard Levitte
d176986488
Ugly hack to make sure static libraries are usable. Without this,
...
anything that just links with libeay32.lib or libssl32.lib will get an
error saying the __imp__RegQueryValueEx is unresolved.
The right thing would really be to fix crypto/rand/rand_win.c to load
ADVAPI32.DLL dynamically, but that won't be done just before a
release.
2000-09-21 15:16:20 +00:00
Richard Levitte
c759ddd676
More reports.
2000-09-21 14:51:45 +00:00
Richard Levitte
9cfab47b18
Tests so far.
2000-09-21 14:26:12 +00:00
Richard Levitte
6e3dfc1f3b
Tests so far.
2000-09-21 12:54:41 +00:00
Richard Levitte
ef63568e94
Prepare STATUS for the beta 3 reports.
2000-09-21 10:27:35 +00:00
Richard Levitte
d40898dfab
Time to build beta 3. Bump the version numbers accordingly.
2000-09-21 09:08:44 +00:00
Richard Levitte
422e5a4807
make update
2000-09-21 07:16:40 +00:00
Richard Levitte
6397710486
I'm using GNU tar...
2000-09-21 07:15:52 +00:00
Richard Levitte
10bb0dbfec
Changes by Jeffrey Altman <jaltman@columbia.edu> to make RAND_poll()
...
work better in Win32. Verified by zhu qun-ying <qyzhu@krdl.org.sg >.
2000-09-21 07:02:27 +00:00
Richard Levitte
c19b6c922a
Clarifications and new documents.
...
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-09-21 06:46:15 +00:00
Richard Levitte
c5f8bbbc0b
Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
2000-09-21 05:42:01 +00:00
Richard Levitte
4759abc5f2
New documents. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-20 16:55:26 +00:00
Richard Levitte
e31e385ce3
Mistakes corrected. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-20 16:52:05 +00:00
Richard Levitte
b22bda21a1
Add news and a description of the ENGINE part and how it's currently
...
distributed.
2000-09-20 15:52:26 +00:00
Bodo Möller
b38d84d867
Additions for 0.9.6.
2000-09-20 15:22:02 +00:00
Richard Levitte
50b14a38f5
Reports about a few old systems.
...
Reported by Bernhard Simon <bs@bsws.zid.tuwien.ac.at >
2000-09-20 15:15:37 +00:00
Richard Levitte
edb0d64367
AIX doesn't like ftime() either.
2000-09-20 15:10:16 +00:00
Richard Levitte
33b1a4c218
Wrong variable used. It's funny how some bugs take a long time
...
getting triggered...
2000-09-20 14:47:04 +00:00
Richard Levitte
645749ef98
On VMS, stdout may very well lead to a file that is written to in a
...
record-oriented fashion. That means that every write() will write a
separate record, which will be read separately by the programs trying
to read from it. This can be very confusing.
The solution is to put a BIO filter in the way that will buffer text
until a linefeed is reached, and then write everything a line at a
time, so every record written will be an actual line, not chunks of
lines and not (usually doesn't happen, but I've seen it once) several
lines in one record. Voila, BIO_f_linebuffer() is born.
Since we're so close to release time, I'm making this VMS-only for
now, just to make sure no code is needlessly broken by this. After
the release, this BIO method will be enabled on all other platforms as
well.
2000-09-20 13:55:50 +00:00
Richard Levitte
9a0c0d3f74
make update
2000-09-20 13:32:54 +00:00
Ulf Möller
7cae5f9fc8
ispell.
2000-09-20 03:42:15 +00:00
Ulf Möller
18edda0f92
Malloc() -> OPENSSL_malloc() etc.
2000-09-20 03:28:54 +00:00
Ulf Möller
89681b183d
The RSA patent will have expired when the next version is released...
2000-09-20 03:25:33 +00:00
Ulf Möller
c8973693ab
ispell.
2000-09-20 03:24:36 +00:00
Dr. Stephen Henson
4e87e05b25
Add docs for X509_get_ext_d2i() function.
...
Add some major changes to NEWS...
2000-09-20 00:50:25 +00:00
Bodo Möller
fe03519704
Totally remove the supposedly 'faster' variant in
...
BN_mod_mul_montgomery, which calls bn_sqr_recursive
without much preparation.
bn_sqr_recursive requires the length of its argument to be
a power of 2, which is not always the case here.
There's no reason for not using BN_sqr -- if a simpler
approach to squaring made sense, then why not change
BN_sqr? (Using BN_sqr should also speed up DH where g is chosen
such that it becomes small [e.g., 2] when converted
to Montgomery representation.)
Case closed :-)
2000-09-19 23:25:00 +00:00
Richard Levitte
b004872c59
BSDI only supports ftime() through libcompat, which means it's
...
better not to use it.
2000-09-19 23:14:42 +00:00
Richard Levitte
933f32cc4d
Document SSL_library_init() and it's aliases. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-19 23:12:57 +00:00
Richard Levitte
c6def253b4
Type correction. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-19 23:11:42 +00:00
Richard Levitte
dd3430a6e9
Extend the docs on setting the cipher list. Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-19 23:10:32 +00:00
Bodo Möller
cb1fbf8e6a
Clarification about Montgomery problem
2000-09-19 23:06:14 +00:00
Ulf Möller
51012a0969
Note about contribtions from the US
2000-09-19 20:52:30 +00:00
Bodo Möller
a45bd29535
Document BN_mod_mul_montgomery bug;
...
make disabled code slightly more correct (this does not solve
the problem though).
2000-09-19 18:02:15 +00:00
Dr. Stephen Henson
688fbf5475
Fix a typo in apps/pkcs12.c which was using the wrong part of
...
ASN1_TYPE (though they are both ASN1_STRING so it didn't cause
any problems).
Make 'siglen' an int in apps/dgst.c so we can check the return
value of BIO_read() etc.
2000-09-19 17:51:11 +00:00
Bodo Möller
f4364e0730
Disable buggy code variant in BN_mod_mul_montgomery that was enabled
...
in 0.9.6-beta1 and 0.9.6-beta2 and caused the BN_mont_exp_mont_word()
failure (bug report "openssh 2.2.0p1 fails with openssl 0.9.6-beta1").
2000-09-19 17:21:52 +00:00
Richard Levitte
fae8762630
It seems like all HP-UX are successes as soon as the -ldl vs. -ldld
...
quirk is fixed.
2000-09-19 16:14:47 +00:00
Richard Levitte
28178bcf24
FreeBSD only supports ftime() through libcompat, which means it's
...
better not to use it.
2000-09-19 16:13:38 +00:00
Richard Levitte
cec7fe4da6
A few more HP-UX reports. Reported by Kevin Steves <stevesk@sweden.hp.com>
2000-09-19 15:55:43 +00:00
Richard Levitte
c15602f48e
Reorder the Blowfish documentation so the low-level routines do not get so prominent, and make sure to say out loud what they expect.
2000-09-19 06:15:33 +00:00
Dr. Stephen Henson
3b2cbbcb9a
Clarify the BIO_seek() mess and related issues.
...
Buffering BIO docs.
2000-09-18 23:05:33 +00:00
Ulf Möller
c69c47b9fe
ispell
2000-09-18 22:58:02 +00:00
Ulf Möller
5d1a5ddb65
Note the BN_mod_exp_word bug. (Markus Friedl provided a test program.)
2000-09-18 22:03:37 +00:00
Richard Levitte
f97cc10372
A couple more reports.
2000-09-18 16:53:05 +00:00
Richard Levitte
a3829b8650
ftime() is not supported on SGI.
...
Reported by Steve Robb <steve@eu.c2.net >
2000-09-18 16:52:05 +00:00
Richard Levitte
615513ba52
New documentation about things related to SSL_CIPHER. Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-09-18 16:42:30 +00:00
Richard Levitte
2bd8aaefa4
HP-UX 64-bit has dlfcn, so let's use that instead of the old dl.
2000-09-18 16:34:41 +00:00
Richard Levitte
252d333fc1
A few more reports
2000-09-18 16:17:41 +00:00
Richard Levitte
2aa4e2e2d4
No engine stuff in the main trunk.
2000-09-18 16:07:20 +00:00
Richard Levitte
c6cda0bdb7
A few more reports
2000-09-18 13:35:05 +00:00
Dr. Stephen Henson
730e37edb6
Work around for Netscape PKCS#7 signedData bug.
2000-09-18 12:30:57 +00:00
Richard Levitte
4b6e6ab91c
A few more reports
2000-09-18 11:55:12 +00:00
Richard Levitte
24842e0586
Going through performance statistics sometimes generates an exception,
...
so disable that part.
Reported by Jeffrey Altman <jaltman@columbia.edu >
2000-09-18 11:51:07 +00:00
Richard Levitte
159cf04e86
cyclecount is only used when __GNUC__ isn't defined.
2000-09-18 11:44:40 +00:00
Richard Levitte
676432d4e1
Disable the net statistics gathering code, since different compilers
...
disagree on the proper syntax and type names.
2000-09-18 11:24:32 +00:00
Richard Levitte
1e72b77994
HP-UX didn't go through
2000-09-18 09:36:25 +00:00
Richard Levitte
1cf3bbaea6
Typo in the added hpux targets. -ldl should be -ldld.
2000-09-18 09:34:05 +00:00
Richard Levitte
d448429e52
The test status as it has been reported so far
2000-09-18 09:21:01 +00:00
Richard Levitte
4534fb1c86
Unless we cast, thorough compilers will complain
2000-09-18 08:40:55 +00:00
Richard Levitte
362f2b69ff
Jeffrey Altman reminds us to initialize some variables and ercommends the use of LOadLibrary instead of GetModuleHandle
2000-09-18 01:48:38 +00:00
Richard Levitte
3c184d8180
Declare the availability of beta 2 in STATUS.
2000-09-17 22:36:25 +00:00
Richard Levitte
a440d6636f
A new beta is being released. Change the version numbers
...
accordingly.
2000-09-17 20:19:44 +00:00
Richard Levitte
91e8cc6216
make update
2000-09-17 20:18:06 +00:00
Richard Levitte
d0c2ebf414
A patch from HP for better performance.
...
Submitted by Kevin Steves <ks@hp.se > 3 months ago...
2000-09-17 20:04:42 +00:00
Richard Levitte
e17b712894
Restore the descriptions to conform with the rest of the
...
documentation. We'll work on better documents after the release of
0.9.6.
2000-09-17 19:20:17 +00:00
Richard Levitte
1d95fb659d
Jeffrey Altman <jaltman@columbia.edu> sent me a patch that fixes the
...
problems with GetCursorInfo, but also adds network statistics and
performance statistics where available.
2000-09-17 18:42:13 +00:00
Richard Levitte
62324627aa
Use sk_*_new_null() instead of sk_*_new(NULL), since that takes care
...
of complaints from the compiler about data pointers and function
pointers not being compatible with each other.
2000-09-17 18:21:27 +00:00
Richard Levitte
623eea376a
siglen is unsigned, so comparing it to less than 0 is silly, and
...
generates a compiler warning with Compaq C.
2000-09-17 18:08:38 +00:00
Richard Levitte
5ef8093732
Oops, no engine in the main trunk.
2000-09-17 15:45:43 +00:00
Richard Levitte
6d50071e84
Tell users that a rewrite might be a good idea.
2000-09-17 15:41:24 +00:00
Richard Levitte
60dae9985d
Some platforms define NULL as ((void *)0). Unfortunately, a void*
...
can't be used as a function pointer according the the standards. Use
a 0 instead and there will be no trouble.
2000-09-17 14:46:09 +00:00
Richard Levitte
df320c4473
A couple of more names need to be shortened for VMS on VAX.
2000-09-17 14:44:35 +00:00
Richard Levitte
3aa477f6ec
Make sure Compaq C doesn'r complain about dollars, and go around the
...
incompatibility between function and data pointers.
2000-09-17 14:42:46 +00:00
Richard Levitte
282f92f7dd
Inform the VMS people that RSAref is no longer needed
2000-09-17 11:57:33 +00:00
Richard Levitte
8e913bff55
VMS didn't work out too well...
2000-09-17 11:56:53 +00:00
Bodo Möller
07fcf422a1
Rename new BIO_set_shutdown_wr macro to just BIO_shutdown_wr
...
(it's similar to the shutdown(..., SHUT_WR) system call
for sockets).
2000-09-17 01:23:53 +00:00
Richard Levitte
da542e1bf7
Move text that isn't really descriptions of the functions in the page
...
to the NOTES section, and add references to the functions mentioned
(and perhaps a few more).
2000-09-16 23:32:33 +00:00
Richard Levitte
93fe6e13a3
Add BIO_seek() and BIO_tell() to the BIO control functions manual.
2000-09-16 23:31:03 +00:00
Dr. Stephen Henson
2c281ebb6c
New macro BIO_set_shutdown_wr().
...
Update docs.
2000-09-16 21:21:01 +00:00
Bodo Möller
37b08e8365
SSL => TLS/SSL
2000-09-16 16:05:34 +00:00
Bodo Möller
318f962928
TLS => TLS/SSL
2000-09-16 16:02:35 +00:00
Bodo Möller
acb5b34328
Change spelling back to "behaviour" and "flavour" instead of the
...
American variants.
2000-09-16 16:00:38 +00:00
Bodo Möller
c1629c9ea2
Clarification.
2000-09-16 15:55:57 +00:00
Ulf Möller
1e4e549296
ispell and some other nit-picking
2000-09-16 15:39:28 +00:00
Dr. Stephen Henson
439fb8e1e0
Remove redundant manpages and references to them.
2000-09-16 12:01:38 +00:00
Ulf Möller
53e44d90c7
add links to the new BIO and SSL manpages to make them visible on the web.
2000-09-16 06:04:43 +00:00
Dr. Stephen Henson
32751b8ab1
BIO_f_ssl() docs.
2000-09-16 01:32:42 +00:00
Richard Levitte
5ce0e07da7
Compile all dso files on VMS as well.
2000-09-15 22:16:41 +00:00
Richard Levitte
1c86d93ca5
'make update'
2000-09-15 22:13:38 +00:00
Richard Levitte
ea4e4149af
Make sure dso_vms.c compiles on other operating systems as well.
2000-09-15 22:12:53 +00:00
Richard Levitte
0e05f54516
A DSO method for VMS was missing, and I had the code lying around...
2000-09-15 21:22:50 +00:00
Richard Levitte
095aadc43f
Move up inclusion of conf.h, so non-MONOLITH programs can benefit from
...
it as well, especially in apps.c.
2000-09-15 19:37:14 +00:00
Dr. Stephen Henson
68a1c6b0d9
Accept BIO docs.
2000-09-15 17:31:47 +00:00
Richard Levitte
bda702ef83
'make update'
2000-09-15 15:26:04 +00:00
Richard Levitte
a4129c6e33
Add a flag for OpenVMS.
2000-09-15 13:59:30 +00:00
Richard Levitte
848f3d40c8
Later, Jeffrey changed his mind. Apparently, GetCursorInfo exists but
...
doesn't quite work on WinNT 4 earlier than SP6. It works fine on
Windows 98 and Windows 2000.
I'm disabling it for now. What's really needed is some kind of check
to see if GetCursorInfo is safe to call, or alternatively, GetCursor
or GetCursorPos could be used, according to Jeffrey.
2000-09-15 11:33:14 +00:00
Ulf Möller
1949e78336
Jeffrey Altman points out that GetQueueStatus() crashes on NT.
2000-09-15 04:20:40 +00:00
Dr. Stephen Henson
2273d6b657
Update BIO_s_connect().
2000-09-15 00:28:47 +00:00
Bodo Möller
e39c194387
Some small clarifications.
2000-09-14 22:09:55 +00:00
Richard Levitte
e1b78bc64d
In the name section, all the functions described shoud be enumerated.
...
This will also make it much simpler to generate softlinks name like
each function to man-pages containing the info.
2000-09-14 21:23:28 +00:00
Richard Levitte
e65c84abb0
Update the info on version numbering
2000-09-14 21:22:19 +00:00
Richard Levitte
8eec1389fb
BIO_seed() and BIO_tell() were documented in two other documents,
...
which is redundant. They are now in their own document.
Also, in the name section, all the functions described shoud be
enumerated. This will also make it much simpler to generate softlinks
name like each function to man-pages containing the info.
2000-09-14 20:24:56 +00:00
Richard Levitte
e38dabbc0c
BIO_seed() and BIO_tell() were documented in two other documents,
...
which is redundant. Instead, move them to their own page.
2000-09-14 20:23:17 +00:00
Richard Levitte
54731d75d7
Items without a =over and a =back are ignored.
2000-09-14 20:22:14 +00:00
Dr. Stephen Henson
18f2259499
BIO_s_bio() manual page detailing BIO pair.
...
This combines several manual pages provided by
Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >,
various comments by Bodo to the lists and a bit
of source examination by me.
2000-09-14 18:55:39 +00:00
Ulf Möller
1d84fd64fc
Bug fix: Montgomery multiplication could produce results with the wrong
...
sign.
2000-09-14 18:37:53 +00:00
Richard Levitte
03ed26afdd
Remove engine stuff that was erroneously put in the main trunk.
2000-09-14 18:16:25 +00:00
Richard Levitte
775bcebde5
Add Damien Miller's RPM specification file with a few modifications.
2000-09-14 15:28:44 +00:00
Richard Levitte
7fcc8326e3
Remove indentation in the NAME section. There's really no need to
...
indent there, especially since the pod2* scripts will regard that as
preformated text. In one case, indent a code section one step.
2000-09-14 13:17:55 +00:00
Richard Levitte
cc99526db1
Add a number of documentation files, mostly for SSL routines, but also
...
for a few BIO routines.
Submitted by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-09-14 13:11:56 +00:00
Richard Levitte
72660f5f15
Add a configuration for Sony News 4.
...
Submitted by NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp >
2000-09-14 12:48:48 +00:00
Dr. Stephen Henson
bace212474
Initial connect BIO docs.
2000-09-14 12:44:34 +00:00
Richard Levitte
e117a890ca
Remove indentation in the NAME section. There's really no need to
...
indent there, especially since the pod2* scripts will regard that as
preformated text. In one case, indent a code section one step.
2000-09-14 12:14:41 +00:00
Richard Levitte
5614bb91f5
rsa_num2 is no longer used, so remove it.
2000-09-14 11:09:03 +00:00
Richard Levitte
7abee0cedf
Jeffrey Altman convinced me this patch was really needed, or there is
...
no way to make sure GetCursorInfo will give us a valid answer.
2000-09-14 09:19:19 +00:00
Dr. Stephen Henson
6dcbaf5857
Docs for socket BIO.
2000-09-14 00:05:50 +00:00
Bodo Möller
baa080d46a
'make update'
2000-09-13 22:04:09 +00:00
Dr. Stephen Henson
02ef611ef3
BIO_s_fd() manual page.
2000-09-13 17:27:42 +00:00
Ulf Möller
24b8bf2163
Point to Peter Gutmann's revised paper.
...
The copy at www.usenix.org is the old version.
2000-09-13 14:24:07 +00:00
Richard Levitte
e37c27d239
One more passed test
2000-09-13 12:14:39 +00:00
Richard Levitte
270f4f6d63
Update info on what has been fixed
2000-09-13 11:35:54 +00:00
Richard Levitte
e147c6fef8
Update info on what has been fixed, and switch format for failure data
2000-09-13 11:33:09 +00:00
Richard Levitte
cea81a62ff
Make sure that Configure will defined DSO_WIN32 for the Win32 targets. I feel a bit unsure if this should really be done for Mingw32 and CygWin32
2000-09-13 11:29:15 +00:00
Richard Levitte
c0366d89f6
3 changes:
...
- Make sure PCURSORINFO is defined even on systems that do not provide it.
- Change the reference to Peter Gutmann's paper.
- Make sure we don't walk the whole heap lists for performance reasons.
Jeffrey Altman suggests following Peter Gutmann's advice to keep it
to 50 heap entries per heap list.
2000-09-13 07:17:35 +00:00
Ulf Möller
523d778aef
The other log message should have read "Note the DSA change".
2000-09-13 02:01:35 +00:00
Ulf Möller
5b7417dbe1
More Windows failures reported
2000-09-13 01:50:24 +00:00
Ulf Möller
5401c4c2bf
Not the DSA change.
2000-09-13 01:48:05 +00:00
Ulf Möller
c11dead17c
Don't set the two top bits to one when generating a random number < q.:wq
2000-09-13 01:45:54 +00:00
Dr. Stephen Henson
4041156461
Clarify some of the I/O issues.
...
Add case of using select() and blocking I/O with
BIOs and why you shouldn't (thanks Bodo!).
2000-09-13 00:20:24 +00:00
Richard Levitte
279fff0d7f
A few more systems reported successfull.
2000-09-12 22:19:41 +00:00
Bodo Möller
54f10e6adc
New SSL API mode 'SSL_MODE_AUTO_RETRY', which disables the default
...
behaviour that SSL_read may result in SSL_ERROR_WANT_READ.
2000-09-12 20:28:30 +00:00
Ulf Möller
fb1cba063d
bug: RAND_poll().
2000-09-12 16:40:59 +00:00
Richard Levitte
e4daf9dfce
Holger Reif reports a few more Solaris successes.
2000-09-12 15:46:04 +00:00
Richard Levitte
8a26980b07
Note the failure on Win32
2000-09-12 10:07:19 +00:00
Richard Levitte
1e27f4b68c
FreeBSD and solaris with gcc passed
2000-09-12 10:05:11 +00:00
Richard Levitte
03ea28c985
Better error checking for RSA and DSA signature and verification speed
...
tests. This was required to not get mysterious errors when they
wouldn't quite want to work.
2000-09-12 08:12:52 +00:00
Richard Levitte
0f92cae9bc
Linux in Sparc v7 passed
2000-09-12 06:49:03 +00:00
Richard Levitte
a9740b7da6
SCO 5.0.5 with both gcc and cc passed
2000-09-12 06:44:52 +00:00
Dr. Stephen Henson
d572cb6c1c
More BIO docs.
2000-09-12 01:56:56 +00:00
Richard Levitte
05c2b37176
DSA_verify() and DSA_sign() might return -1...
2000-09-11 22:21:38 +00:00
Richard Levitte
8c0514f741
A couple more HP-UX targets tested.
2000-09-11 22:02:07 +00:00
Richard Levitte
2aff74dd68
debug-linux-elf and debug-linux-elf-efence need to be linked with
...
libdl just as linux-elf...
2000-09-11 21:57:27 +00:00
Richard Levitte
b924f04784
Failure on Solaris when using the CSwift card.
2000-09-11 20:32:35 +00:00
Richard Levitte
d63b8db852
mkdef.pl still needed better logic. Also, the semantics of the
...
platforms list is clarified (it's however not quite followed in the
RSAREF case...).
RSAREF is also checked now.
2000-09-11 20:04:58 +00:00
Ben Laurie
2959f292db
Document an old change.
2000-09-11 17:58:09 +00:00
Richard Levitte
965c17756a
mkdef.pl has erroneous conditions to check if a symbol is excluded
...
from the given target. Fixed, I hope.
2000-09-11 17:31:05 +00:00
Richard Levitte
0c415ddd67
linux-elf passed
2000-09-11 17:10:21 +00:00
Richard Levitte
16e91fe8ab
OpenBSD doesn't support timeb.
2000-09-11 16:46:35 +00:00
Richard Levitte
74d2b0f112
Don't include e_os.h before the system headers
2000-09-11 16:37:36 +00:00
Richard Levitte
d40a9e8257
Reports for OpenBSD 2.7 and HP-UX 10.20
2000-09-11 16:36:14 +00:00
Richard Levitte
ec6a40e278
Last minute update, in time to make it to 0.9.6-beta1
2000-09-11 13:06:48 +00:00
Richard Levitte
4a6367ae66
Time to release a beta. Change the status accordingly.
2000-09-11 12:39:43 +00:00
Richard Levitte
bed1847b6a
Time to release a beta. Change the version numbers and dates
...
accordingly.
2000-09-11 12:31:36 +00:00
Richard Levitte
4d0c6b2936
I started with a make update, but a rewrite was actually needed.
...
Perhaps we should make rewrites the default thing to do?
2000-09-11 11:45:02 +00:00
Richard Levitte
25a73f2690
A cast is needed or Borland C will complain.
2000-09-11 11:43:35 +00:00
Dr. Stephen Henson
b1ccd57b18
Docs for cipher and base64 BIOs.
2000-09-11 01:04:09 +00:00
Dr. Stephen Henson
5fd0cd9a9b
More new BIO docs, correct some old ones.
2000-09-10 17:36:15 +00:00
Richard Levitte
97d8e82c4c
Marin Kraemer <Martin.Kraemer@MchP.Siemens.De> sent us patches to make
...
the OpenSSL commands x50 and req work better on a EBCDIC system.
2000-09-10 14:45:19 +00:00
Dr. Stephen Henson
d7b9c76c72
More preliminary BIO docs...
...
Incomplete and possibly inaccurate. Hope somone is
checking these :-)
2000-09-10 01:52:26 +00:00
Richard Levitte
0baed24c1b
More VMS synchronisation
2000-09-09 18:05:27 +00:00
Ulf Möller
4f7068c165
Fix some CygWin problems.
2000-09-09 04:45:18 +00:00
Dr. Stephen Henson
b144a5e907
Really add BIO_read this time...
2000-09-09 01:01:35 +00:00
Dr. Stephen Henson
c5a3b7e790
Add BIO_read() (etc.) docs.
...
Add an ASN1 FAQ because I'm sick of answering it :-)
2000-09-09 00:59:37 +00:00
Richard Levitte
a652ffc4b5
Clarify how one should behave when make fails. The fault is not
...
necessarely ours.
2000-09-08 22:19:27 +00:00
Richard Levitte
eec79f9bab
Synchronise the VMS build with the Unix one.
2000-09-08 20:25:49 +00:00
Richard Levitte
a1b15ac21f
Two places where I forgot to change vms_idhacks to symhacks.
2000-09-08 06:28:09 +00:00
Dr. Stephen Henson
709e85953d
Update verify docs.
...
New option to verify program to print out diagnostics.
2000-09-08 00:53:58 +00:00
Dr. Stephen Henson
84b65340e1
Two new PKCS#12 demo programs.
...
Update PKCS12_parse().
Make the keyid in certificate aux info more usable.
2000-09-07 23:14:26 +00:00
Dr. Stephen Henson
f50c11ca40
Ugh, BIO_find_type() cannot be passed a NULL.
...
Fix doc example, and fix BIO_find_type().
Fix PKCS7_verify(). It was using 'i' for both the
loop variable and the verify return value.
2000-09-07 17:42:25 +00:00
Dr. Stephen Henson
cfd3bb1785
Add docs for BIO_find_type() and friends.
...
Added function BIO_next() otherwise you can't
traverse a chain without accessing BIO internals.
2000-09-07 13:04:27 +00:00
Richard Levitte
62ab514e98
'make update'
2000-09-07 08:46:51 +00:00
Richard Levitte
724f9694a6
*.num rewitten to include the extra information.
2000-09-07 08:44:13 +00:00
Richard Levitte
948d0125db
Major hack of mkdef.pl. There should be no more need to redo the
...
process when some symbols are missing. Instead, all needed info is
saved in the .num files, including what conditions are needed for a
specific symbol to exist.
This was needed for the work I'm doing with shared libraries under
VMS.
2000-09-07 08:43:08 +00:00
Richard Levitte
9fc2570677
It's not just VMS that needs some symbols to be hacked. Let's
...
centralise those hacks in crypto/symhacks.h and use it everywhere it's
needed.
2000-09-07 08:18:05 +00:00
Richard Levitte
79d2eb64bb
Another thing I'm working on.
2000-09-07 08:14:46 +00:00
Bodo Möller
1974a58fe0
clarification (source/sink BIOs are usually *both* source and sink)
2000-09-07 08:07:55 +00:00
Richard Levitte
827dbcb150
Change the printing mahine used by BIO_printf() and friends so it can
...
handle an externally provided "static" buffer as well a a dynamic
buffer. The "static" buffer is filled first, but if overflowed, the
dynamic buffer is used instead, being allocated somewhere i the heap.
This combines the benefits of putting the output in a preallocated
buffer (on the stack, for example) and in a buffer that grows
somewhere in the heap.
2000-09-07 05:50:14 +00:00
Dr. Stephen Henson
47770c4dfb
Some BIO docs, incomplete, more to follow.
...
Hmmm I didn't realise BIO_pop() did that:
isn't source wonderful?
2000-09-07 00:22:31 +00:00
Bodo Möller
7228920ca8
Use name ...-whatever-solaris2 instead of ...-sun-solaris2
...
(the middle string describes the architecture).
2000-09-06 17:09:58 +00:00
Bodo Möller
61f175f4ba
Get rid of ASN1_UTCTIME_get, which cannot work with time_t
...
return type (on platforms where time_t is a 32 bit value).
New function ASN1_UTCTIME_cmp_time_t as a replacement
for use in apps/x509.c.
2000-09-06 15:40:52 +00:00
Bodo Möller
26b0d15628
See RSA Security's press release at
...
http://www.rsasecurity.com/news/pr/000906-1.html (September 6, 2000):
"RSA Security Releases RSA Encryption Algorithm into Public Domain"
2000-09-06 14:55:11 +00:00
Bodo Möller
15387be289
Another superfluous pair of parentheses.
2000-09-06 14:34:32 +00:00
Bodo Möller
f684090cbe
Another round of indentation changes: Position braces consistently,
...
add some whitespace for 'if ()', 'for ()', 'while ()' to distinguish
keywords from function names, and finally remove parens around return
values (why be stingy with whitespace but fill the source code
with an abundance of parentheses that are not needed to structure
expressions for readability?).
2000-09-06 14:14:20 +00:00
Bodo Möller
b7c190d97b
More indentation consistency: for (), while (), if (), return ()
...
usually get a space between keyword and opening paranthesis
so that they don't look like function calls, where no space is
used.
2000-09-06 13:31:44 +00:00
Bodo Möller
82aec1cc35
Fix X509_STORE_CTX_init. Make indentation more consistent. Dump core less often.
2000-09-06 13:24:10 +00:00
Bodo Möller
75cb225989
'make update'
2000-09-06 12:34:10 +00:00
Bodo Möller
36124b1087
Changes for QNX: there is no thread support, and the previous
...
configuration only worked with no-asm.
2000-09-06 12:25:58 +00:00
Bodo Möller
1af407e78f
typo
2000-09-06 12:18:24 +00:00
Bodo Möller
2b40660ec1
Add OAEP. Seed the PRNG.
2000-09-06 11:49:43 +00:00
Bodo Möller
f5882ce758
update
2000-09-06 10:50:33 +00:00
Bodo Möller
34417732fa
Add rsautl.
2000-09-06 07:58:27 +00:00
Bodo Möller
b894b13059
Clarification for SSL_ERROR_ZERO_RETURN
2000-09-06 07:56:03 +00:00
Dr. Stephen Henson
bbb720034a
Fix typo in rsautl.
...
Add support for settable verify time in X509_verify_cert().
Document rsautl utility.
2000-09-05 22:30:38 +00:00
Ben Laurie
4af6e2432b
Ignore executable.
2000-09-05 18:56:55 +00:00
Ben Laurie
f3f53c8ca5
Handle WANT_READ more correctly (thanks to Bodo).
2000-09-05 18:47:57 +00:00
Dr. Stephen Henson
2f043896d1
*BIG* verify code reorganisation.
...
The old code was painfully primitive and couldn't handle
distinct certificates using the same subject name.
The new code performs several tests on a candidate issuer
certificate based on certificate extensions.
It also adds several callbacks to X509_VERIFY_CTX so its
behaviour can be customised.
Unfortunately some hackery was needed to persuade X509_STORE
to tolerate this. This should go away when X509_STORE is
replaced, sometime...
This must have broken something though :-(
2000-09-05 17:53:58 +00:00
Ben Laurie
29eb7d9ce0
Distinguish between assertions and conditions that should cause death.
2000-09-05 17:06:45 +00:00
Dr. Stephen Henson
34216c0422
Keep a not of original encoding in certificate requests.
...
Add new option to PKCS7_sign to exclude S/MIME capabilities.
2000-09-05 13:27:57 +00:00
Bodo Möller
22c7ea4068
Mention fix in bio_lib.c.
2000-09-05 12:46:10 +00:00
Bodo Möller
29dc25e88a
Increase print buffer (10K instead of just 2K).
2000-09-05 12:43:39 +00:00
Bodo Möller
0572abbf53
Ignore Makefile.save
2000-09-05 12:42:05 +00:00
Bodo Möller
7d95ff76e6
Remove silly test for b->references at the end of BIO_write:
...
If some other thread deletes the BIO that one thread needs for
BIO_write, then there's a lot of trouble anyway; there's
nothing special about calling the callback.
2000-09-05 12:35:00 +00:00
Bodo Möller
affadbef0b
Consistency
2000-09-04 15:47:17 +00:00
Bodo Möller
397bd0938a
Use consistent indentation,
2000-09-04 15:38:02 +00:00
Bodo Möller
bbb8de0966
Avoid abort() throughout the library, except when preprocessor
...
symbols for debugging are defined.
2000-09-04 15:34:43 +00:00
Bodo Möller
5e38616380
Fix for BN_mul_word(a, 0).
2000-09-04 15:30:14 +00:00
Bodo Möller
54705b3992
-Wall insists that main return an int.
2000-09-04 15:29:06 +00:00
Bodo Möller
4ed601b172
Include MD4 in documentation.
2000-09-04 15:28:21 +00:00
Bodo Möller
04a3ae5592
Tell CVS to ignore 'lib'.
2000-09-04 15:27:47 +00:00
Dr. Stephen Henson
bd08a2bd0c
Add 'rsautl' low level RSA utility.
...
Add DER public key routines.
Add -passin argument to 'ca' utility.
Document sign and verify options to dgst.
2000-09-03 23:13:48 +00:00
Bodo Möller
55ac522068
Undo change from 1.7 to 1.8:
...
Returning -1 for an attempt to read from an empty buffer is empty is
not an error that should be signalled via the error queue, it's a
'retry read' condition and is signalled as such.
2000-09-01 12:29:14 +00:00
Bodo Möller
ccc265eaa7
Use C syntax, not FORTRAN or whatever that was :-)
2000-09-01 10:40:37 +00:00
Bodo Möller
a545c6f6b1
QNX 4 support.
2000-09-01 09:54:25 +00:00
Bodo Möller
5b774c67d3
-N option to diff is not essential, and mentioning it is unnecessarily
...
confusing to people whose diff doesn't implement it.
2000-09-01 09:42:17 +00:00
Ben Laurie
7049ef5f90
Add demo state machine.
2000-08-30 18:14:28 +00:00
Dr. Stephen Henson
7df1c720f6
Fix typo in i2d_ASN1_ENUMERATED
...
Fix bug in read only memory BIOs so BIO_reset() works.
Add sign and verify options to dgst utility, need
to update docs.
2000-08-30 16:14:29 +00:00
Ben Laurie
b3756cf0e9
Diagnose EOF on memory BIOs (or you just get mysterious errors with no error
...
message).
2000-08-28 12:54:18 +00:00
Ben Laurie
065866b28d
Use the passed buffer in ERR_error_string!
2000-08-28 10:57:01 +00:00
Dr. Stephen Henson
dcb1ef5c22
Change PKCS#7 test data to take account of removal of
...
indefinite length encoding.
2000-08-25 01:29:41 +00:00
Dr. Stephen Henson
d428bf8c56
New option to CA.pl to sign request using CA extensions.
...
This allows intermediate CAs to be created more easily.
PKCS12_create() now checks private key matches certificate.
Fix typo in x509 app.
Update docs.
New function ASN1_STRING_to_UTF8() converts any ASN1_STRING
type to UTF8.
2000-08-24 23:24:18 +00:00
Dr. Stephen Henson
d096b524af
Add support for 'other' PKCS#7 content types.
2000-08-22 22:20:25 +00:00
Ben Laurie
c9b51693dc
max -> dmax in bn_check_top.
2000-08-22 21:23:09 +00:00
Dr. Stephen Henson
cae0ae2e4b
Fix ASN1_INTEGER_to_BN properly this time...
2000-08-22 16:06:24 +00:00
Dr. Stephen Henson
469938cb40
Fixes to d2i_ASN1_OBJECT, ASN1_INTEGER_to_BN and a_strex.c
2000-08-22 12:54:21 +00:00
Dr. Stephen Henson
eaa2818189
Various fixes...
...
initialize ex_pathlen to -1 so it isn't checked if pathlen
is not present.
set ucert to NULL in apps/pkcs12.c otherwise it gets freed
twice.
remove extraneous '\r' in MIME encoder.
Allow a NULL to be passed to X509_gmtime_adj()
Make PKCS#7 code use definite length encoding rather then
the indefinite stuff it used previously.
2000-08-21 22:02:23 +00:00
Richard Levitte
622ec449e5
Added OIDs from RFC 2247, 1155, and a few from 1700
2000-08-19 08:47:59 +00:00
Richard Levitte
bb531a0a1c
Assar wanted an address change.
2000-08-18 09:50:41 +00:00
Richard Levitte
e6629837a9
Added BIO_vprintf() and BIO_vsnprintf(). The former because I've
...
found myself needing it a number of times, the latter for completeness.
2000-08-18 09:36:59 +00:00
Richard Levitte
97a377b973
NULL is not an integer...
2000-08-18 09:30:31 +00:00
Richard Levitte
6fd5a04729
Document the added diversity to the possible log levels.
2000-08-17 23:27:03 +00:00
Richard Levitte
0f4e21360d
Add more diversity to the possible log levels. Now we have full
...
coverage for all syslog level.
2000-08-17 23:15:53 +00:00
Richard Levitte
d03e0f3411
Added md4 to the VMS compilation
2000-08-17 22:43:31 +00:00
Richard Levitte
12dc462520
make update
2000-08-17 22:39:03 +00:00
Richard Levitte
967f4ca847
New option 'ctestall' for mkdef.pl, that makes it not only generate
...
existing functions, but really all functions that exist in libeay.num
and ssleay.num. This is a good check on how much we should actually
clean up the number files.
2000-08-17 21:26:22 +00:00
Richard Levitte
368f85545e
Document the reconfiguratoin option for Configure.
2000-08-17 10:25:46 +00:00
Richard Levitte
c59cb511f3
Allow reconfiguration. This can be useful if some source update
...
requires that you configure again, but you don't want to reenter all
those configuration arguments again.
2000-08-17 10:23:45 +00:00
Richard Levitte
fa1194d30a
Correct the title. This also fooled the automatic documentation builder
...
that this was actually the pkcs7 document...
2000-08-15 17:35:10 +00:00
Richard Levitte
25b93b9def
IBMcxx complains that maxmem is as low as 2048 for certain modules
...
(like all the digests). Setting maxmem to 16K seems to give the
compiler enough space to do all the optimization it wants.
2000-08-14 17:00:36 +00:00
Richard Levitte
b98ebe0fa5
I forgot this file that Assar provided as well...
2000-08-14 14:20:52 +00:00
Richard Levitte
3009458e2f
MD4 implemented. Assar Westerlund provided the digest code itself and the test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-08-14 14:05:53 +00:00
Richard Levitte
5ce42a7e68
Memory leaks fix. It now looks like all memory leaks, at least around
...
building complete chains, are gone.
2000-08-11 22:50:08 +00:00
Richard Levitte
9ee1c838cb
Memory leaks fix. There seems to be more in other parts of OpenSSL...
2000-08-11 21:41:08 +00:00
Richard Levitte
88364bc2bc
The pkcs12 had no way of getting a CA file or path to be used when
...
building a complete chain. Now added through the -CAfile and -CApath
arguments.
2000-08-11 19:43:20 +00:00
Richard Levitte
35140f3354
Abdelilah Essiari <aes@george.lbl.gov> reports that for very small
...
records, EVP_EncodeUpdate() may misbehave. This happens when there's
a record boundary between the two ending b64 equal signs, which makes
EVP_EncodeUpdate think there has been more than one EOF, and therefore
add an extra NUL at the end of the output buffer. This fix corrects
that problem.
2000-08-11 08:36:25 +00:00
Richard Levitte
15c2e1260b
Duplicate names detected...
2000-08-10 01:48:49 +00:00
Richard Levitte
d309394447
Make sure that 'initialized' is zeroed as well when cleaning up.
2000-08-08 15:06:44 +00:00
Dr. Stephen Henson
d4fbe3182d
Fix for bad sorting of object names.
...
Add warning print out if duplicate names found:
should end up as a fatal error but a warning for
now until they problems are fixed...
2000-08-06 18:43:32 +00:00
Richard Levitte
5584fa1709
For n > 7, we might get uninitialized (unzeroed) data.
...
Spotted by "Kyoungho Jeon" <k.h.jeon@securesoft.co.kr >.
2000-08-06 01:35:03 +00:00
Dr. Stephen Henson
2d978cbd30
Changes needed for Tandem NSK, supplied by Scott Uroff (scott@xypro.com).
...
Fix warnings with BIO_dump_indent().
2000-08-04 00:01:39 +00:00
Richard Levitte
0a3f67e3b0
On Unicos, shorts are 8 bytes, so instead, use a structure with 2 32-bit ints, just as in destest.c
2000-08-03 21:58:56 +00:00
Richard Levitte
ea58130d1a
On Unicos, openlog() isn't constified, so let's not do that in xopenlog()
2000-08-03 21:56:36 +00:00
Richard Levitte
3132e196bd
Unicos doesn't have sys/timeb.h. Fix it by defining the TIMEB macro unless on Unicos.
2000-08-03 21:54:31 +00:00
Richard Levitte
51b66427c9
*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h
...
where the openlog() is declared like this:
extern int openlog __((char *_Ident, int _Logopt, int _Facility));
2000-08-02 23:05:15 +00:00
Bodo Möller
69764d720a
Include SKIP DH parameters with OpenSSL.
...
These have been created by a SHA.1 based procedure, see
http://www.skip-vpn.org/spec/numbers.html .
(These values are taken from that document, I have not
implemented the prime generator.)
2000-08-02 09:04:44 +00:00
Richard Levitte
fcc6a1c4ec
Added and corrected documentation for the 'shared' option
2000-08-02 04:19:50 +00:00
Richard Levitte
55bad949ed
We've now covered the shared library support for Solaris, so the -shared hack
...
in config is no longer needed.
2000-08-02 04:08:19 +00:00
Richard Levitte
bb1c9dcc3b
It's probably a good idea to make the shared libraries depend in EX_LIBS.
2000-08-02 03:52:49 +00:00
Richard Levitte
aa04f1d7ad
"make update"
2000-08-02 03:44:16 +00:00
Richard Levitte
f4b45b76ef
I had completely forgotten that print_table_entry also needed to read the two
...
"shared" variables on it's own...
2000-08-02 03:43:29 +00:00
Richard Levitte
554097ff7f
Add support for shared libraries on Solaris.
2000-08-02 03:27:12 +00:00
Richard Levitte
96f3b56c8c
A few corrections with the shared library support:
...
1. make sure libssl.so becomes dependent on libcrypto.so
2. correct a number of silly bugs in the solaris-shared target, and make
sure lib*.so also depends on libc.so.
2000-08-02 03:03:17 +00:00
Richard Levitte
ee087bb8eb
Make it so we can dynamically enable memory allocation debugging through the
...
environment variable OPENSSL_DEBUG_MEMORY (existence is sufficient). At the
same time, it makes sure that CRYPTO_malloc_debug_init() gets expanded some-
where and thereby tested for compilation.
2000-08-01 17:15:36 +00:00
Richard Levitte
e5acb2bd2e
Remove casts that are no longer needed.
2000-08-01 08:41:13 +00:00
Richard Levitte
173e243aae
If a ip address is successfully parsed, the WSA structure under Win32 wasn't
...
properly initialised. Fixed.
Bug reported by DeJuan Jackson <djackson@inverge.com >
2000-07-31 22:49:27 +00:00
Bodo Möller
cc244b371d
Update 'openssl passwd' documentation on selection of algorithms.
2000-07-31 12:27:44 +00:00
Dr. Stephen Henson
bd4e152791
Document the new DN printing options.
...
Change a few names to be more meaningful.
Fix typos in CA.pl docs.
2000-07-30 01:27:59 +00:00
Bodo Möller
aa826d88e1
Document rollback issues.
2000-07-29 19:27:20 +00:00
Bodo Möller
37569e64e8
Fix SSL 2.0 rollback checking: The previous implementation of the
...
test was never triggered due to an off-by-one error.
In s23_clnt.c, don't use special rollback-attack detection padding
(RSA_SSLV23_PADDING) if SSL 2.0 is the only protocol enabled in the
client; similarly, in s23_srvr.c, don't do the rollback check if
SSL 2.0 is the only protocol enabled in the server.
2000-07-29 18:50:41 +00:00
Dr. Stephen Henson
a657546f9c
New ASN1_STRING_print_ex() and X509_NAME_print_ex()
...
functions. These are intended to be replacements
for the ancient ASN1_STRING_print() and X509_NAME_print()
functions.
The new functions support RFC2253 and various pretty
printing options. It is also possible to display
international characters if the terminal properly handles
UTF8 encoding (Linux seems to tolerate this if the
"unicode_start" script is run).
Still needs to be documented, integrated into other
utilities and extensively tested.
2000-07-28 01:58:15 +00:00
Richard Levitte
8083e1bd9e
There's a slight possibility that a is 0 in BN_sub_word(), and might
...
therefore have unallocated parts. Therefore, a check for the 0 case
is needed, resulting with the same thing as when a is negative.
2000-07-27 21:32:23 +00:00
Richard Levitte
8b4e27e26e
In the case where a < 0 and |a| < w, the result (assigned to a) from
...
BN_add_word becomes wrongly negative...
This was discovered by Darrel Hankerson <dhankers@cacr.math.uwaterloo.ca >
2000-07-27 21:17:14 +00:00
Richard Levitte
d6ade7422a
Looks like Win32 builds do not define THREADS. However, they're still
...
supporting threads, which means that th assertion is supperbly
dangerous, so make sure it's not compiled under Win32, period.
2000-07-27 20:14:39 +00:00
Richard Levitte
ca1e465f6d
Add the possibility to get hexdumps of unprintable data when using
...
'openssl asn1parse'. As a side effect, the functions ASN1_parse_dump
and BIO_dump_indent are added.
2000-07-27 17:28:25 +00:00
Dr. Stephen Henson
f6c1c9e95d
Fix a bug in the new i2d_{ENUMERATED,INTEGER} that
...
didn't recognise NULL to mean 'don't output anything'
2000-07-27 01:27:22 +00:00
Richard Levitte
2dbef509e2
When data are written out in very small blocks (less than 3 bytes in
...
size) through the base64 filter, b64_write() messes up it's parameters
in such a way that instead of writing correct base64 output, the first
4 characters of that output is repeated over and over. This fix
corrects that problem.
2000-07-26 16:53:58 +00:00
Richard Levitte
a4125514f5
There's a deadlock when ssleay_rand_bytes is called the first time, since
...
it wants to stir the pool using ssleay_rand_add. This fix provides the
possibility to call ssleay_rand_add inside a locked state by simply telling
it not to do any locking through a static variable. This isn't the most
elegant way one could do this, but it does retain thread safety during the
stirring process.
2000-07-26 08:32:00 +00:00
Dr. Stephen Henson
033d001e90
Fix warnings.
...
In crypto/err/err.c need to initialise p to
NULL in case thread_hash is NULL. Otherwise
p will be uninitialized.
2000-07-26 01:39:23 +00:00
Dr. Stephen Henson
284ef5f357
Make NEG_PUBKEY_BUG on by default.
...
ASN1_TIME fixes.
New function c2i_ASN1_OBJECT().
2000-07-26 01:18:37 +00:00
Richard Levitte
47ff5de8c2
Darrel Hankerson <dhankers@cacr.math.uwaterloo.ca> correctly discovered
...
that of the result pointer to bn_mul was the same as one of the two arguments,
That argument might have it's sign destroyed. He provided this fix.
2000-07-26 01:14:16 +00:00
Richard Levitte
34f0fe9de0
Avoid a race condition if another thread happens to remove the error
...
state at the same time.
2000-07-25 16:56:39 +00:00
Richard Levitte
ccb9aae905
Add support for solaris shared libraries, currently just experimental
...
(there's no way to get it through configuration yet).
2000-07-24 20:50:21 +00:00
Richard Levitte
f4316c36df
Avoid loops, and make sure that it's possible to still build shared
...
libraries even if the "shared" configuration option wasn't chosen.
2000-07-24 20:36:46 +00:00
Richard Levitte
8886f118db
This isn't entirely necessary if you do everything right from the
...
start, but can save you some trouble. Just ignore "shared" if it
comes up among the given options, at least for now...
2000-07-24 20:34:29 +00:00
Richard Levitte
f944e7845c
"make update"
2000-07-24 10:02:47 +00:00
Richard Levitte
6b7a83c7b0
Add a note on installation under Win32.
2000-07-24 09:57:02 +00:00
Richard Levitte
f6cd2d38c0
Show the running line count and definition cont in debug mode. That
...
has helped me a bit when I ran into trouble.
2000-07-24 07:01:57 +00:00
Ulf Möller
d55a3cf19d
Profiling option for mk1mf.pl
2000-07-21 19:00:38 +00:00
Bodo Möller
fa729135d8
crypto/err.c bugfix
2000-07-21 15:17:04 +00:00
Richard Levitte
b436a98257
Redo and enhance the support for building shared libraries. Currently
...
there's support for building under Linux and True64 (using examples
from the programming manuals), including versioning that is currently
the same as OpenSSL versions but should really be a different series.
With this change, it's up to the users to decide if they want shared
libraries as well as the static ones. This decision now has to be
done at configuration time (well, not really, those who know what they
do can still do it the same way as before).
The OpenSSL programs (openssl and the test programs) are currently
always linked statically, but this may change in the future in a
configurable manner. The necessary makefile variables to enable this
are in place.
Also note that I have done absolutely nothing about the Windows target
to get something similar. On the other hand, DLLs are already the
default there, but without versioning, and I've no idea what the
possibilities for such a thing are there...
2000-07-21 15:08:53 +00:00
Bodo Möller
2d789604b8
Bugfix: use write locks, not just read locks
2000-07-21 15:07:56 +00:00
Richard Levitte
c4558f8291
We do PKCS8 as well
2000-07-21 12:50:06 +00:00
Ulf Möller
2ad3c4c89e
oops.
2000-07-21 02:14:15 +00:00
Ulf Möller
3866db2d5a
don't print debug output
2000-07-21 01:13:26 +00:00
Ulf Möller
8ad7635ec9
Move RNG initialization to RAND_poll(), and shared definitions to
...
rand_lcl.h
2000-07-19 21:43:23 +00:00
Ulf Möller
c0722725f9
Randomness polling function for Win9x.
2000-07-19 21:35:35 +00:00
Bodo Möller
25063f1d9b
Document -purpose option in usage string.
2000-07-15 18:10:35 +00:00
Dr. Stephen Henson
fd13f0ee52
Make req seed the PRNG if signing with
...
an already existing DSA key.
Document the new smime options.
2000-07-12 23:55:30 +00:00
Richard Levitte
b364e5d27b
FAQ about ar "missing" on Solaris.
2000-07-11 21:44:53 +00:00
Bodo Möller
16ece03a2e
Add an early reference to BN_CTX_new so that the usage of BN_CTX_start
...
is easier to grasp.
2000-07-11 20:35:45 +00:00
Dr. Stephen Henson
094fe66d9f
Fix some typose in the i2d/d2i functions that
...
call the i2c/c2i (they were not using the
content length for the headers).
Fix ASN1 long form tag encoding. This never
worked but it was never tested since it is
only used for tags > 30.
New options to smime program to allow the
PKCS#7 format to be specified and the content
supplied externally.
2000-07-10 18:33:05 +00:00
Richard Levitte
27d7260075
Corrected small bug that could add ',L' when it shouldn't
2000-07-08 07:56:12 +00:00
Dr. Stephen Henson
a338e21bd1
New ASN1 functions that just deal with
...
content octets, not tag+length.
2000-07-07 13:24:36 +00:00
Richard Levitte
5789f8f780
More experiments show that you can set your data segment size soft
...
limit higher and thereby get through compilation of sha_dgst.c.
2000-07-05 17:46:58 +00:00
Richard Levitte
9b2961573a
Change the FAQ entry a bit, giving the details as I observed them.
2000-07-05 16:39:04 +00:00
Richard Levitte
d5870bbe23
Document the change.
2000-07-05 02:52:47 +00:00
Richard Levitte
c2bbf9cf6c
I got sick and tired of having to keep track of NIDs when such a thing
...
could be done automagically, much like the numbering in libeay.num and
ssleay.num. The solution works as follows:
- New object identifiers are inserted in objects.txt, following the
syntax given in objects.README.
- objects.pl is used to process obj_mac.num and create a new
obj_mac.h.
- obj_dat.pl is used to create a new obj_dat.h, using the data in
obj_mac.h.
This is currently kind of a hack, and the perl code in objects.pl
isn't very elegant, but it works as I intended. The simplest way to
check that it worked correctly is to look in obj_dat.h and check the
array nid_objs and make sure the objects haven't moved around (this is
important!). Additions are OK, as well as consistent name changes.
2000-07-05 02:45:36 +00:00
Richard Levitte
8f0d68fa27
Beautification
2000-07-05 02:23:55 +00:00
Richard Levitte
d54f8c8cf6
Add a blurb on how to solve the problem with failing compiltaion of sha_dgst.c on Alpha True64 Unix
2000-07-04 14:02:36 +00:00
Ulf Möller
e0b0dc11df
Add PRNGD link.
2000-07-03 17:26:51 +00:00
Dr. Stephen Henson
75c4f7e097
Update STATUS.
2000-07-02 21:11:11 +00:00
Bodo Möller
904cb691f3
Return bignum '0' when BN_rand is asked for a 0 bit random number.
2000-07-02 19:42:19 +00:00
Bodo Möller
3f2599d97d
Fix code structure (if ... else if ... where both parts
...
may be disabled by preprocessor symbols)
2000-07-02 19:40:44 +00:00
Bodo Möller
186a6f4876
Don't dereference NULL pointers.
...
Submitted by: bowe@chip.ma.certco.com
2000-07-02 18:16:38 +00:00
Ben Laurie
69b5d3c51f
Don't let top go below zero!
2000-07-01 16:30:27 +00:00
Ben Laurie
2bfb4dbce4
Use up-to-date functions.
2000-07-01 16:25:20 +00:00
Richard Levitte
4e74239cca
Give the user the option to measure real time instead of user CPU time.
2000-06-30 17:16:46 +00:00
Richard Levitte
f365611ca3
Undo the changes I just made. I'm not sure what I was thinking of.
...
The message to everyone is "Do not hack OpenSSL when stressed"...
2000-06-28 16:47:45 +00:00
Richard Levitte
523c83ec9a
Document my latest changes.
2000-06-28 16:24:29 +00:00
Richard Levitte
20d242b0de
Make it possible for users of the openssl applications to specify the
...
EGD should be used as seeding input, and where the named socket is.
2000-06-28 16:10:56 +00:00
Richard Levitte
dffd72f171
Make it possible for people to tell where the EGD socket is through
...
the RANDEGD environment variable.
2000-06-28 16:09:54 +00:00
Richard Levitte
3b3bc455d0
That's it, I've seen questions about this one time too many for
...
today. Time to add extra info so the poor users know where to
go with their troubles.
2000-06-28 14:32:12 +00:00
Richard Levitte
e871dcbc23
Make sure we use /usr/sbin/sysctl, especially since /usr/sbin is not
...
always in the users $PATH...
2000-06-28 10:33:37 +00:00
Richard Levitte
adbd4ed16d
Added references to RFCs 1421 to 1424, that describe PEM.
...
Suggested by Randolph Bentson <bentson@grieg.holmsjoen.com >
2000-06-26 16:12:01 +00:00
Bodo Möller
1f4643a2f4
BSD-style MD5-based password algorithm in 'openssl passwd'.
...
(Still needs to be tested against the original using sample passwords
of different length.)
2000-06-23 18:00:16 +00:00
Geoff Thorpe
8ba92cfe81
Steve fixed up some strange errors introduced into dso_win32.c, and I'm
...
just converting some spaces to tabs from his fix. :-)
2000-06-23 17:29:05 +00:00
Bodo Möller
fc57ebc057
Actually comment out the parts of BN_MOD_MUL_WORD that I inteded to
...
comment out in the previous commit
2000-06-23 08:10:28 +00:00
Bodo Möller
e958c5afe7
In BN_mod_exp_mont_word, avoid one application of BN_MOD_MUL_WORD,
...
and for small 'a' also a couple of calls to
BN_mod_mul_montgomery(r, r, r, ...).
2000-06-23 05:51:37 +00:00
Richard Levitte
431b0cce7d
Move add_oid_section to apps.c, so it can be shared by several
...
applications. Also, have it and the certificate and key loading
functions take a BIO argument for error output.
2000-06-22 22:07:27 +00:00
Richard Levitte
1023b1220e
Document the change in req.
2000-06-22 21:17:46 +00:00
Richard Levitte
ff4e9d91d9
Change req so the new parameter '-rand file' uses the given file in
...
addition to the file given through the RANDFILE option or environment
variable.
2000-06-22 21:16:01 +00:00
Richard Levitte
ce2d00b2b4
On case-insensitive systems, the 'install' target gets matched against
...
the 'INSTALL' file, which means that 9 times of 10, the BlowFish
headers won't get installed. Avoid this in the same way it's done in
crypto/des/Makefile.ssl, where someone apparently has thought of this...
2000-06-22 18:02:23 +00:00
Richard Levitte
90ae4673a5
Move the certificate and key loading functions to apps.c, so they can
...
be shared by several applications.
2000-06-22 17:42:50 +00:00
Richard Levitte
2a98f41708
Forgot the self-documentation within req.
2000-06-22 09:59:21 +00:00
Richard Levitte
fb0b844a7d
Document the change in req.
2000-06-22 09:19:59 +00:00
Richard Levitte
ac57d15b75
Small change to accept the command line parameter '-rand file'. This
...
parameter takes precedence over the RANDFILE option in the
configuration file.
2000-06-22 09:13:43 +00:00
Dr. Stephen Henson
4dd4535441
Change mkstack.pl so it now sorts each group
...
into lexical order. Previously it depended on
the order of files in the directory.
This should now mean that all systems will
agree on the order of safestack.h and will
not change it needlessly and avoid massive
needless commits to safestack.h in future.
It wont however avoid this one :-(
2000-06-22 00:34:27 +00:00
Ulf Möller
8415060e1e
use faster version
2000-06-21 21:20:46 +00:00
Geoff Thorpe
1a797ac67c
* This adds some checking to the 'dlfcn' DSO_METHOD that at least lets
...
it cope with OpenBSD which doesn't understand "RTLD_NOW".
* Added the dso_scheme config string entry for OpenBSD-x86 to give it
DSO support.
* 'make update' that has also absorbed some of Steve's mkstack changes
for the ASN-related macros.
2000-06-21 14:12:25 +00:00
Dr. Stephen Henson
130832150c
Fixes for Win32 build.
...
This is mostly a work around for the old VC++ problem
that it treats func() as func(void).
Various prototypes had been added to 'compare' function
pointers that triggered this. This could be fixed by removing
the prototype, adding function pointer casts to every call or
changing the passed function to use the expected arguments.
I mostly did the latter.
The mkdef.pl script was modified to remove the typesafe
functions which no longer exist.
Oh and some functions called OPENSSL_freeLibrary() were
changed back to FreeLibrary(), wonder how that happened :-)
2000-06-21 02:25:30 +00:00
Dr. Stephen Henson
7ef8206859
Handle ASN1_SET_OF and PKCS12_STACK_OF using function
...
casts in the same way as STACK_OF.
2000-06-20 18:45:28 +00:00
Geoff Thorpe
438fa2fdc1
'make update'
2000-06-20 14:06:06 +00:00
Bodo Möller
0f4805f515
Avoid unnecessary links and incomplete program file in apps/.
2000-06-19 17:38:22 +00:00
Richard Levitte
562ba1715a
'make update'
2000-06-19 16:51:41 +00:00
Richard Levitte
55b7688ef5
Add the missing callback pointer handling functions.
...
Also, make sure empty slots of the dynamic lock stack are used.
Actually, I'm not really sure this is the right thing to do, and may
remove it, with an endlessly growing stack as result...
2000-06-19 16:38:27 +00:00
Richard Levitte
3b21161922
The dynamic thread API changed, and so does the documentation.
2000-06-19 15:28:36 +00:00
Bodo Möller
95a9fea711
Add OPENSSL_free at the end of CRYPTO_destroy_dynlockid.
2000-06-19 13:53:15 +00:00
Richard Levitte
e73a6965e3
Redo the support for dynamic locks. First of all, it was terribly
...
insecure, so a static lock is added to isolate the sensitive parts.
Also, to avoid one thread freeing a lock that is used by another, a
reference counter is added.
2000-06-19 13:38:09 +00:00
Richard Levitte
9bc629208f
With the new stack hack macros, there's no need to shorten the names
...
any more.
2000-06-18 16:07:41 +00:00
Richard Levitte
4b88270ba8
Modifications for VMS.
2000-06-18 16:06:44 +00:00
Richard Levitte
c79223040d
Add support for dynamically created and destroyed mutexes. This will
...
be needed in some ENGINE code, and might serve elsewhere as well.
Note that it's implemented in such a way that the locking itself is
done through the same CRYPTO_lock function as the static locks.
WARNING: This is currently experimental and untested code (it will get
tested soon, though :-)).
2000-06-18 15:59:04 +00:00
Richard Levitte
a8b07aa4e9
First of all, with the current macros, we should never get any
...
type-specific stack function. Second, even when we don't build any of
those functions, DECLARE_STACK_OF lines should not find themselves
into $def.
2000-06-18 14:06:40 +00:00
Bodo Möller
3f39e5ae6c
Using speaking "variable" names in macros so that e.g. grepping for
...
sk_whatever_insert and sk_whatever_set immediately reveals the subtle
difference in parameter order.
Change mkstack.pl so that safestack.h is not rewritten when
nothing has changed.
2000-06-17 23:41:44 +00:00
Dr. Stephen Henson
3aceb94b9e
Safe stack reorganisation in terms of function casts.
...
After some messing around this seems to work but needs
a few more tests. Working out the syntax for sk_set_cmp_func()
(cast it to a function that itself returns a function pointer)
was painful :-(
Needs some testing to see what other compilers think of this
syntax.
Also needs similar stuff for ASN1_SET_OF etc etc.
2000-06-16 23:29:26 +00:00
Richard Levitte
fb3e1eeb93
Change to have a single library that works on both Win9x and WinNT.
...
As far as I understand, it still needs to be compiled on NT...
Contributed by Arne Ansper <arne@ats.cyber.ee >
2000-06-16 15:25:41 +00:00
Bodo Möller
f03aa651c0
typo
2000-06-16 14:35:05 +00:00
Bodo Möller
5d07c20d8e
In EVP_BytesToKey, replace explicit "8" by "PKCS5_SALT_LEN".
2000-06-16 14:29:51 +00:00
Bodo Möller
4ee1eb7bd4
There are compilers that complain if a variable has the same name as a
...
label. (Reported by Alexei Bakharevski.)
2000-06-16 14:24:37 +00:00
Geoff Thorpe
e9a68cfbc3
Currently the DSO_METHOD interface has one entry point to bind all
...
"symbols" including functions (of all prototypes( and variables. Whilst
casting any function type to another violates ANSI C (I believe), it is
a necessary evil in shared-library APIs. However, it is quite
conceivable that functions in general and data symbols could very well
be represented differently to each other on some systems, as Bodo said;
> Since the function/object distinction is a lot more likely to be
> important on real-life platforms supporting DSO *and* it can be quite
> easily done *and* it will silence compilers that don't like
> assignments from void pointers to function pointer variables, why
> not do it?
I agree. So this change splits the "dso_bind" handler in DSO_METHOD
into "dso_bind_var" and "dso_bind_func". Similarly the exported
function DSO_bind() has been split in two. I've also put together
changes for the various DSO_METHOD implementations, but so far only
DSO_dlfcn() has been tested. BTW: The prototype for dso_bind had been
a bit strange so I've taken the opportunity to change its shape (in
both variations).
Also, the README has been updated - particularly with a note about
using customised native name-translation for shared libraries (and that
you can't do it yet).
2000-06-16 10:45:36 +00:00
Dr. Stephen Henson
d3ed8ceb3d
Add support for the modified SGC key format used in IIS.
2000-06-15 23:48:05 +00:00
Richard Levitte
569e7f6ef2
This seems to work better with enums...
2000-06-15 20:57:25 +00:00
Richard Levitte
f20ee31477
Make sure that bs is not getting free'd again.
...
Reported by Robert Eiglmaier <robert.eiglmaier@ixos.de >
2000-06-15 11:10:15 +00:00
Richard Levitte
1e55286996
Add info on what some other people are currently working on.
2000-06-14 17:27:02 +00:00
Bodo Möller
9ef876f269
Report "error" (usually just "File exists", which is harmless)
...
when symlink() fails.
2000-06-14 10:09:46 +00:00
Bodo Möller
24bec03beb
This probably fixes a BN_rshift bug.
2000-06-13 15:07:39 +00:00
Bodo Möller
c3b1424cc0
Use BN_CTX_end when exiting early from BN_mod_exp_mont_word because
...
BN_mod_exp_atalla could be used.
2000-06-13 13:50:42 +00:00
Geoff Thorpe
8ba6d1b0cc
The atalla functionality doesn't work with the "word" version of
...
BN_mod_exp. Call the regular atalla mod_exp operation instead.
2000-06-13 13:18:51 +00:00
Geoff Thorpe
1c4f90a05d
Enable DSO support on alpha (OSF1), cc and gcc.
...
Also, "make update" has added some missing functions to libeay.num,
updated the TABLE for the alpha changes, and updated thousands of
dependancies that have changed from recent commits.
2000-06-13 12:59:38 +00:00
Ulf Möller
44317f04b1
protoypes
2000-06-12 19:45:38 +00:00
Ulf Möller
b7b40c3120
typo
2000-06-12 18:50:59 +00:00
Dr. Stephen Henson
e366f2b876
Fix evp_locl.h macros.
...
Documentation correction.
2000-06-11 15:43:17 +00:00
Dr. Stephen Henson
fd75eb50c0
Make EVP_SealInit() and EVP_OpenInit() check EVP_EncryptInit() and
...
EVP_DecryptInit() return values.
Update docs.
2000-06-11 12:27:58 +00:00
Dr. Stephen Henson
a91dedca48
Document EVP routines. Change EVP_SealInit() and EVP_OpenInit()
...
to support multiple calls.
New function to retrieve email address from certificates and
requests.
2000-06-11 12:18:15 +00:00
Bodo Möller
482a9d41b9
In longer tests with g=2, DH exchange does not become quite as fast
...
as expected -- maybe it's the different processor, maybe my
previous timings were too inaccurate.
2000-06-10 12:05:52 +00:00
Bodo Möller
a71e2621bc
BN_mod_exp_mont_word entry:
...
Don't give performance gain estimates that appear to be more precise
than they really are, especially when they are wrong
(2/(1/1.15 + 1) = ca. 1.0698).
2000-06-10 10:08:31 +00:00
Bodo Möller
b908bd4e15
Comment about bcopy on SunOS 4.x.
2000-06-09 16:43:49 +00:00
Richard Levitte
ef33b97050
Using checks of the existence of HEADER_{foo}_H in other header files
...
was a really bad idea. For example, the following:
#include <x509.h>
#include <bio.h>
#include <asn1.h>
would make sure that things like ASN1_UTCTIME_print() wasn't defined
unless you moved the inclusion of bio.h to above the inclusion of
x509.h. The reason is that x509.h includes asn1.h, and the
declaration of ASN1_UTCTIME_print() depended on the definition of
HEADER_BIO_H. That's what I call an obscure bug.
Instead, this change makes sure that whatever header files are needed
for the correct process of one header file are included automagically,
and that the definitions of, for example, BIO-related things are
dependent on the absence of the NO_{foo} macros. This is also
consistent with the way parts of OpenSSL can be excluded at will.
2000-06-09 10:41:35 +00:00
Bodo Möller
814ed26cfa
Comment for increased code clarity.
2000-06-09 09:11:30 +00:00
Bodo Möller
6da6a11331
Another attempt to allow compiling on SunOS 4.*.
2000-06-08 22:47:09 +00:00
Bodo Möller
3dd985ee2a
Harmonize indentation.
2000-06-08 22:41:03 +00:00
Bodo Möller
f1d92d941e
Accept -F4 option in lower case, which is what the usage information
...
says one should use.
2000-06-08 22:40:09 +00:00
Bodo Möller
dc434bbcb0
Slightly faster DSA verification (BN_mod_exp2_mont),
...
marginally faster BN_mod_exp for 1024 bit exponents.
2000-06-08 20:26:03 +00:00
Bodo Möller
947b3b8baf
Add entry that Richard forgot.
2000-06-08 15:01:14 +00:00
Bodo Möller
f8989a2155
Use the equivalent of a sliding window (without precomputation
...
because we're only handling words anyway) in BN_mod_exp_mont_word
making it a little faster for very small exponents,
and adjust the performance gain estimate in CHANGES according
to slightly more thorough measurements.
(15% faster than BN_mod_exp_mont for "large" base,
20% faster than BN_mod_exp_mont for small base.)
2000-06-08 09:39:28 +00:00
Bodo Möller
6dad7bd69c
Speed up DH with small generator.
2000-06-07 21:29:25 +00:00
Bodo Möller
208f3688e0
No need to abort if c_rehash fails here (e.g. because Perl is not where
...
it is expected).
2000-06-07 21:28:15 +00:00
Bodo Möller
b598ea93e7
use consistent indentation
2000-06-07 19:43:44 +00:00
Ulf Möller
7e6502a6cb
Option "no-symlinks" to configure without creating the links (e.g.
...
for use with makefile.one)
2000-06-06 20:52:42 +00:00
Andy Polyakov
9887c71c41
Compaq C warns that "the expression 'p=scan_esc(p)' modifies the variable
...
'p' more than once without an intervening sequence point. This behavior
is undefined." What it essentially complains about is 'p=p+=1'. Now it's
changed to 'p=p+1'...
2000-06-06 15:21:12 +00:00
Andy Polyakov
62187daf9f
MT-support for IRIX 6.x and Alpha-Linux
2000-06-06 14:13:16 +00:00
Ulf Möller
e7cae74725
Increased consideration for stupid Linux users.
2000-06-06 02:45:18 +00:00
Andy Polyakov
e6441154fc
GCC 2.95.2 from IRIX 6.5 -mabi=64 compiler bug workaround:-(
...
Submitted by:
Reviewed by:
PR:
2000-06-05 14:39:47 +00:00
Bodo Möller
849c0e3046
int may be smaller than 32 bits.
2000-06-05 13:50:57 +00:00
Richard Levitte
b368eddd04
According to Gordon Atwood <gordon@cs.ualberta.ca>, GNU C on SunOS
...
4.1.4 uses libiberty to define strtoul and strerror.
2000-06-04 07:17:28 +00:00
Richard Levitte
823d8a6eb1
According to Gordon Atwood <gordon@cs.ualberta.ca>, stdlib.h is
...
needed, or size_t won't be defined on SunOS 4.1.4.
2000-06-04 07:12:20 +00:00
Richard Levitte
bc596a7418
Typo...
2000-06-04 07:08:29 +00:00
Ulf Möller
be5d92e014
CygWin32 support.
...
Submitted by: John Jarvie <jjarvie@newsguy.com >
2000-06-03 23:23:10 +00:00
Ulf Möller
c32364f54c
Yet another bc FAQ.
2000-06-03 23:21:43 +00:00
Ben Laurie
1921eaad64
EVP constification.
2000-06-03 14:13:58 +00:00
Richard Levitte
26a3a48d65
There have been a number of complaints from a number of sources that names
...
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other packages. That is reason enough to change
the names of the OpenSSL memory allocation macros to something that has a
better chance of being unique, like prepending them with OPENSSL_.
This change includes all the name changes needed throughout all C files.
2000-06-01 22:19:21 +00:00
Ulf Möller
de42b6a7a8
Use NO_FP_API.
2000-06-01 20:25:44 +00:00
Ulf Möller
922ebc7b0d
Don't include <stdlib.h>. In the NO_FP_API case, don't include <stdio.h>.
2000-06-01 19:34:25 +00:00
Richard Levitte
b194041adf
Small documentation bug, probably a cut'n'paste, corrected.
2000-06-01 17:40:34 +00:00
Ulf Möller
db82b8f9bd
Bug fix for 64 bit HP-UX.
...
Submitted by: Karsten Spang <ks@bellesystems.com >
2000-06-01 14:24:59 +00:00
Richard Levitte
a9ef75c50d
Small fix to enable reading from stdin as well.
...
Contributed by Yoichiro Okabe <okabe@wizsoft.co.jp >
2000-06-01 11:23:20 +00:00
Geoff Thorpe
7edd20916a
"make update" + stripping the type-specific stack functions out of
...
libeay.num and ssleay.num.
2000-06-01 06:07:19 +00:00
Geoff Thorpe
e41c8d6ad4
This change will cause builds (by default) to not use different STACK
...
structures and functions for each stack type. The previous behaviour
can be enabled by configuring with the "-DDEBUG_SAFESTACK" option.
This will also cause "make update" (mkdef.pl in particular) to
update the libeay.num and ssleay.num symbol tables with the number of
extra functions DEBUG_SAFESTACK creates.
The way this change works is to accompany each DECLARE_STACK_OF()
macro with a set of "#define"d versions of the sk_##type##_***
functions that ensures all the existing "type-safe" stack calls are
precompiled into the underlying stack calls. The presence or abscence
of the DEBUG_SAFESTACK symbol controls whether this block of
"#define"s or the DECLARE_STACK_OF() macro is taking effect. The
block of "#define"s is in turn generated and maintained by a perl
script (util/mkstack.pl) that encompasses the block with delimiting
C comments. This works in a similar way to the auto-generated error
codes and, like the other such maintenance utilities, is invoked
by the "make update" target.
A long (but mundane) commit will follow this with the results of
"make update" - this will include all the "#define" blocks for
each DECLARE_STACK_OF() statement, along with stripped down
libeay.num and ssleay.num files.
2000-06-01 05:13:52 +00:00
Geoff Thorpe
ccd86b68ef
The previous commit to crypto/stack/*.[ch] pulled the type-safety strings
...
yet tighter, and also put some heat on the rest of the library by
insisting (correctly) that compare callbacks used in stacks are prototyped
with "const" parameters. This has led to a depth-first explosion of
compiler warnings in the code where 1 constification has led to 3 or 4
more. Fortunately these have all been resolved to completion and the code
seems cleaner as a result - in particular many of the _cmp() functions
should have been prototyped with "const"s, and now are. There was one
little problem however;
X509_cmp() should by rights compare "const X509 *" pointers, and it is now
declared as such. However, it's internal workings can involve
recalculating hash values and extensions if they have not already been
setup. Someone with a more intricate understanding of the flow control of
X509 might be able to tighten this up, but for now - this seemed the
obvious place to stop the "depth-first" constification of the code by
using an evil cast (they have migrated all the way here from safestack.h).
Fortunately, this is the only place in the code where this was required
to complete these type-safety changes, and it's reasonably clear and
commented, and seemed the least unacceptable of the options. Trying to
take the constification further ends up exploding out considerably, and
indeed leads directly into generalised ASN functions which are not likely
to cooperate well with this.
2000-06-01 02:36:58 +00:00
Geoff Thorpe
7bb7043580
This is the first of two commits (didn't want to dump them all into the
...
same one). However, the first will temporarily break things until the
second comes through. :-)
The safestack.h handling was mapping compare callbacks that externally
are of the type (int (*)(type **,type **)) into the underlying callback
type used by stack.[ch], which is (int (*)(void *,void *)). After some
degree of digging, it appears that the callback type in the underlying
stack code should use double pointers too - when the compare operations
are invoked (from sk_find and sk_sort), they are being used by bsearch
and qsort to compare two pointers to pointers. This change corrects the
prototyping (by only casting to the (void*,void*) form at the moment
it is needed by bsearch and qsort) and makes the mapping in safestack.h
more transparent. It also changes from "void*" to "char*" to stay in
keeping with stack.[ch]'s assumed base type of "char".
Also - the "const" situation was that safestack.h was throwing away
"const"s, and to compound the problem - a close examination of stack.c
showed that (const char **) is not really achieving what it is supposed
to when the callback is being invoked, what is needed is
(const char * const *). So the underlying stack.[ch] and the mapping
macros in safestack.h have all been altered to correct this.
What will follow are the vast quantities of "const" corrections required
in stack-dependant code that was being let "slip" through when
safestack.h was discarding "const"s. These now all come up as compiler
warnings.
2000-06-01 02:15:40 +00:00
Ulf Möller
f3e9b338e0
is needed.
2000-06-01 00:27:59 +00:00
Bodo Möller
cbb6ad9d10
typo
2000-05-31 23:20:10 +00:00
Bodo Möller
727daea783
dh and gendh have been obsoleted by dhparam.
2000-05-31 23:07:48 +00:00
Ulf Möller
2453890463
#include <stdio.h> not needed.
2000-05-31 22:25:44 +00:00
Ulf Möller
78e2426859
#include <stdlib.h> is not needed.
2000-05-31 22:13:59 +00:00
Richard Levitte
602ef2ae00
Result of "make update"
2000-05-31 21:35:38 +00:00
Richard Levitte
31efc3a78d
This seems to become a FAQ...
2000-05-31 20:11:11 +00:00
Geoff Thorpe
a4e31088ce
sk_***_new_null() seems to be there to avoid exactly this sort of thing
...
which is a cast between NULL and a function pointer.
2000-05-31 17:41:34 +00:00
Geoff Thorpe
e20d7d7167
sk_value was also suffering from de-const-ification.
...
Also, add in a couple of missing declarations in pkcs7 code.
2000-05-31 17:35:11 +00:00
Richard Levitte
b108611622
config can now detect ARM Linux automagically.
...
Contributed by Jeremy Norris <jeremy.norris@rebel.com >
2000-05-31 17:06:10 +00:00
Bodo Möller
15e98129b2
strtoul is not used anywhere.
2000-05-31 16:44:22 +00:00
Bodo Möller
af463e7e19
When compiling with /opt/SUNWspro/SC4.2/bin/cc on Solaris, __svr4__ is
...
not defined, but __SVR4 is.
2000-05-31 16:42:47 +00:00
Geoff Thorpe
01296a6de0
All the little functions created by the IMPLEMENT_STACK_OF() macro will
...
cast their type-specific STACK into a real STACK and call the underlying
sk_*** function. The problem is that if the STACK_OF(..) parameter being
passed in has a "const *" qualifier, it is discarded by the cast.
I'm currently implementing a fix for this but in the mean-time, this is
one case I noticed (a few type-specific sk_**_num() functions pass in
const type-specific stacks). If there are other errors in the code where
consts are being discarded, we will similarly not notice them. yuck.
2000-05-31 15:28:01 +00:00
Bodo Möller
2ace287dea
Move Windows seeding functions into a separate file.
...
They have nothing to do with the particular PRNG (md_rand.c).
2000-05-31 12:48:35 +00:00
Bodo Möller
939fff6799
Add "FIXME" comment.
2000-05-31 09:51:55 +00:00
Bodo Möller
361ee9733f
Improve PRNG robustness.
2000-05-30 21:44:36 +00:00
Dr. Stephen Henson
49528751b8
More EVP cipher revision.
...
Change EVP_SealInit() and EVP_OpenInit() to
handle cipher parameters.
Make it possible to set RC2 and RC5 params.
Make RC2 ASN1 code use the effective key bits
and not the key length.
TODO: document how new API works.
2000-05-30 18:26:22 +00:00
Geoff Thorpe
547bf7f983
"make update"
...
Also, corrects the linux-elf-arm config string, it was previously setting
$des_obj = dlfcn :-)
2000-05-30 12:59:43 +00:00
Richard Levitte
fbecbc8cfb
You must have an empty line between =item's
2000-05-30 08:01:24 +00:00
Dr. Stephen Henson
5da2f69f41
Fourth phase EVP revision.
...
Declare ciphers in terms of macros. This reduces
the amount of code and places each block cipher EVP
definition in a single file instead of being spread
over 4 files.
2000-05-30 02:21:15 +00:00
Dr. Stephen Henson
57ae2e2428
Fourth phase EVP revision.
...
Declare ciphers in terms of macros. This reduces
the amount of code and places each block cipher EVP
definition in a single file instead of being spread
over 4 files.
2000-05-30 02:10:57 +00:00
Richard Levitte
380d3aa6be
Configuration for linux on ARM (contributed by Jeremy Norris
...
<jeremy.norris@rebel.com >)
2000-05-29 16:18:37 +00:00
Geoff Thorpe
4c0aee5a75
Minor corrections to documentation.
...
* speed processes any/all options passed to it, not just one.
* DH and DSA have no "_get_method()" functions, only RSA does.
* typos.
2000-05-29 15:52:21 +00:00
Geoff Thorpe
8c343cf861
another warning.
2000-05-29 04:20:52 +00:00
Geoff Thorpe
4dbe060f2c
It seems that mktime does what is required here. Certainly timegm() can
...
not be used because it is not available on all systems (most notably,
win32).
2000-05-29 03:50:37 +00:00
Geoff Thorpe
e212226828
This declaration seems to have been added into the header file accidently.
...
There's no trace of it being implemented and it doesn't seem to have been
intended given that it is prototyped with a BIO yet there was a BIO-
specific version added in at the same time.
2000-05-29 03:17:45 +00:00
Geoff Thorpe
e9e6b88b35
oops.
2000-05-29 02:42:57 +00:00
Dr. Stephen Henson
360370d953
Third phase of EVP cipher overhaul.
...
Remove duplicated code in EVP.
2000-05-28 12:44:46 +00:00
Bodo Möller
1fab73ac85
Bugfix: clear error queue after ignoring ssl_verify_cert_chain result.
2000-05-27 22:25:01 +00:00
Dr. Stephen Henson
be06a9348d
Second phase of EVP cipher overhaul.
...
Change functions like EVP_EncryptUpdate() so they now return a
value. These normally have software only implementations
which cannot fail so this was acceptable. However ciphers
can be implemented in hardware and these could return errors.
2000-05-27 12:38:43 +00:00
Dr. Stephen Henson
7f0606016c
Beginnings of EVP cipher overhaul. This should eventually
...
enhance and tidy up the EVP interface.
This patch adds initial support for variable length ciphers
and changes S/MIME code to use this.
Some other library functions need modifying to support use
of modified cipher parameters.
Also need to change all the cipher functions that should
return error codes, but currenly don't.
And of course it needs extensive testing...
2000-05-26 23:51:35 +00:00
Geoff Thorpe
7b224903f4
cvs update
2000-05-25 13:20:11 +00:00
Bodo Möller
93d8bfcdc4
typo
2000-05-25 11:24:42 +00:00
Bodo Möller
2c05c494c0
Implement SSL_OP_TLS_ROLLBACK_BUG for servers.
...
Call dh_tmp_cb with correct 'is_export' flag.
Avoid tabs in CHANGES.
2000-05-25 09:50:40 +00:00
Richard Levitte
2933ed4df7
Add the target system linux-m68k
2000-05-24 22:00:59 +00:00
Dr. Stephen Henson
b4b41f48d1
Add DSA library string. Workaround for IIS .key file invalid
...
ASN1 encoding.
2000-05-24 13:09:59 +00:00
Ralf S. Engelschall
447a9638b7
Fix Blowfish URL.
...
Submitted by: Arnaud De Timmerman <Arnaud.De.Timmerman@branchur.fr >
2000-05-23 18:33:44 +00:00
Ben Laurie
4d29312ce1
Yet more typesafety.
2000-05-21 15:21:55 +00:00
Bodo Möller
c129544f0f
Avoid sprintf
2000-05-21 14:21:24 +00:00
Bodo Möller
063c0502ef
Avoid sprintf.
2000-05-21 14:17:01 +00:00
Bodo Möller
2ea0910031
Avoid sprintf, and harmonize indentation.
2000-05-21 14:14:30 +00:00
Bodo Möller
33399fdee2
Avoid sprintf.
2000-05-21 14:10:05 +00:00
Richard Levitte
a45623c447
'make update'
2000-05-19 13:44:28 +00:00
Richard Levitte
145d39fbe5
Remove extra comma (creates a unnessecary null element, right?).
2000-05-19 13:36:29 +00:00
Bodo Möller
d9586857d6
Add required cast.
2000-05-19 12:02:49 +00:00
Bodo Möller
c95b7a723f
Fix "FIXME" indentation :-)
2000-05-19 12:02:09 +00:00
Bodo Möller
5569e1c39a
Add "FIXME" comment, and adjust the indentation.
2000-05-19 11:59:55 +00:00
Richard Levitte
89269c84fe
Add a couple of macros that make OpenSSL compilable on SunOS 4.1.4.
...
Contributed by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp >
2000-05-19 08:53:06 +00:00
Bodo Möller
608c31c60d
typo
2000-05-19 07:54:42 +00:00
Richard Levitte
6d7cce481e
Add a note about the new document.
2000-05-18 21:25:48 +00:00
Richard Levitte
6d52cf2149
Add a new file where all the standards and other documents that we try
...
to adhere to are listed. It should be regarded as a complement to
whatever is out on the web, including the docs in http://www.openssl.org/
2000-05-18 21:22:50 +00:00
Dr. Stephen Henson
439df5087f
Fix c_rehash script, add -fingerprint option to crl.
2000-05-18 00:33:00 +00:00
Ben Laurie
0d3b0afe9e
Typesafety Thought Police last part.
2000-05-17 10:08:05 +00:00
Ben Laurie
abc9400e10
Typesafety Thought Police part 5.
2000-05-17 09:13:36 +00:00
Ben Laurie
371acb22e6
Typesafe Thought Police part 4.
2000-05-16 23:01:19 +00:00
Ben Laurie
5de603abc8
Typesafety Thought Police part 3.
2000-05-16 21:22:45 +00:00
Ben Laurie
f2716dada0
Typesafety Thought Police Part 2.
2000-05-16 19:53:50 +00:00
Ben Laurie
b4604683fa
Typesafety thought police.
2000-05-16 14:38:29 +00:00
Ulf Möller
0e1c06128a
Get rid of more non-ANSI declarations.
2000-05-15 22:54:43 +00:00
Ulf Möller
0c109ea2cb
prototype.
2000-05-15 21:02:44 +00:00
Ulf Möller
911ea946cb
Make sure that NO-RSA applications etc can include evp.h
2000-05-15 19:24:23 +00:00
Ulf Möller
c22e4b19e6
Missing cases when no_rsa is defined
...
Submitted by: Zeroknowledge
2000-05-15 19:20:10 +00:00
Ulf Möller
991f0706d8
MacOS changes.
2000-05-15 18:59:55 +00:00
Ben Laurie
fd73a2121c
Allow UTCTIME objects to be retrieved. Check for imminent cert expiry.
2000-05-14 12:39:53 +00:00
Bodo Möller
50e4e9283d
When open()ing 'file' in RAND_write_file, don't use O_EXCL.
...
This is superfluous now that we don't have to avoid creating
multiple versions of the file on VMS (because older versions
are now deleted).
2000-05-11 23:10:27 +00:00
Richard Levitte
8530712dff
Being sick and tired of the hogging Efence does on my laptop, I
...
decided to provide an alternative...
2000-05-08 16:58:29 +00:00
Dr. Stephen Henson
0cb957a684
Fix for SSL server purpose checking
2000-05-04 23:03:49 +00:00
Dr. Stephen Henson
a331a305e9
Make PKCS#12 code handle missing passwords.
...
Add a couple of FAQs.
2000-05-04 00:08:35 +00:00
Bodo Möller
316e6a66f2
Note apps/x509.c bugfixes.
2000-05-02 20:29:03 +00:00
Bodo Möller
c4d0df0c4f
Fix a memory leak, and don't generate inappropriate error message
...
when PEM_read_bio_X509_REQ fails.
2000-05-02 20:18:48 +00:00
Richard Levitte
aa9fb57b99
Initialise.
2000-05-02 13:38:11 +00:00
Richard Levitte
6596268675
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
...
"Jan Mikkelsen" <janm@transactionsite.com > correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Also, make the memory debugging routines defined and declared with
prototypes, and use void* instead of char* for memory blobs.
And last of all, redo the ugly callback construct for elegance and
better definition (with prototypes).
2000-05-02 13:36:50 +00:00
Richard Levitte
b50e1bd3c3
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
...
"Jan Mikkelsen" <janm@transactionsite.com > correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
2000-05-02 12:35:04 +00:00
Richard Levitte
82271cee5b
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
...
"Jan Mikkelsen" <janm@transactionsite.com > correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
2000-05-02 12:16:01 +00:00
Bodo Möller
22a415478f
Add missing #include.
2000-05-01 19:49:41 +00:00
Bodo Möller
dcba2534fa
Avoid leaking memory in thread_hash (and enable memory leak detection
...
for it).
2000-04-29 23:58:05 +00:00
Ulf Möller
b222eb6443
linux-elf bugfix
...
Submitted by:
Reviewed by:
PR:
2000-04-27 15:07:15 +00:00
Ulf Möller
3973628ea6
Submitted by:
...
Reviewed by:
PR:
2000-04-27 15:06:26 +00:00
Bodo Möller
7fc840cc85
Stylistic changes: Don't use a macro for the malloc'ed length since it
...
is not constant.
2000-04-27 09:11:28 +00:00
Bodo Möller
4adcfa052f
Warn about truncation also in the case when a single password is read using
...
the password prompt.
2000-04-27 06:47:23 +00:00
Richard Levitte
09451b6857
Use CONFerr, not RSAerr, in the conf library...
2000-04-26 12:15:19 +00:00
Richard Levitte
21346b7a04
Clarifications and removal of double declaration...
2000-04-26 12:13:19 +00:00
Geoff Thorpe
ebbaebf784
This case in the "dso_unload" handlers should not be reported as an error -
...
if a DSO_load(NULL,...) operation fails, it will have to call DSO_free() on
the DSO structure it created and that will filter through to this "unload"
call.
If the stack size is "< 1", then the library never actually loaded. To keep
things clean higher up, I'll treat this as a vacuous case without an error.
It makes the error stack easier to follow real world cases, and the error
this ignores was only useful for catching bugs in internal code, not
mismatched calls from applications (which should be handled in the generic
DSO layer).
2000-04-25 08:37:12 +00:00
Geoff Thorpe
da414db464
The handling of DSA_METHOD and DH_METHOD wasn't quite as problematic as
...
with RSA_METHOD (the **_get_default_methods do set the default value if
it's not set). However, the code had some duplication and was a bit
conter-intuitive.
2000-04-20 07:58:11 +00:00
Geoff Thorpe
deb4d50e51
Previously, the default RSA_METHOD was NULL until the first RSA structure was
...
initialised, at which point an appropriate default was chosen. This meant a
call to RSA_get_default_method might have returned FALSE.
This change fixes that; now any called to RSA_new(), RSA_new_method(NULL), or
RSA_get_default_method() will ensure that a default is chosen if it wasn't
already.
2000-04-20 06:44:18 +00:00
Geoff Thorpe
ffb488781f
Thanks to "make update" ...
2000-04-19 23:02:12 +00:00
Geoff Thorpe
b9e6391582
This change facilitates name translation for shared libraries. The
...
technique used is far from perfect and alternatives are welcome.
Basically if the translation flag is set, the string is not too
long, and there appears to be no path information in the string,
then it is converted to whatever the standard should be for the
DSO_METHOD in question, eg;
blah --> libblah.so on *nix, and
blah --> blah.dll on win32.
This change also introduces the DSO_ctrl() function that is used
by the name translation stuff.
2000-04-19 21:45:17 +00:00
Bodo Möller
2c8c4ce2e0
Correction.
2000-04-15 00:04:30 +00:00
Bodo Möller
bc36f18117
Ignore lib and Makefile.save.
2000-04-14 23:37:44 +00:00
Bodo Möller
e5c84d5152
New function ERR_error_string_n.
2000-04-14 23:36:15 +00:00
Bodo Möller
d49f3797a5
Minor corrections.
2000-04-12 23:04:13 +00:00
Richard Levitte
b87ef9460b
OpenVMS, not OpenVSM...
2000-04-12 16:48:20 +00:00
Richard Levitte
a9831305d8
I forgot to update the change log
2000-04-10 15:48:16 +00:00
Richard Levitte
7a807ad8a7
"make update"
2000-04-09 12:52:40 +00:00
Richard Levitte
d86b6915be
I've always wanted to make the CONF library more adaptable. Here's
...
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
2000-04-09 12:04:35 +00:00
Bodo Möller
05e15b046f
"make update" for DSO additions.
2000-04-06 22:33:39 +00:00
Bodo Möller
1d90f28029
In theory, TLS v1 ciphersuites are not the same as SSL v3 ciphersuites
2000-04-06 22:33:14 +00:00
Bodo Möller
8acdd759b9
Clarifications.
2000-04-06 22:30:57 +00:00
Bodo Möller
46b3bd5454
Avoid memory leak.
2000-04-06 22:25:49 +00:00
Geoff Thorpe
51175595b3
Constification, and a silly mistake in the comments.
2000-04-06 14:54:54 +00:00
Geoff Thorpe
eca57e925a
I forgot about $openssl_other_defines ... should probably do this
...
for consistency. Not sure though whether HAVE_DLFCN_H should be
included too? If we go the autoconf route then this probably wouldn't
be included.
2000-04-06 11:56:45 +00:00
Geoff Thorpe
bc2aadad84
This helps make the DSO stuff more portable;
...
* "no-dso" option available in Configure so that all DSO methods will
return NULL, overriding any support the platform might otherwise
have built.
* dlfcn_no_h config string now available rather than just dlfcn. This
is for platforms that have dlfcn.h functions but do not have (or
need) the dlfcn.h header file.
2000-04-06 07:09:45 +00:00
Geoff Thorpe
6ef4d9d512
Better make a note of what's going on ... :-)
2000-04-04 22:49:27 +00:00
Geoff Thorpe
9ec0126ed2
This commit ties the new DSO code (crypto/dso/) into the build for a
...
variety of platforms. A few are missing, and they will be added in
eventually, but as this is new stuff, it was better to not break lots of
platforms in one go that we can't easily test. The changes to "Configure"
should illustrate how to add support to other systems if you feel like
having a go.
NB: I'll add something shortly to allow you to add "dlfcn.h" support on
those platforms that don't have (or need) a dlfcn.h header file. (The
symbol for Configure will probably by "dlfcn_no_h").
Thanks to Richard Levitte, who is responsible for the dso_dl.c support,
understanding the trickier aspects of the build process, and giving great
feedback on everything else.
[Don't use this stuff if you're easily offended by changes to the
interface or behaviour - it's still work in progress.]
PR:
2000-04-04 22:32:19 +00:00
Geoff Thorpe
8f4fac7f96
This is a set of startup code for the DSO support, it's not yet linked into
...
the build process (an upcoming commit no doubt), and is very much *new*
code - what that means is that it compiles ok - usually. It certainly
doesn't mean it runs well or even properly yet. Please don't muck round
with this unless you're looking to help out and hunt bugs. :-)
Currently this code doesn't have any support for controlling the "load"
behaviour (eg. paths, filename translations, etc). That'll be handled
using DSO_ctrl() and various flags, once we work out a sensible set of
flags.
2000-04-04 21:57:11 +00:00
Bodo Möller
02859fb74a
Extend entry on ERR_print_errors.
2000-04-04 21:31:14 +00:00
Richard Levitte
3e3844b554
Release done, change status.
2000-04-01 12:32:10 +00:00
Richard Levitte
c90341a155
Tagging has now been done, update to the next version (it's not quite
...
as important to keep a low profile here :-))
2000-04-01 11:24:27 +00:00
Richard Levitte
7c6c052e68
Tagging has now been done, update to the next possible version (I keep
...
a low profile, so we don't get discontinuity in the numbering...)
2000-04-01 11:21:14 +00:00
Richard Levitte
5e61580bbd
Version and name changes, and a last minute changelog
2000-04-01 11:15:15 +00:00
Richard Levitte
561c71a76b
Building version 0.9.5a
2000-04-01 11:03:41 +00:00
Richard Levitte
c2359eb18c
_lrotl and _lrotr are defined in MSVC but nowhere else that we know
...
off.
2000-04-01 10:39:33 +00:00
Bodo Möller
cf194c1f68
Entry for ssleay_rand_status locking fix.
2000-03-30 08:12:35 +00:00
Bodo Möller
b841e0acd8
'entropy >= ENTROPY_NEEDED' should be evaluated while the
...
variables are locked.
2000-03-30 06:11:54 +00:00
Dr. Stephen Henson
35af460fef
Add a couple of FAQs.
2000-03-30 02:00:25 +00:00
Richard Levitte
7ae634de49
Since ssleay_rand_initialize() unlocks then locks CRYPTO_LOCK_RAND,
...
it's a good thing if ssleay_rand_status() would do the corresponding
lock and unlock as everyone else...
2000-03-29 17:25:52 +00:00
Ulf Möller
8311d32378
Add pointer to EGD manpage.
...
Update the "randomness" section for the upcoming 0.9.5a release.
2000-03-28 19:45:06 +00:00
Richard Levitte
eff5f6124c
Add a default banner. Contributed by Joon Radley <jradley@vps.co.za>
2000-03-28 18:56:04 +00:00
Richard Levitte
edbcba6c6b
Don't force the use of GNU make with Borland C++ Builder. Contributed by Joon Radley <jradley@vps.co.za>
2000-03-28 18:54:27 +00:00
Bodo Möller
3bc90f2373
Fix typo in -clrext option, but add a compatibility hack because
...
0.9.5a should not break anything that works in 0.9.5.
2000-03-27 18:10:08 +00:00
Bodo Möller
98e04f9eeb
Comments for SSL_get_peer_cert_chain inconsistency.
2000-03-27 18:07:45 +00:00
Richard Levitte
6e9aee5724
Removed, especially since it conflicts with des.pod on
...
case-insensitive file systems.
2000-03-27 12:34:58 +00:00
Dr. Stephen Henson
b475baffb2
Fix for HMAC.
2000-03-27 00:53:27 +00:00
Bodo Möller
617d71bc12
NeXT workaround.
2000-03-26 12:27:30 +00:00
Richard Levitte
9cead2f2a5
Beautifying code.
2000-03-25 21:17:51 +00:00
Bodo Möller
ce24e726b4
List "no-..." option first because it's the most frequently needed one.
2000-03-25 19:02:09 +00:00
Richard Levitte
7d05b51ade
Vi, again
2000-03-25 10:44:28 +00:00
Richard Levitte
9b77955be9
Info on proposed release date
2000-03-25 10:28:35 +00:00
Richard Levitte
60e9a78437
Another VAX environment passed
2000-03-25 10:23:46 +00:00
Richard Levitte
3fbde72468
VI gave me 4-space tabs... Corrected
2000-03-25 10:14:15 +00:00
Richard Levitte
67a8142ce0
One VAX environment passed
2000-03-25 09:28:54 +00:00
Dr. Stephen Henson
afee764c4a
Update docs.
2000-03-25 02:38:28 +00:00
Bodo Möller
2d99cee790
Explain configuration options more completely.
2000-03-25 01:49:07 +00:00
Bodo Möller
1adfda4151
Update for new hpux-parisc-cc-o4 entry.
2000-03-24 19:46:22 +00:00
Geoff Thorpe
f09ba50ec3
another one done.
2000-03-24 16:55:32 +00:00
Richard Levitte
67b2f21382
More info in the Win32 test
2000-03-24 16:10:33 +00:00
Richard Levitte
3bead95bae
A couple of corrections concerning HPUX 10 and shared libraries.
...
Contributed by Lutz Jaenicke.
2000-03-24 16:06:22 +00:00
Richard Levitte
6e1c21abe4
Geoff Thorpe reports a whole bunch of tests passing.
2000-03-24 15:19:07 +00:00
Richard Levitte
8f0edcda9e
Another VMS/Alpha with a much more evil compiler passed as well...
2000-03-24 15:08:04 +00:00
Richard Levitte
0b6d88b3b8
VMS on Alpha passed
2000-03-24 12:40:28 +00:00
Dr. Stephen Henson
46e80a30e0
Add a few more FAQs.
2000-03-24 00:47:25 +00:00
Ulf Möller
fd430ae94c
Test results.
2000-03-23 23:19:12 +00:00
Richard Levitte
1d6750b759
Surround the diff with the new snippage delimiters
2000-03-23 22:43:20 +00:00
Richard Levitte
6e56312f1a
Update status
2000-03-23 22:01:25 +00:00
Richard Levitte
90cc4e29b3
Tagging has been done, update to next probable version...
2000-03-23 21:14:11 +00:00
Richard Levitte
97197984aa
I almost forgot...
2000-03-23 21:12:50 +00:00
Richard Levitte
0806278561
Time for version 0.9.5a beta2
...
I know it's earlier than announced. The high amount of problems in
beta1 warants this, however.
2000-03-23 21:07:41 +00:00
Richard Levitte
e8dbc15933
New FAQ for the OpenSSH configuration problem.
...
I know, this isn't really a OpenSSL issue, but we keep getting
questions about it, so we might as well provide the solution...
2000-03-23 19:31:37 +00:00
Richard Levitte
0fa197d8bc
Clean up context, even if an error occured.
2000-03-23 18:14:21 +00:00
Ulf Möller
fd72d831b7
ssize_t for Ultrix
2000-03-23 17:54:58 +00:00
Richard Levitte
1bb30673f9
Corrected. It said before that ivec had to be initialised to zero,
...
which isn't true. What is true, however, is that SSH assumes it is.
2000-03-23 11:08:49 +00:00
Bodo Möller
87351c586e
"make update"
2000-03-23 09:51:23 +00:00
Richard Levitte
72fbca2c47
A quick hack to have ssize_t work with gcc under SunOS 4 (tested on
...
SunOS 4.1.4).
2000-03-23 07:32:34 +00:00
Dr. Stephen Henson
555b22cfca
Update docs and remove old PKCS#7 README file.
2000-03-23 02:35:47 +00:00
Ulf Möller
513393f8d4
RAND_event()
2000-03-22 15:30:03 +00:00
Dr. Stephen Henson
e77066ea0a
Fix a memory leak in PKCS12_parse.
...
Don't copy private key to X509 etc public key structures.
Fix for warning.
2000-03-22 13:50:23 +00:00
Ulf Möller
d12cd41900
more failures
2000-03-21 20:42:35 +00:00
Ulf Möller
17b99efcb0
More failures.
2000-03-21 11:40:33 +00:00
Richard Levitte
afc48ea543
Ulf Möller reports OpenBSD-x86 and solaris-sparcv9-cc passed.
2000-03-20 21:38:25 +00:00
Ulf Möller
b313adc4b6
OpenBSD complains.
2000-03-20 18:19:38 +00:00
Ulf Möller
623bb80b77
In some of the Makefiles CPP was not defined.
2000-03-20 18:16:52 +00:00
Richard Levitte
f69ef67c2b
Jaenick Lutz reports that hpux-parisc-cc with +02 passed.
2000-03-20 16:52:29 +00:00
Richard Levitte
cdbd4a7229
Ref: Message-ID: <20000320070111.A90876@wiz.Sendmail.COM>
2000-03-20 15:56:14 +00:00
Ulf Möller
71b4d8971b
Problems with the Windows build.
2000-03-20 13:40:16 +00:00
Bodo Möller
88220dcb21
Document pseudo-commands.
2000-03-20 13:39:06 +00:00
Ulf Möller
b7a81df46a
Mention the bug fixes.
2000-03-20 12:17:20 +00:00
Richard Levitte
21173cf936
I just got a not very pleasant report.
2000-03-20 11:29:11 +00:00
Richard Levitte
35a79ecbae
There are a few new features in 0.9.5a... And I've probably
...
forgotten a few.
2000-03-20 09:23:05 +00:00
Richard Levitte
311c6efa81
New status
2000-03-20 09:22:04 +00:00
Richard Levitte
c81ccaddad
Tagging done, we move to the next possible.
2000-03-20 07:47:37 +00:00
Richard Levitte
fc450b24b4
Beta 1 of 0.9.5a building.
2000-03-20 07:36:22 +00:00
Richard Levitte
be1755f1cf
make update
2000-03-20 07:35:38 +00:00
Richard Levitte
3cf4f5d05e
Change the version text, it's time to release the first beta of 0.9.5a.
2000-03-20 07:22:47 +00:00
Ulf Möller
a1a96e54a4
Sample application using RAND_event() to collect entropy from mouse
...
movements, keyboard etc. and write it to a seed file.
2000-03-19 22:58:12 +00:00
Ulf Möller
a6aa71ff5f
Bug fix: RAND_write_file() failed to write to files created by open()
...
on Win32.
2000-03-19 22:57:07 +00:00
Richard Levitte
87b89b799f
Make sure an error condition is returned if, for some reason, the file
...
couldn't be opened.
2000-03-19 19:10:03 +00:00
Ulf Möller
f3f3cc0cca
oops. don't use "entropy" directly.
2000-03-19 17:20:26 +00:00
Ulf Möller
c97b11f4b3
New function RAND_event() collects entropy from Windows events.
2000-03-19 17:14:25 +00:00
Ulf Möller
2501b335fa
FLAT_INC is not needed; we use -I.. all the time
2000-03-19 12:15:24 +00:00
Ulf Möller
48b83a2504
Integrate podd.h sk.h into set_key.c
2000-03-19 12:13:44 +00:00
Richard Levitte
e55818b9d3
Change the notation and coding of the version to be able to contain
...
both a patch level and a beta status. IMHO, it also makes more sense
to have beta status be part of the development status than to have it
be an alternate name for patch levels under special conditions.
2000-03-19 09:35:19 +00:00
Richard Levitte
ea82355258
Keep in sync with Unix code, and prepare for a misfeature fix.
2000-03-19 09:23:25 +00:00
Ulf Möller
1f39d082c6
make update
2000-03-19 02:18:45 +00:00
Ulf Möller
edb93ae643
cleanup.
2000-03-19 02:10:17 +00:00
Ulf Möller
395df2fe30
libdes manpage.
...
This may still contain a few errors from the old documentation,
but most of it should make sense.
2000-03-19 02:09:37 +00:00
Ulf Möller
7af4816f0e
des_quad_cksum() byte order bug fix.
...
See http://www.pdc.kth.se/kth-krb/
Their solution for CRAY is somewhat awkward.
I'll assume that a "short" is 32 bits on CRAY to avoid the
#ifdef _CRAY
typedef struct {
unsigned int a:32;
unsigned int b:32;
} XXX;
#else
typedef DES_LONG XXX;
#endif
2000-03-19 02:06:37 +00:00
Ulf Möller
369782ac50
add =cut
2000-03-18 22:00:26 +00:00
Ulf Möller
fc79993620
DES in Perl was incomplete and not very useful
2000-03-18 18:39:58 +00:00
Ulf Möller
7043a4fc4a
superseded by des_modes.pod
2000-03-18 18:37:43 +00:00
Ulf Möller
50c16ed350
change manpages to pod. Contents are not up to date!
2000-03-18 17:55:09 +00:00
Bodo Möller
6e22639f46
Eliminate memory leaks in mem_dbg.c.
2000-03-18 15:18:27 +00:00
Richard Levitte
cde245bdcd
Small bugs in the test scripts removed.
2000-03-18 09:11:00 +00:00
Richard Levitte
1f515cfe09
e_os.h: don't do double work with status codes.
...
openssl.c: make damn sure e_os.h knows about OPENSSL_C
2000-03-18 09:09:31 +00:00
Richard Levitte
ee7f80c580
Make sure to complete the cleanup of names.
2000-03-17 23:49:15 +00:00
Richard Levitte
158ef04857
Bugs corrected
2000-03-17 10:02:16 +00:00
Richard Levitte
511e596b8a
The previous exit code handling was completely bogus for VMS.
2000-03-17 09:25:36 +00:00
Richard Levitte
2202d75ed7
Typo corrected.
2000-03-16 21:20:35 +00:00
Bodo Möller
299e7c9145
Point out the PRNG usage bug affecting openssl rsa.
...
(Should we point to snapshots, or directly give the one-line patch?)
2000-03-16 16:17:00 +00:00
Bodo Möller
fb51beb591
Remove CRYPTO_push/pop_info invocations to improve code readability --
...
I hope all memory leaks that may occur here have already been tracked down.
2000-03-14 21:25:39 +00:00
Bodo Möller
cc497fb04a
Avoid a warning.
2000-03-14 16:35:36 +00:00
Bodo Möller
98ff3937bb
SSL_ALLOW_ADH no longer has a meaning.
2000-03-14 16:05:19 +00:00
Bodo Möller
82dccbd72a
Insert a comment: This is one of the few files in this directory
...
that is actually used (even though it may not appear so at first
sight).
2000-03-14 14:33:11 +00:00
Bodo Möller
448e2f9ba7
Use correct function names in SSLerr macros.
2000-03-14 14:10:56 +00:00
Bodo Möller
24aaff588a
Remove "Makefile.uni" files and some related stuff.
...
This was meant for building individual ciphers separately;
but nothing of this is maintained, it does not work
because we rely on central configuration by the Configure
utility with <openssl/opensslconf.h> etc., so the files
are only wasting space and time.
2000-03-14 13:56:00 +00:00
Richard Levitte
d8779db47b
Typos corrected.
2000-03-14 06:51:18 +00:00
Richard Levitte
2db90e3ad3
Make it possible top build just a part of the crypto library.
2000-03-14 06:30:02 +00:00
Richard Levitte
cff4cbaaa7
Target added.
2000-03-14 06:17:52 +00:00
Richard Levitte
2d708bf61d
Bugs corrected, and a couple of include files to get declarations for
...
lib$-functions and sys$-functions.
2000-03-14 06:12:30 +00:00
Richard Levitte
1fff621bd7
Typo corrected
2000-03-14 04:32:24 +00:00
Richard Levitte
5241a83b2d
bss_log has dollars, so compile it with that warning flag disabled.
2000-03-14 04:23:03 +00:00
Richard Levitte
008fee3838
Typo corrected
2000-03-14 04:16:10 +00:00
Richard Levitte
8824ec7cd5
Make sure strcmp() gets declared.
2000-03-14 04:09:48 +00:00
Dr. Stephen Henson
80870566cf
Make V_ASN1_APP_CHOOSE work again.
2000-03-14 03:29:57 +00:00
Bodo Möller
5d8118d218
another typo
2000-03-13 23:06:03 +00:00
Bodo Möller
8a270a0f41
typo
2000-03-13 23:01:32 +00:00
Richard Levitte
c13ee21492
Synchronise with Unixly tests
2000-03-13 22:27:52 +00:00
Bodo Möller
df1ff3f1b3
Correction.
2000-03-13 21:01:05 +00:00
Bodo Möller
7694ddcbc0
Clarifications for 'no-XXX'.
2000-03-13 20:48:23 +00:00
Bodo Möller
66b9c3cae0
Run test_ssl last -- it's the only test that really uses the SSL library
...
in addition to the crypto library.
2000-03-13 20:47:45 +00:00
Bodo Möller
46c4647e3c
"openssl no-..." commands for avoiding the need to grep
...
"openssl list-standard-commands".
2000-03-13 20:31:46 +00:00
Bodo Möller
d58d6c2783
Include a timing test that works without RSA.
2000-03-13 19:44:45 +00:00
Bodo Möller
95fabd2fbc
Corrections.
...
In testss, use MD5 as digest algorithm so that the resulting
certificates can be used for testssl with RSA.
2000-03-13 19:35:37 +00:00
Bodo Möller
7d2509b6df
Update usage info
2000-03-13 19:30:59 +00:00
Bodo Möller
65b002f399
Update test suite so that 'make test' succeeds in 'no-rsa' configuration.
2000-03-13 19:24:39 +00:00
Richard Levitte
bc23b70e47
Synchronise with Unix.
2000-03-13 19:05:18 +00:00
Richard Levitte
41f0aae69b
Correct a potential bug.
2000-03-13 18:59:11 +00:00
Bodo Möller
ee607d338a
Don't try to test the RSA command if it is not available.
2000-03-13 18:05:59 +00:00
Bodo Möller
e11f0de67f
Copy DH key (if available) in addition to the bare parameters
...
in SSL_new.
If SSL_OP_SINGLE_DH_USE is set, don't waste time in SSL_[CTX_]set_tmp_dh
on computing a DH key that will be ignored anyway.
ssltest -dhe1024dsa (w/ 160-bit sub-prime) had an unfair performance
advantage over -dhe1024 (safe prime): SSL_OP_SINGLE_DH_USE was
effectively always enabled because SSL_new ignored the DH key set in
the SSL_CTX. Now -dhe1024 takes the server only about twice as long
as -dhe1024dsa instead of three times as long (for 1024 bit RSA
with 1024 bit DH).
2000-03-13 17:07:04 +00:00
Bodo Möller
563f1503a8
Connection timings (using ISO C function clock()).
2000-03-13 15:06:54 +00:00
Bodo Möller
88f17a5e98
Remove Win32 assembler files. They are always rebuilt (with some
...
choice of parameters) when they are needed.
2000-03-13 08:04:20 +00:00
Bodo Möller
863fe2ecac
cleaning up a little
2000-03-12 23:27:14 +00:00
Ulf Möller
3a6a39c373
asm workaround for SuSE Linux
...
proposed by Holger Reif
2000-03-12 12:52:36 +00:00
Ulf Möller
cee814f9d5
make update
2000-03-12 12:49:45 +00:00
Bodo Möller
bf8479d22f
Workaround for Windoze weirdness.
2000-03-11 01:29:26 +00:00
Bodo Möller
4a56f7493c
On NeXT, ssize_t is int, not long (see <sys/types.h> -- the definition
...
is activated only when _POSIX_SOURCE is defined).
2000-03-11 01:29:14 +00:00
Ulf Möller
f95808e8a5
NO_SYSLOG is defined for MSDOS anyway. just don't include the Unix
...
header...
2000-03-10 23:45:51 +00:00
Ulf Möller
b70dcdfc3f
ssize_t
2000-03-10 23:45:28 +00:00
Bodo Möller
4991d07cf3
Use signed types where necessary, and add missing functionality
...
to make SSL_nread0 work.
2000-03-10 21:44:38 +00:00
Ulf Möller
9e03333fd5
Use L for all constants.
2000-03-10 17:43:05 +00:00
Ulf Möller
9f06706bf7
Don't generate asm files for no-asm.
2000-03-10 17:02:12 +00:00
Ulf Möller
153a59f46d
Repair bss_log.
...
Curiously enough, void functions don't return a value.
2000-03-10 17:01:23 +00:00
Bodo Möller
2d5e449a18
Mention -ign_eof.
2000-03-10 13:49:02 +00:00
Bodo Möller
e458958280
Always use fixed DH parameters created with 'dhparam -C',
...
don't dynamically create them. This allows using ssltest
for approximate performance comparisons:
$ time ./ssltest -num 50 -tls1 -cert ../apps/server2.pem \
[-no_dhe|-dhe1024dsa|-dhe1024]
(server2.pem contains a 1024 bit RSA key, the default has only
512 bits.) Note that these timings contain both the server's and
the client's computations, they are not a good indicator for
server workload in different configurations.
2000-03-10 13:23:20 +00:00
Richard Levitte
ce301b6b0b
Add the possibility (with -ign_eof) to ignore end of file on input but
...
still not be quiet. Also make it clear that -quiet implicitely means
-ign_eof as well.
2000-03-10 12:18:28 +00:00
Bodo Möller
0dd3989868
Change to code generated by 'dhparam -C':
...
- Move DH parameter components inside the function.
- Automatically #include the required header file if it
has not already been #included.
2000-03-10 12:17:37 +00:00
Bodo Möller
a10c512afa
another typo
2000-03-10 11:47:58 +00:00
Bodo Möller
9f5d2069a4
typo
2000-03-10 11:43:45 +00:00
Ulf Möller
e4947bfec7
clarify.
2000-03-09 17:07:55 +00:00
Ulf Möller
837174dd63
bug fix.
...
Submitted by: "Yoram Meroz" <yoram@mail.idrive.com >
2000-03-09 17:07:19 +00:00
Bodo Möller
97025c5fc0
Manual page installation did not work if INSTALL_PREFIX was a relative path.
2000-03-09 15:04:27 +00:00
Dr. Stephen Henson
e743a5134e
Don't Free() password if it was read from config file.
2000-03-09 01:03:44 +00:00
Bodo Möller
97853bd5c1
Clarification.
2000-03-08 20:20:15 +00:00
Dr. Stephen Henson
c61252001b
Fix typo and make ca get the CA and request fields correct.
2000-03-08 12:44:10 +00:00
Dr. Stephen Henson
9886f42014
Manual pages for EVP_Open* and EVP_Seal*
2000-03-08 01:48:12 +00:00
Richard Levitte
b7e1636171
Protect variables from potential misinterpretations, for example a
...
colon which may bite the lesser knowleged...
2000-03-07 23:17:48 +00:00
Richard Levitte
3bf7ef5389
Check that a password was actually passed, or the user will just get
...
mysterious crashes.
2000-03-07 22:35:27 +00:00
Dr. Stephen Henson
f71732627a
Manual pages for EVP signing and verifying.
2000-03-07 17:35:25 +00:00
Bodo Möller
daf4e53e86
spelling
2000-03-07 15:10:08 +00:00
Dr. Stephen Henson
068fdce877
New compatability trust and purpose settings.
2000-03-07 14:04:29 +00:00
Bodo Möller
fa0ca35b95
{NEXT,OPEN}STEP don't have pid_t.
2000-03-07 09:37:19 +00:00
Dr. Stephen Henson
48fe0eec67
Fix the PKCS#8 DSA code so it works again. All the
...
broken formats worked but the valid didn't :-(
2000-03-07 01:03:33 +00:00
Ulf Möller
4c4d87f95f
bug fix release planned
2000-03-06 14:24:25 +00:00
Bodo Möller
4013f3bf1e
Fix the indentation, and avoid a compiler warning.
2000-03-06 10:21:57 +00:00
Richard Levitte
fe10275da8
Let's not lie to the people.
2000-03-06 07:31:17 +00:00
Bodo Möller
de83c12253
Add missing include (only MONOLITH builds were possible without it).
...
Submitted by: Andrew W. Gray
2000-03-05 01:11:44 +00:00
Bodo Möller
59fc2b0fc2
Preserve reason strings in automatically build tables.
2000-03-05 00:19:36 +00:00
Richard Levitte
5ba7c902e5
Beautifying. Sorry, but code that's slammed to the far left is not
...
very readable in my opinion.
2000-03-04 21:31:52 +00:00
Richard Levitte
3916800fef
Let's care about the compiler warnings for both cases, shall we?
2000-03-04 20:19:57 +00:00
Bodo Möller
1a2450bfc3
There is no reason to use downcase letters throughout in error reason
...
strings, it's just the default because it's usually ok.
2000-03-04 17:56:32 +00:00
Bodo Möller
cf7fa82897
Read complete seed files given in -rand options.
2000-03-04 17:44:07 +00:00
Ben Laurie
e45b3305b7
Get definition of ssize_t.
2000-03-04 11:42:40 +00:00
Bodo Möller
0cff255077
Change output text (ar is not a linker).
2000-03-04 02:06:04 +00:00
Bodo Möller
0a150c5c9f
Generate correct error reasons strings for SYSerr.
2000-03-04 01:36:53 +00:00
Ulf Möller
c7fecee8b5
The selftest sometimes lacked important information
2000-03-04 00:22:56 +00:00
Ulf Möller
7f1120994e
new component
2000-03-04 00:22:04 +00:00
Ulf Möller
938d90db71
gcc warnings
2000-03-04 00:21:45 +00:00
Bodo Möller
d796041832
Note about PRNG error message for openssl command line tool.
2000-03-03 23:28:35 +00:00
Bodo Möller
37634c8bc9
Add an #include.
2000-03-03 23:27:56 +00:00
Bodo Möller
741e600c12
Use signed type where -1 may be returned.
2000-03-03 22:34:35 +00:00
Bodo Möller
bb2276abf7
Avoid potential memory leak in code generated by 'openssl dhparam -C'.
2000-03-03 22:24:43 +00:00
Bodo Möller
41918458c0
New '-dsaparam' option for 'openssl dhparam', and related fixes.
2000-03-03 22:18:19 +00:00
Bodo Möller
d6f68fa314
Fix for previous patch: If RAND_pseudo_bytes returns 0, this is not an error.
2000-03-03 07:51:25 +00:00
Dr. Stephen Henson
645820f273
Make name_funcs_stack static.
2000-03-03 01:37:11 +00:00
Dr. Stephen Henson
d9c88a3902
Move the 'file scope' argument in set_label to
...
the third argument: the second was being used
already.
2000-03-03 00:06:40 +00:00
Richard Levitte
a8883854a3
Synchronise
2000-03-02 23:32:47 +00:00
Bodo Möller
84d14408bf
Use RAND_pseudo_bytes, not RAND_bytes, for IVs/salts.
2000-03-02 22:44:55 +00:00
Bodo Möller
7c472f706e
Use RAND_pseudo_bytes, not RAND_bytes, for IVs/salts.
2000-03-02 22:29:38 +00:00
Bodo Möller
df83eeb710
Update comment.
2000-03-02 22:08:30 +00:00
Bodo Möller
743e7be913
Add missing dependencies.
2000-03-02 19:30:41 +00:00
Bodo Möller
5eb8ca4d92
Use RAND_METHOD for implementing RAND_status.
2000-03-02 14:34:58 +00:00
Bodo Möller
2d092edf5e
Change comment.
2000-03-02 14:34:08 +00:00
Richard Levitte
5ee0d9c4a3
Hack b_print.c to implement asprintf() functionality. Not enabled by
...
default yet, I wanna play with it a bit more.
For those who don't know: asprintf() is an allocating sprintf. The
first argument to it is a double indirection to char instead of a
single.
2000-03-02 07:50:02 +00:00
Richard Levitte
84339237d1
Make bss_log.c a bit more readable, and implement it for VMS as well.
2000-03-02 07:45:31 +00:00
Richard Levitte
0056ef5d01
It started with finding a misplaced #endif. Then I wanted to see the
...
structure better. I hope noone minds, and that it still works. Steve?
2000-03-02 07:42:48 +00:00
Richard Levitte
41b8994e99
I'm experimenting with a hack in dopr() and friends b_printf.c to make
...
it work like asprintf().
2000-03-02 07:38:45 +00:00
Dr. Stephen Henson
582e592924
Fix bug which would free up a public key
...
twice if the verify callback tried to
continue after a signature failure.
2000-03-02 00:37:53 +00:00
Ulf Möller
8782a42627
add comment.
2000-03-01 19:08:47 +00:00
Ulf Möller
0b8fa44ef0
Bug fix.
2000-03-01 19:08:27 +00:00
Ulf Möller
7a2dfc2a20
Note bug fix for the DSA infinite loop
2000-03-01 19:07:58 +00:00
Ulf Möller
99a97051d4
pseudo-seed for the PRNG before testing DSA
2000-03-01 17:42:06 +00:00
Ulf Möller
410243f197
add RAND_status() to title
2000-03-01 17:08:27 +00:00
Ulf Möller
24282b87f1
change info text (as on the web site)
2000-03-01 17:05:14 +00:00
Bodo Möller
afbd0746cf
'rand'/'-rand' documentation.
2000-03-01 11:45:53 +00:00
Bodo Möller
55f7d65db0
Document the 'rand' application.
2000-03-01 07:57:25 +00:00
Ulf Möller
f1a617edc9
check for WIN32 (needed by Mingw32)
2000-03-01 01:46:34 +00:00
Ulf Möller
47722fe636
Keep the references to other INSTALL files short. These are the Unix
...
instructions.
2000-03-01 00:40:26 +00:00
Bodo Möller
27b782732f
'rand' application for creating pseudo-random files.
2000-02-29 23:47:01 +00:00
Bodo Möller
19c057da2e
Check BN_rand return value.
...
"make update".
2000-02-29 22:37:27 +00:00
Bodo Möller
2c51f2d909
Point to INSTALL.MacOS for MacOS pre X.
2000-02-29 19:07:39 +00:00
Ulf Möller
dd8ec7cc69
some people can't read :)
2000-02-29 19:00:48 +00:00
Ulf Möller
569be0710b
change wording
2000-02-29 17:18:24 +00:00
Ulf Möller
0816bc220b
how to recognize assembler problems
2000-02-29 15:33:35 +00:00
Ralf S. Engelschall
010712ff23
Added configuration support for Linux/IA64
...
Submitted by: Rolf Haberrecker <rolf@suse.de >
2000-02-29 15:29:02 +00:00
Andy Polyakov
0ea3465576
MacOS pseudo-random entropy collector.
...
Submitted by: Yoram Meroz <yoram@mail.idrive.com >
Reviewed by: <appro>
2000-02-29 15:18:46 +00:00
Ulf Möller
96723a3a68
Bug fix.
...
Pointed out by: Gisle Vanem <gvanem@eunet.no >
2000-02-29 14:47:29 +00:00
Richard Levitte
e33f347ac6
Forgot to check correctly for the new options
2000-02-28 23:54:20 +00:00
Ulf Möller
fee2dc8ec9
Mingw32 can now use assembler.
2000-02-28 21:04:10 +00:00
Ulf Möller
e64dceab74
Switch for turning on the predictable "random" number generator.
2000-02-28 20:19:39 +00:00
Ulf Möller
c9e1fe33be
Fix for non-monolithic build.
...
Submitted by: Andrew Gray <agray@iconsinc.com >
2000-02-28 20:16:06 +00:00
Ulf Möller
2da0c11926
Support assembler for Mingw32.
2000-02-28 19:16:41 +00:00
Ulf Möller
a4709b3d88
Shared library support for Solaris and HPUX
...
by Lutz Behnke and by Lutz Jaenicke.
Hopefully we'll have a unified way of handling shared libraries when
we move to autoconf...
2000-02-28 19:14:46 +00:00
Bodo Möller
865874f2dd
Switch to 0.9.6, and finally remove the annoying message
...
about renamed header files.
2000-02-28 18:03:16 +00:00
Dr. Stephen Henson
82b931860a
Ouch! PKCS7_encrypt() was heading MIME text headers twice
...
because it added them manually and as part of SMIME_crlf_copy().
Removed the manual add.
2000-02-28 14:11:19 +00:00
Richard Levitte
11750113c6
Tagging has been done, time to switch to 0.9.6-dev.
2000-02-28 12:11:39 +00:00
Richard Levitte
74cdf6f73a
Time for a release
2000-02-28 11:59:02 +00:00
Richard Levitte
8e8125c57c
A few more tests were reported.
2000-02-28 11:32:42 +00:00
Richard Levitte
42a9af38e7
Typo corrected.
2000-02-28 11:30:31 +00:00
Richard Levitte
1b7aee1d4e
Short is always promoted to int when passed as a function argument.
...
This is especially true when it's part of a '...'.
2000-02-27 23:17:18 +00:00
Richard Levitte
4ba48ec4d0
Include rand.h so RAND_pseudo_bytes may be declared.
...
Remove one ampersand so the compiler may complain less.
Make rand() static so it will not conflict with the C RTL.
Make bug() static too, for good measure.
2000-02-27 22:57:53 +00:00
Richard Levitte
c257cce913
More platforms passed the test.
2000-02-27 20:14:03 +00:00
Andy Polyakov
88b04f03cf
More tests passed.
2000-02-27 19:58:16 +00:00
Ulf Möller
b546cff875
works on solaris
2000-02-27 19:24:57 +00:00
Richard Levitte
4cdd275f63
Update the OpenVMS/VAX status
2000-02-27 19:06:27 +00:00
Andy Polyakov
6eec83bcf9
IRIX6* tests passed.
2000-02-27 18:55:01 +00:00
Andy Polyakov
facf472744
MacOS tidbits. Add new files to the project, update config.
2000-02-27 18:50:10 +00:00
Ulf Möller
3aefe30469
corrections
2000-02-27 18:35:29 +00:00
Richard Levitte
c7fea63467
Works with gcc 2.8.0 as well.
2000-02-27 17:56:54 +00:00
Richard Levitte
4cce82446c
No, the VAX is not a 64 bit architecture.
2000-02-27 17:43:39 +00:00
Bodo Möller
fd74679ae2
Use standard header file string.h for memset prototype (where
...
"standard" refers to the C language, probably there's also some
standard that defines memory.h).
2000-02-27 17:37:41 +00:00
Dr. Stephen Henson
587bb0e02e
Don't call BN_rand with zero bits in bntest.c
2000-02-27 17:34:30 +00:00
Richard Levitte
2eb5bc5c6d
Make sure to catch UnixWare 7, even if the version is 7.1.1 or
...
something like that.
2000-02-27 17:23:25 +00:00
Richard Levitte
8f6dc9c50f
Update config for the unixware targets by looking at what was done in
...
Apache's GuessOS (from Apache 1.3.1).
2000-02-27 17:17:43 +00:00
Ben Laurie
c850925cdf
Declare memset.
2000-02-27 17:01:20 +00:00
Ben Laurie
707ef52e21
Typo.
2000-02-27 16:56:48 +00:00
Richard Levitte
e485afdab5
AIX and HP-UX are passing the tests.
...
Warning about old gcc, though (and I recall getting in trouble with
gcc 2.8.0. I'll try that again).
2000-02-27 16:42:55 +00:00
Richard Levitte
fc2b051796
OpenSSL doesn't compile well on OpenVMS/VAX, it seems.
...
I'm looking into it, it's probably a simple script error.
2000-02-27 16:11:06 +00:00
Richard Levitte
cee0bbc709
One test passed for VMS.
2000-02-27 15:58:09 +00:00
Richard Levitte
405896785d
A new beta has been released, and one test is documented.
2000-02-27 14:44:43 +00:00
Richard Levitte
2e98ec5651
OpenVMS often has problems with files with more than on period in it.
...
Here's instructions on what to do if you get into trouble because of
that.
2000-02-27 14:03:58 +00:00
Ulf Möller
47f87f536a
remove obsolete BN_CTX info
2000-02-27 12:30:07 +00:00
Bodo Möller
981cdfab86
Add a comment.
2000-02-27 11:48:32 +00:00
Richard Levitte
13bf48c77a
For lack of a better name, this is now called 0.9.5beta3-dev until the
...
release.
2000-02-27 11:12:58 +00:00
Richard Levitte
a1a426ea20
Change version string to reflect the release of beta 2.
2000-02-27 11:07:23 +00:00
Richard Levitte
4f07317ffa
Stop logging all the files that are copied all over the place...
2000-02-27 11:04:09 +00:00
Richard Levitte
cde28e18bf
New logical names to skip algorithms are now supported.
2000-02-27 10:41:31 +00:00
Richard Levitte
6209ada910
New logical names to skip algorithms are now supported.
...
Also, on Alpha, vms.mar is no longer used (it produced a lot of
confusing messages) for BN. Instead, the assembler part of bn_lcl.h
is used.
2000-02-27 10:39:41 +00:00
Richard Levitte
2e904727c2
New "target": CONFIG. This will build the opensslconf.h file from
...
what is known about VAX and Alpha running VMS, and from the
opensslconf.h.in (in VMS often named OPENSSLCONF.H_IN) file.
2000-02-27 10:35:15 +00:00
Richard Levitte
1a8b087ad7
Add and change docs for the changes that have been made.
2000-02-27 10:26:35 +00:00
Ulf Möller
5ee6cc1162
put function names in the title.
2000-02-27 02:38:41 +00:00
Andy Polyakov
a5770be6ae
Statement that it fails only on 32-bit architectures isn't true.
2000-02-27 02:34:37 +00:00
Ulf Möller
0a9d53e9eb
Overly long lines look ugly in the DOS editor. :)
2000-02-27 02:19:48 +00:00
Ulf Möller
688938fbb4
Bug fix!
2000-02-27 02:05:39 +00:00
Dr. Stephen Henson
9b95f1df4b
Fix so Win32 compiles again...
2000-02-27 01:39:41 +00:00
Dr. Stephen Henson
94de04192d
Fix so Win32 assembly language works with MASM.
...
Add info about where to get MASM.
2000-02-27 01:15:25 +00:00
Ulf Möller
1070e0e2ee
*** empty log message ***
2000-02-27 00:00:56 +00:00
Ulf Möller
1b199605c4
workaround no longer needed
2000-02-26 22:37:43 +00:00
Ulf Möller
f27e41349f
remove
2000-02-26 22:37:34 +00:00
Ulf Möller
775c63fc02
Reorganize bn_mul.c (no bugfix yet), remove obsolete files in BN library.
2000-02-26 22:16:47 +00:00
Ulf Möller
db209ec295
minor clarification
2000-02-26 22:06:02 +00:00
Dr. Stephen Henson
0202197dbf
Make ASN1 types real typedefs.
...
Rebuild error files.
2000-02-26 19:25:31 +00:00
Andy Polyakov
63933136ab
BN_div_recp fix. I've ran divtest for 10 mins and it didn't exhibit a
...
single fault:-) Needless to mention that bnbug.c posted couple of days
ago passes as well...
2000-02-26 16:20:05 +00:00
Richard Levitte
6ee6fdf555
A small script to compile mttest.c on VMS as well.
2000-02-26 11:17:33 +00:00
Richard Levitte
c131593d48
Make sure there's some entropy, and log a few more errors.
2000-02-26 11:02:31 +00:00
Bodo Möller
6d0d5431d4
More get0 et al. changes. Also provide fgrep targets in CHANGES
...
where the new functions are mentioned.
2000-02-26 08:36:46 +00:00
Richard Levitte
7bd3a58022
make update
2000-02-26 04:48:22 +00:00
Richard Levitte
921c9bd539
Make sure that all test files are gone before starting the tests, or
...
backup will complain about some version not existing. Perhaps.
2000-02-26 03:59:46 +00:00
Richard Levitte
8072c135cb
Move to using the same perl code as Makefile.ssl
2000-02-26 03:58:36 +00:00
Richard Levitte
1472f300d5
Just as in Unix, make sure to generate some kind of "random data".
2000-02-26 03:57:35 +00:00
Richard Levitte
60b8e17568
Typo corrected.
2000-02-26 03:56:09 +00:00
Richard Levitte
a1990dd76d
Don't include sys/types.h if NO_SYS_TYPES_H is defined.
2000-02-26 03:55:15 +00:00
Richard Levitte
cb464c38b2
The OpenVMS library is most definitely not built for anything but
...
files, unless it's all in unixly syntax. We can't guarantee that
right now, so let's skip the whole test suit. There are other places
(like the open()) where errors are detected anyway.
2000-02-26 03:53:58 +00:00
Richard Levitte
9a5a7401e9
Add support for Unixware 7. Thanks to Ron Record <rr@sco.com> for the
...
patch.
2000-02-26 03:51:55 +00:00
Ulf Möller
234b5e9611
Make clear which naming convention is meant.
2000-02-26 02:24:16 +00:00
Dr. Stephen Henson
8ab59e7a49
Fix shadow warning.
2000-02-26 02:16:36 +00:00
Richard Levitte
668ba7d63f
ftruncate() and fileno() are not supported on all versions of OpenVMS
...
(they don't really exist before version 7), so that solution was toast.
Instead, let's do it the way it's done on Unix, but then remove older
versions of the file.
That new mechanism *may* fail for some unixly formated file spec,
although I wouldn't worry too much about it.
2000-02-26 01:55:56 +00:00
Dr. Stephen Henson
c7cb16a8ff
Rename functions for new convention.
2000-02-26 01:55:33 +00:00
Richard Levitte
47c177c7b3
Let's avoid compiler warnings over types.
...
Actually, this should be resolved by using size_t a bit more, but
that'll be for later.
2000-02-26 01:45:17 +00:00
Richard Levitte
b755955a53
Compile rand_egd.c on VMS as well.
2000-02-26 00:29:33 +00:00
Richard Levitte
7c0dc41c38
For safety, check __VMS as well.
2000-02-26 00:26:17 +00:00
Richard Levitte
1b8b0a8294
Correct small typo
2000-02-26 00:18:48 +00:00
Richard Levitte
c29b6d560b
Since a stack with quite long name is declared here, vms_idhacks.h is
...
also needed to get around C compilers on VMS that set the symbol limit
to 31 characters. Bot the macros VMS and __VMS are checked, since
there's no real way to know if e_os.h has been included yet.
2000-02-26 00:01:16 +00:00
Richard Levitte
1340db6569
Small error fix.
2000-02-25 23:33:16 +00:00
Richard Levitte
9da65c3280
Adjust all the old scripts to deal with the new location.
2000-02-25 23:18:27 +00:00
Richard Levitte
dc8c8cda4d
New script to compile on systems that already have pthreads in the
...
system.
2000-02-25 23:17:46 +00:00
Richard Levitte
2d2d31394a
Update the two threads modules to conform to our recommendations (use
...
CRYPTO_num_locks() instead of CRYPTO_NUM_LOCKS!), and correct all the
inconsistencies with the rest of OpenSSL.
At least, this compiles nicely on Linux using PTHREADS. I've done no
other tests so far.
2000-02-25 23:16:56 +00:00
Richard Levitte
1e7396beeb
Some time in history, SSL_CTX_sessions() disappeared. It is now
...
restored, but not as a macro this time...
2000-02-25 22:50:28 +00:00
Ulf Möller
582afb4bd7
flush output.
...
Looks like it fails when b is a power of 2, but I never get incorrect
results.
2000-02-25 22:08:37 +00:00
Richard Levitte
f63500c09c
Another test passed
2000-02-25 20:46:09 +00:00
Richard Levitte
f36e02b2ef
Enhance consistency by using BIO_flush() instead of fflush().
2000-02-25 20:40:12 +00:00
Richard Levitte
3e0f27f3c9
Changes to synchronise with Unix.
...
(actually, much more is needed, like a real config script)
2000-02-25 20:37:46 +00:00
Ulf Möller
17dddc0596
Test the division functions.
...
Apparently BN_div_recp reports an error for small divisors
(1,2,4,8,40).
I haven't got mismatches so far. If you can, please run the test
program for a few days (nohup divtest >out& or something), and if it
reports a mismatch, post the output.
2000-02-25 20:28:54 +00:00
Richard Levitte
b91f8a482c
Status update
2000-02-25 20:21:46 +00:00
Andy Polyakov
e0b8b39f3a
Linux is almost the only one where getpid() == thread-id. IRIX is
...
another one, but only if you stick to sproc(2).
2000-02-25 17:59:42 +00:00
Bodo Möller
87a025cbb4
Use unsigned loop index to make compilers happy
2000-02-25 16:36:07 +00:00
Ulf Möller
3167f68faf
The main() return value is a program's exit code.
2000-02-25 16:04:52 +00:00
Ulf Möller
d52c973498
links
2000-02-25 16:00:24 +00:00
Andy Polyakov
dbe7113308
There're two (incompatible) ways to write multi-threaded programs under
...
IRIX, one is to call sproc(2) when every thread does get own pid and
POSIX threads when all the threads share same pid.
2000-02-25 15:44:03 +00:00
Ulf Möller
1c890fa864
mention RAND_egd()
2000-02-25 15:43:33 +00:00
Bodo Möller
b08b07b8ae
The previous revision should have generated _more_ warnings, not less ...
...
The return value of handshake_func is signed, not unsigned.
2000-02-25 15:32:36 +00:00
Geoff Thorpe
4621a00063
More VC++ pickiness. (destest.c doesn't have a "return" and the usual
...
signed/unsigned stuff in s3_pkt.c)
Submitted by:
Reviewed by:
PR:
2000-02-25 15:09:04 +00:00
Geoff Thorpe
7dce5a727a
Gets around VC++ compiler pickiness. (long != double)
...
PR:
2000-02-25 14:50:37 +00:00
Bodo Möller
3813046dc5
Add OpenSSL licen[cs]e.
2000-02-25 14:47:38 +00:00
Ulf Möller
a6fc578bd5
mt contained an old copy of mttest.c. remove it and move the other
...
files to crypto/threads
2000-02-25 14:40:31 +00:00
Bodo Möller
e01eed0fae
Fix off-by-one error :-)
2000-02-25 14:40:11 +00:00
Bodo Möller
5946ede512
In "make clean", delete files created by "make report".
2000-02-25 14:34:55 +00:00
Bodo Möller
e5599db448
Fix warnings by using unsigned int where appropriate.
2000-02-25 14:27:31 +00:00
Bodo Möller
26fb2b4b44
Ignore files that, well, should be ignored.
2000-02-25 14:23:44 +00:00
Ulf Möller
5e7bec63eb
VC++ problem
2000-02-25 14:19:45 +00:00
Ulf Möller
4101054ab5
*** empty log message ***
2000-02-25 14:19:17 +00:00
Ulf Möller
fea217f96f
EGD bugfix.
...
Submitted by: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE >
2000-02-25 14:16:43 +00:00
Ulf Möller
cacbb51ee1
ispell
2000-02-25 14:07:51 +00:00
Ulf Möller
40134e22d0
linux-ppc
...
Submitted by: Franz Sirl <Franz.Sirl-kernel@lauterbach.com >
2000-02-25 14:06:27 +00:00
Ulf Möller
a3b17baf4e
signed/unsigned mismatch (VC++)
...
Submitted by: Peter 'Luna' Runestig" <peter+openssl-users@runestig.com >
2000-02-25 14:03:21 +00:00
Ulf Möller
b478e91fda
different snprintf version.
2000-02-25 14:00:24 +00:00
Bodo Möller
935a50e886
Use threads for linux-ppc.
2000-02-25 13:45:30 +00:00
Bodo Möller
b05c7211cb
Clarification.
2000-02-25 07:48:02 +00:00
Bodo Möller
c6709c6b0f
handle entropy estimate correctly
2000-02-25 07:40:53 +00:00
Dr. Stephen Henson
fbb41ae0ad
Allow code which calls RSA temp key callback to cope
...
with a failure.
Fix typos in some error codes.
2000-02-25 00:23:48 +00:00
Ulf Möller
766d78c8f5
divide the correct number...
2000-02-25 00:14:50 +00:00
Ulf Möller
c04949e978
work around a bug in BN_div_recp or BN_reciprocal
2000-02-24 23:37:15 +00:00
Ulf Möller
505b5a0ee0
BIO_printf() change
2000-02-24 22:57:42 +00:00
Ulf Möller
e8973060ee
some test results.
2000-02-24 22:24:51 +00:00
Ulf Möller
a3321387c1
Yet another "unixware" spelling.
2000-02-24 22:24:36 +00:00
Ulf Möller
9fd4ee5d7c
Use public domain snprintf() implementation by Patrick Powell to avoid
...
potential buffer overrun in BIO_printf().
----------------------------------------------------------------------
crypto/bio/b_print.c CVS:
----------------------------------------------------------------------
2000-02-24 22:23:45 +00:00
Bodo Möller
f6de86dc3d
Version 0.9.5beta2-dev (so that the next snapshot will not
...
claim to be 0.9.5beta1).
(Are the version number examples correct -- the same numerical
code for:
* 0.9.3beta2-dev 0x00903002
* 0.9.3beta2 0x00903002
?)
2000-02-24 20:40:02 +00:00
Bodo Möller
1a33f6da8b
Don't use buffered fread() to read from DEVRANDOM,
...
because this will drain the entropy pool.
2000-02-24 20:24:45 +00:00
Bodo Möller
0dd0cbf554
Do fflush(stdout) when there was an error.
2000-02-24 20:13:27 +00:00
Ulf Möller
a610374cb2
mention that EGD is used in non-blocking mode.
2000-02-24 19:33:58 +00:00
Bodo Möller
a7b991bd68
Don't define platform-dependent preprocessor symbols for OPENSSL_THREAD_DEFINES.
...
"make update".
2000-02-24 18:19:50 +00:00
Ulf Möller
a4cfd178f9
EGD socket info.
2000-02-24 17:18:51 +00:00
Ulf Möller
2c0ff02fba
remove some (apparently) obsolete entries.
...
please put them back in if they're still valid, and remove others
that are outdated
2000-02-24 17:17:29 +00:00
Richard Levitte
29a5374fb6
Remove structures that are no longer used.
2000-02-24 14:00:05 +00:00
Ulf Möller
4d524e10b4
nicer manpages
2000-02-24 11:55:57 +00:00
Ralf S. Engelschall
c6a33c6f61
Add missing prototypes for new functions
2000-02-24 10:48:36 +00:00
Ralf S. Engelschall
07fb39c32e
Make gcc 2.95.2 happy here, too.
2000-02-24 10:37:58 +00:00
Ralf S. Engelschall
8d5b4ee1ca
Add an evil cast, because POSIX/SUSv2 define connect(2) require
...
the second argument to be of type ``struct sockaddr *''.
2000-02-24 10:36:51 +00:00
Bodo Möller
331b59214b
Avoid filename "test.c" because otherwise "make test"
...
will invoke a default rule built into make.
2000-02-24 09:48:12 +00:00
Ulf Möller
4c5fac4ac4
Fix NO_RSA (misplaced #endif).
2000-02-24 04:41:03 +00:00
Ulf Möller
390ead1e9a
EGD info, as requested.
2000-02-24 03:36:01 +00:00
Ulf Möller
ac9c1bcb81
remove test "goto err"
2000-02-24 03:03:01 +00:00
Ulf Möller
4ec2d4d2b3
Support EGD.
2000-02-24 02:51:47 +00:00
Richard Levitte
5921ea3bcf
0.9.5beta1
2000-02-24 02:22:15 +00:00
Richard Levitte
2dbb3ccd5c
Make it possible to have differing tar versions.
2000-02-24 01:59:55 +00:00
Richard Levitte
9f7f1ff75e
Correct a couple of command errors.
2000-02-24 01:20:31 +00:00
Ulf Möller
b6891e9c35
CRYPTO_num_locks()
2000-02-24 00:22:17 +00:00
Ulf Möller
d7f0ab5ff4
New make target "report" to run util/selftest.pl
2000-02-23 23:47:05 +00:00
Ulf Möller
49976df599
yet another faq.
2000-02-23 23:46:17 +00:00
Richard Levitte
e6a58767c5
make update
2000-02-23 23:38:59 +00:00
Richard Levitte
9ae2ad23e6
Avoid saving any macros starting with a _, since that can create
...
trouble if header files are included in some "impropper" order.
It's much better if the application programmer has to specify on his
or her own if _REENTRANT shall be defined and when.
2000-02-23 22:45:22 +00:00
Ulf Möller
4a26329b4c
correct macro.
2000-02-23 22:11:07 +00:00
Ulf Möller
71308c3bb5
*** empty log message ***
2000-02-23 22:07:59 +00:00
Ulf Möller
720b590f56
Run the test suite and generate a report.
2000-02-23 21:58:06 +00:00
Ulf Möller
cdf20e0839
add missing names.
2000-02-23 21:57:22 +00:00
Richard Levitte
88886fd305
Sync with Unix
2000-02-23 19:41:09 +00:00
Ulf Möller
2b670ea298
another faq.
2000-02-23 19:26:59 +00:00
Ulf Möller
be7ae17560
threads mapage.
2000-02-23 18:10:42 +00:00
Ulf Möller
c1ce32f1bf
minor docs changes (added links is the openssl(1) text)
2000-02-23 17:09:50 +00:00
Ulf Möller
f9a7c34f4b
Frequently asked questions.
2000-02-23 17:03:06 +00:00
Dr. Stephen Henson
41e68ef25f
Add PBE algorithms with ciphers, not digests.
2000-02-23 14:27:47 +00:00
Dr. Stephen Henson
3142c86d65
Allow ADH to be used but not present in the default cipher
...
list.
Allow CERTIFICATE to be used in PEM headers for PKCS#7 structures:
some CAs do this.
2000-02-23 01:11:01 +00:00
Dr. Stephen Henson
4b42658082
Make pkcs8 work again.
...
Make EVP_CIPHER_type() return NID_undef if the cipher has no
ASN1 OID, modify code to handle this.
2000-02-22 18:45:11 +00:00
Dr. Stephen Henson
3f2b5a88ad
Update docs.
2000-02-22 14:16:23 +00:00
Ulf Möller
43e9d805e8
warning.
2000-02-22 12:53:59 +00:00
Ulf Möller
de4b598946
Don't list prototypes for internal functions.
2000-02-22 12:01:50 +00:00
Ulf Möller
17ef291661
Check tlen size in all padding_check functions. As called within the rsa
...
library, the output buffer always is large enough, but if the tlen
parameter is there, it should be checked in the interest of clarity,
as proposed by David Sacerdote <das33@cornell.edu >.
2000-02-22 11:34:01 +00:00
Ulf Möller
261b5d96ad
Correction to RSA_padding_check_xxx() docs (this time for real).
2000-02-22 11:16:41 +00:00
Ulf Möller
fc6d523f0a
Correction for RSA_padding_check_xxx() documentation.
2000-02-22 11:11:41 +00:00
Dr. Stephen Henson
72b60351f1
Change EVP_MD_CTX_type so it is more logical and add EVP_MD_CTX_md for
...
the old functionality.
Various warning fixes.
Initial EVP symmetric cipher docs.
2000-02-22 02:59:26 +00:00
Bodo Möller
1b8a8088a5
Workarounds to make broken programs happy (such as s_client and s_server).
2000-02-21 17:46:20 +00:00
Bodo Möller
a2a0158959
Fix some bugs and document others
2000-02-21 17:09:54 +00:00
Bodo Möller
e7ecc7d4dd
Move ssl3_do_write from s3_pkt.c to s3_both.c.
2000-02-21 11:14:40 +00:00
Bodo Möller
8bd5b7944e
More news.
2000-02-21 10:40:36 +00:00
Bodo Möller
745c70e565
Move MAC computations for Finished from ssl3_read_bytes into
...
ssl3_get_message, which is more logical (and avoids a bug,
in addition to the one that I introduced yesterday :-)
and makes Microsoft "fast SGC" less special.
MS SGC should still work now without an extra state of its own
(it goes directly to SSL3_ST_SR_CLNT_HELLO_C, which is the usual state
for reading the body of a Client Hello message), however this should
be tested to make sure, and I don't have a MS SGC client.
2000-02-21 10:16:30 +00:00
Richard Levitte
9dd2b2a940
Blowfish docs.
2000-02-21 03:01:23 +00:00
Ulf Möller
10a926c1eb
More compact Configure usage message.
2000-02-21 00:55:45 +00:00
Richard Levitte
d3442bc780
Move the registration of callback functions to special functions
...
designed for that. This removes the potential error to mix data and
function pointers.
Please note that I'm a little unsure how incorrect calls to the old
ctrl functions should be handled, in som cases. I currently return 0
and that's it, but it may be more correct to generate a genuine error
in those cases.
2000-02-20 23:43:02 +00:00
Bodo Möller
dab6f09573
Workaround for irrelevant problem.
2000-02-20 23:40:01 +00:00
Bodo Möller
45206340d3
ignore Client Hellos when we're in handshake anyway
2000-02-20 23:35:31 +00:00
Bodo Möller
b35e9050f2
Tolerate fragmentation and interleaving in the SSL 3/TLS record layer.
2000-02-20 23:04:06 +00:00
Ulf Möller
9f7b1b24e2
Document OPENSSL_VERSION_NUMBER
2000-02-20 21:00:22 +00:00
Ulf Möller
4ec19e203c
Fix gcc warnings.
2000-02-20 20:59:21 +00:00
Dr. Stephen Henson
d754b3850f
Change the 'other' structure in certificate aux info.
2000-02-20 18:27:23 +00:00
Bodo Möller
853f757ece
Allow for higher granularity of entropy estimates by using 'double'
...
instead of 'unsigned' counters.
Seed PRNG in MacOS/GetHTTPS.src/GetHTTPS.cpp.
Partially submitted by Yoram Meroz <yoram@mail.idrive.com >.
2000-02-19 15:22:53 +00:00
Dr. Stephen Henson
ae1bb4e572
Add -clrext option to 'x509'
2000-02-19 00:46:02 +00:00
Bodo Möller
fb77c6fb45
Keep variable names consistent with corresponding pre-processor
...
symbols.
2000-02-18 21:08:37 +00:00
Ulf Möller
7fa1343e93
Make excluded cipher entry in opensslconf.h a bit more descriptive.
2000-02-18 19:01:55 +00:00
Bodo Möller
ad86060357
Change the example to show apr1 with an 8-character salt.
2000-02-18 11:51:58 +00:00
Bodo Möller
e5b4462f47
Stay compatible to older Perl5 releases (see diff -r1.11 -r1.12).
2000-02-18 11:35:10 +00:00
Bodo Möller
26dc267f8c
Avoid potential conflicts between #defines in opensslconf.h and
...
defines when compiling applications, and allow applications to
select what #defines to enable -- OPENSSL_EXLUCDE_DEFINES
enables the "#define NO_whatever" stuff only, which avoids
potential severe confusion caused by "#define _REENTRANT" when
opensslconf.h is not the first header file #included.
2000-02-18 11:15:32 +00:00
Bodo Möller
a91451ef13
add missing 'static'
2000-02-18 10:39:40 +00:00
Richard Levitte
fb044c592d
Make Configure add the configuration options that it was copmiled
...
with.
Currently, those defines are protected with a OPENSSL_EXCLUDED. That
may not be the best strategy, but it will do for now.
2000-02-18 09:11:37 +00:00
Richard Levitte
4328d51d08
Cosmetic change. No, openssl.h.in is not autogenerated :-)
2000-02-18 09:06:55 +00:00
Dr. Stephen Henson
8a208cba97
New functions and option to use NEW in certificate requests.
2000-02-18 00:54:21 +00:00
Bodo Möller
5c2ec54f12
Make sure the return value of by_file_ctrl(..., X509_L_FILE_LOAD, ...)
...
aka X509_LOOKUP_load_file(...) is always 0 or 1, not the counter
returned from the recently introduced function X509_load_cert_crl_file.
X509_STORE_load_locations expects X509_LOOKUP_load_file to return 1 on
success, and possibly there's other software that relies on this too.
2000-02-17 21:04:40 +00:00
Bodo Möller
73c5591944
Casts now unnecessary because of changed prototype.
2000-02-17 18:36:21 +00:00
Ben Laurie
c417db4675
Get rid of evil cast.
2000-02-17 09:39:22 +00:00
Ben Laurie
671cf7f54a
Reflect API changes.
2000-02-17 09:39:01 +00:00
Dr. Stephen Henson
cd3c54e50f
Add -pass argument to 'enc'.
...
Fix to make Win32 compile work again.
2000-02-17 00:41:43 +00:00
Dr. Stephen Henson
a3fe382e2d
Pass phrase reorganisation.
2000-02-16 23:16:01 +00:00
Ben Laurie
bd03b99b9b
Add support for Compaq Atalla crypto accelerator.
2000-02-16 22:15:39 +00:00
Andy Polyakov
8691ff97a1
Move primes to read-only segment.
2000-02-16 13:24:06 +00:00
Ben Laurie
bd44570322
Fix signed/unsigned warnings.
2000-02-16 12:09:17 +00:00
Ulf Möller
e1c55191cb
Install manpages below OPENSSLDIR (I think it was meant to be this way?).
...
New variable for man directory.
2000-02-15 18:34:46 +00:00
Ulf Möller
02d034cc24
Create the man directories where the manpages will be put.
2000-02-15 18:21:33 +00:00
Andy Polyakov
2aca27a9a8
Move initial key to read-only segment.
2000-02-15 17:43:12 +00:00
Andy Polyakov
bc80c86031
Move CAST_S_tables to read-only segment.
2000-02-15 17:37:44 +00:00
Andy Polyakov
f8bbcf3af0
Avoid GNU C assembler templates under Solaris x86.
2000-02-15 17:31:12 +00:00
Andy Polyakov
89cee61b45
New NO_INLINE_ASM macro. Primary target for the moment is Solaris x86
...
which can't stand GNU C assembler templates.
2000-02-15 17:20:52 +00:00
Dr. Stephen Henson
de469ef21e
Fix for Netscape "hang" bug.
2000-02-15 14:19:44 +00:00
Andy Polyakov
ea96c4bc7f
test_mont was exercising 100-bit multiplication modulus X*I-bit, where
...
X is 5120 on 32-bit and 151552 on 64-bit architectures and I varies
from 0 to 4. As result the test was *unreasonably* slow and virtually
impossible to complete on 64-bit architectures (e.g. IRIX bc couldn't
even swallow such long lines).
2000-02-15 13:50:02 +00:00
Richard Levitte
207c7df746
Remove the access() call altogether for VMS, since it doesn't quite
...
work for directory specifications (this will be reported as a bug to
DEC^H^H^HCompaq). It could as well be removed for all others as well,
since stat() and open() will return appropriate errors as well, but I
leave that to someone else to decide.
2000-02-15 09:44:54 +00:00
Richard Levitte
5f5b8d2bcd
Time ran away...
2000-02-14 16:58:40 +00:00
Richard Levitte
c6ce792fc5
Add a couple of forgotten $(PERL), and make the code to run pod2html a
...
tad more readable.
2000-02-14 16:55:23 +00:00
Dr. Stephen Henson
c9080477ec
Modernise 'selfsign.c' to use new X509_NAME code
...
and add example of extension aliasing. Also fix
the extension aliasing because it didn't work :-)
2000-02-13 00:28:26 +00:00
Andy Polyakov
bcba6cc60f
HP-UX tune-up: new unified configs, HP C compiler bug workaround.
2000-02-12 23:33:01 +00:00
Dr. Stephen Henson
d13e4eb0b5
Make pkcs12 and smime applications seed random number
...
generator (otherwise they don't work) and add -rand
option. Update docs.
2000-02-12 03:03:04 +00:00
Richard Levitte
07fc35519e
A hack to make sure access() will give us the correct answer about the
...
accessability of an "empty" directory. Thsi *is* weird, and a better
solution will be provided in apps/ca.c, when I get time to hack at it.
2000-02-11 18:12:47 +00:00
Bodo Möller
3ebf0be142
Corrections.
2000-02-11 17:18:50 +00:00
Bodo Möller
cbcc5c01f9
Update.
2000-02-11 16:31:04 +00:00
Bodo Möller
e6e7b5f3df
Implement MD5-based "apr1" password hash.
2000-02-11 16:25:44 +00:00
Ben Laurie
b1f8affbd5
Correct time in seconds instead of minutes.
2000-02-11 16:08:40 +00:00
Ben Laurie
efb416299f
Fix shadow.
2000-02-11 13:11:18 +00:00
Richard Levitte
f6814ea43a
Add compilation of the new passwd utility.
2000-02-11 11:21:50 +00:00
Richard Levitte
5160448b98
Add references to the new passwd utility.
2000-02-11 11:21:01 +00:00
Ralf S. Engelschall
667ac4ec6a
Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith -Wcast-align
...
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
2000-02-11 09:47:18 +00:00
Bodo Möller
bb325c7d6a
'passwd' tool.
2000-02-10 21:50:52 +00:00
Bodo Möller
0a751d8ce8
16 * 8 = 128.
2000-02-10 21:47:06 +00:00
Richard Levitte
a5d9c6e4fe
Move down the attributions
2000-02-08 23:40:20 +00:00
Bodo Möller
8ce288a881
Note about des_ncbc_encrypt.
2000-02-08 21:50:52 +00:00
Richard Levitte
cf0694015e
Constify
2000-02-08 14:19:14 +00:00
Dr. Stephen Henson
0cd4498b8f
Update docs.
2000-02-08 13:37:08 +00:00
Dr. Stephen Henson
f07fb9b24b
Add command line password options to the reamining utilities,
...
amend docs.
2000-02-08 01:34:59 +00:00
Richard Levitte
1e8f28c491
des_modes is a section 7 manual, so let's make sure that's where it ends up
2000-02-07 18:25:26 +00:00
Richard Levitte
7948febeca
First try at documenting the DES (and other algorithms) modes
2000-02-07 18:15:06 +00:00
Dr. Stephen Henson
ff8a4c47ce
Rename the X509V3_*_d2i functions to X509_get_ext_d2i() etc.
...
This better reflects their behaviour.
2000-02-07 01:17:22 +00:00
Ulf Möller
4e539aaa1e
"print" is GNU bc specific.
2000-02-06 23:33:06 +00:00
Ulf Möller
4facdbb5fa
Refer to EVP_DigestInit() in the hash function descriptions.
2000-02-06 23:26:31 +00:00
Richard Levitte
1c6fbf9ea2
A proposed freeze and release time has come up.
2000-02-06 22:01:10 +00:00
Dr. Stephen Henson
3cbe1980fd
Document EVP digest operations.
2000-02-06 17:44:54 +00:00
Ulf Möller
6d9ca500d8
BN bug fixes
2000-02-06 16:35:59 +00:00
Ulf Möller
fcb20be846
put missing line back in.
2000-02-06 16:35:28 +00:00
Ulf Möller
cae55bfc68
Improve bntest slightly, and fix another bug in the BN library.
2000-02-06 15:56:59 +00:00
Andy Polyakov
0fad6cb7e7
Support for MacOS X (Rhapsody) is added. Also get rid of volatile
...
qualifier in asm definitions as it prevents compiler from moving
the instruction(s) during optimization pass.
2000-02-06 11:15:20 +00:00
Richard Levitte
7cf6e2a35b
Typo corrected...
2000-02-06 10:07:32 +00:00
Bodo Möller
8652d1c22e
Memory leak.
2000-02-06 02:48:53 +00:00
Ulf Möller
4a6222d71b
BN_div bugfix. The q-- loop should not be entered in the n0==d0 case.
2000-02-06 00:25:39 +00:00
Bodo Möller
e290c7d4e0
Correction: openssl.c must get the long version of the apps_startup()
...
macro
2000-02-05 21:39:20 +00:00
Bodo Möller
29a28ee503
Cosmetic changes.
2000-02-05 21:28:09 +00:00
Dr. Stephen Henson
66430207a4
Add support for some broken PKCS#8 formats.
2000-02-05 21:07:56 +00:00
Bodo Möller
eb5a6a55c5
Commit patch to bn.h that CVS decided to throw away during 'cvs update',
...
and initialize too_many because memset(..., 0, ...) is not used here.
2000-02-05 20:39:26 +00:00
Bodo Möller
37e48b88ad
Generate just one error code if iterated SSL_CTX_get() fails.
...
Avoid enabled 'assert()' in production library.
2000-02-05 19:29:00 +00:00
Ulf Möller
6535eb1728
Use MONT_WORD macro to control if the word-based or the bignum
...
algorithm is used.
2000-02-05 18:23:05 +00:00
Ulf Möller
9b141126d4
New functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to access
...
temporary BIGNUMs. BN_CTX still uses a fixed number of BIGNUMs, but
the BN_CTX implementation could now easily be changed.
2000-02-05 14:17:32 +00:00
Ulf Möller
7e708ebee0
md2 is documented in the md5 page. lets see if this works...
2000-02-05 10:43:03 +00:00
Ulf Möller
c236e66d62
Document RC4.
2000-02-05 10:41:05 +00:00
Ulf Möller
981b87f712
Replace ridiculous libdes PRNG with RAND_bytes. These functions are not
...
used anywhere in OpenSSL, but might be used by libdes applications.
2000-02-05 10:39:54 +00:00
Andy Polyakov
d716308288
New xcbc_ok test vector is required after the parity bits in cbc2_key
...
were fixed up. The catch is that in the DESX test the cbc2_key is used
as whitening key where *all* 64 bits are significant.
2000-02-04 15:16:22 +00:00
Dr. Stephen Henson
af57d84312
Rename SSLeay_add_all_algorithms() et al to
...
OpenSSL_add_all_algorithms(). Move these into
separate files so they work properly.
2000-02-04 14:01:38 +00:00
Bodo Möller
53002dc691
Report progress as in dsatest.c when creating a DHE key.
2000-02-04 11:21:18 +00:00
Bodo Möller
f50c049707
Use correct, not American spelling.
2000-02-04 00:56:09 +00:00
Bodo Möller
b136aa5423
Correct spelling as it was done in the source.
2000-02-04 00:42:21 +00:00
Ulf Möller
ce76ce43ae
*** empty log message ***
2000-02-03 23:38:55 +00:00
Ulf Möller
b20b78b720
a short page for "speed"
2000-02-03 23:23:57 +00:00
Ulf Möller
657e60fa00
ispell (and minor modifications)
2000-02-03 23:23:24 +00:00
Ulf Möller
9dbc41d7ee
Document hash functions.
2000-02-03 18:22:01 +00:00
Dr. Stephen Henson
82fc1d9c28
Add new -notext option to 'ca', -pubkey option to spkac.
...
Remove some "WTF??" casts from applications.
Fixes to keep VC++ happy and avoid warnings.
Docs tidy.
2000-02-03 02:56:48 +00:00
Bodo Möller
7999c65c9b
Some 'const's for BNs.
2000-02-03 01:26:07 +00:00
Bodo Möller
bfe30e4d1b
Include OpenSSL license.
2000-02-02 23:30:32 +00:00
Bodo Möller
aff0825c61
Tolerate negative numbers in BN_is_prime.
2000-02-02 22:18:01 +00:00
Bodo Möller
e74231ed9e
rndsort{Miller, Rabin} primality test.
2000-02-02 21:20:44 +00:00
Andy Polyakov
fb81ac5e6b
Support for "multiply high" instruction, see BN_UMULT_HIGH comment in
...
crypto/bn/bn_lcl.h for further details. It should be noted that for
the moment of this writing the code was tested only on Alpha. If
compiled with DEC C the C implementation exhibits 12% performance
improvement over the crypto/bn/asm/alpha.s (on EV56 box running
AlphaLinux). GNU C is (unfortunately) 8% behind the assembler
implementation. But it's OpenVMS Alpha users who *may* benefit most
as 'apps/openssl speed rsa' exhibits 6 (six) times performance
improvement over the original VMS bignum implementation. Where "*may*"
means "as soon as code is enabled though #define SIXTY_FOUR_BIT and
crypto/bn/asm/vms.mar is skipped."
2000-02-02 16:18:12 +00:00
Dr. Stephen Henson
54a34aecc3
Update docs.
2000-02-02 01:33:28 +00:00
Ulf Möller
1399f17a07
Bug fix: BN_is_prime() would fail with a high probability for small
...
primes (negligible for larger ones).
2000-02-01 23:48:55 +00:00
Ulf Möller
0bde1089f8
match the prototype
2000-02-01 23:47:24 +00:00
Ulf Möller
cf802b983f
Remove an =over that never ends
2000-02-01 15:33:15 +00:00
Ulf Möller
20ead2c6f7
link to SSL_get_error(3)
2000-02-01 15:05:11 +00:00
Ulf Möller
fef47a1d1e
dhgen is gone.
2000-02-01 15:00:37 +00:00
Richard Levitte
ee25d40bea
Correct one link.
2000-02-01 12:03:47 +00:00
Bodo Möller
cb5b7850ac
If n0 == d0, we must alway compute 'rem' "by hand"
2000-02-01 11:10:54 +00:00
Bodo Möller
fe7cd1647d
Typo in preprocessor symbol.
2000-02-01 08:48:30 +00:00
Bodo Möller
1c8337abe3
Pointer to important manual page that should be written.
2000-02-01 08:48:05 +00:00
Bodo Möller
2c5fe5b12a
Change log entry completed.
2000-02-01 07:50:42 +00:00
Ulf Möller
f40c02d908
undo. I keep confusing my directories. :(
2000-02-01 02:24:10 +00:00
Ulf Möller
8efb60144d
EBCDIC support.
...
Submitted by: Martin Kraemer <martin.kraemer@mch.sni.de >
2000-02-01 02:21:16 +00:00
Ulf Möller
388f2f56f2
Document ERR library.
2000-02-01 01:37:00 +00:00
Ulf Möller
f5a8d67872
spelling
2000-02-01 01:35:52 +00:00
Ulf Möller
89ec98e0ce
Print a reassuring message when Configure is done.
2000-02-01 01:35:29 +00:00
Bodo Möller
6671fe16ee
Reference for SHA-1.
2000-01-31 09:02:30 +00:00
Ulf Möller
4e3b0992da
Checked in some junk. Sorry.
2000-01-30 23:46:18 +00:00
Ulf Möller
98d0b2e375
Note changes.
2000-01-30 23:34:33 +00:00
Ulf Möller
51ca375e7e
Seek out and destroy another evil cast.
2000-01-30 23:33:40 +00:00
Ulf Möller
1749d8a039
Typos.
2000-01-30 23:31:01 +00:00
Ulf Möller
9d1a01be8f
Source code cleanups: Use void * rather than char * in lhash,
...
eliminate some of the -Wcast-qual warnings (debug-ben-strict target)
2000-01-30 22:20:28 +00:00
Ulf Möller
74235cc9ec
Update docs: corrections, turn buffer docs into manpage, fold SHA1
...
pages into one for improved readability, add lhash manpage
2000-01-30 22:16:47 +00:00
Richard Levitte
da0fc5bf0f
Synchronise
2000-01-30 13:44:08 +00:00
Bodo Möller
cdd43b5ba5
Documentation for BN_is_prime_fasttest.
2000-01-30 11:05:39 +00:00
Bodo Möller
1baa94907c
Make output of "openssl dsaparam 1024" more interesting :-)
2000-01-30 03:32:28 +00:00
Bodo Möller
7865b871c0
Tiny changes to previous patch (the log message was meant to be
...
"Make DSA_generate_parameters faster").
2000-01-30 02:40:38 +00:00
Bodo Möller
a87030a1ed
Make DSA_generate_parameters, and fix a couple of bug
...
(including another problem in the s3_srvr.c state machine).
2000-01-30 02:23:03 +00:00
Dr. Stephen Henson
15701211b5
Update docs.
2000-01-30 01:39:40 +00:00
Richard Levitte
1e264ff325
Reimplement so only one synchronous stack is used. The benefit is
...
that function pointers are nicely tucker in their structure.
2000-01-29 01:22:03 +00:00
Richard Levitte
f27c5509f7
Finally found a form that I like...
2000-01-29 01:12:50 +00:00
Dr. Stephen Henson
e1314b5716
Fix CRL encoding bug.
2000-01-29 00:00:26 +00:00
Bodo Möller
07e6dbde66
more information on 0.9.5
2000-01-28 21:26:30 +00:00
Richard Levitte
1f36fe2835
Synchronise with Unix code
2000-01-28 12:15:20 +00:00
Richard Levitte
aa3353fda2
Put config in section 5, where it belongs.
2000-01-28 11:35:44 +00:00
Dr. Stephen Henson
2af9fd006d
Add CA.pl man page this time...
2000-01-28 01:37:08 +00:00
Dr. Stephen Henson
90644dd74d
New -pkcs12 option to CA.pl.
...
Document CA.pl script.
Initialise and free up the extra DH fields
(nothing uses them yet though).
2000-01-28 01:35:31 +00:00
Ulf Möller
75b0edaafa
fix link
2000-01-27 23:07:50 +00:00
Richard Levitte
f95a9f678a
Declare BN_pseudo_rand().
2000-01-27 22:07:42 +00:00
Richard Levitte
0b3300f866
It works much better when you don't press shift at the wrong moment...
2000-01-27 21:11:51 +00:00
Bodo Möller
953aa79040
A couple of things were reversed for BN_pseudo_rand ...
2000-01-27 21:09:25 +00:00
Richard Levitte
01d16b54c2
Added a configuration for myself...
2000-01-27 21:09:15 +00:00
Richard Levitte
3ac60a612e
Use the pod2man that comes with OpenSSL. Make it so config(5) really
...
ends up in section 5.
2000-01-27 20:34:03 +00:00
Richard Levitte
294b3c1a9c
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).
2000-01-27 20:23:29 +00:00
Richard Levitte
6c2c3e9ba9
Update all links so they will be rendered better.
2000-01-27 20:11:26 +00:00
Ulf Möller
157be2b67d
comment was wrong.
2000-01-27 19:52:58 +00:00
Ulf Möller
5d6e31dbe6
Update comment from bn.h
2000-01-27 19:36:52 +00:00
Ulf Möller
38e33cef15
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()?)
2000-01-27 19:31:26 +00:00
Ulf Möller
0c23524963
New news.
2000-01-27 19:29:23 +00:00
Ulf Möller
480116f062
Increase the year by one.
2000-01-27 19:28:49 +00:00
Bodo Möller
2233bed1cb
typo in a comment
2000-01-27 14:31:31 +00:00
Bodo Möller
ec1258dd44
Update comments to provide a better approximation of reality.
2000-01-27 13:00:10 +00:00
Bodo Möller
b99b110766
Add a pointer to a paper (is the algorithm in section 4.2 the
...
word-based algorithm we are using?)
2000-01-27 12:52:41 +00:00
Bodo Möller
6e0cad8d34
enable Montgomery test
2000-01-27 11:26:28 +00:00
Bodo Möller
5f5e96d92b
Update references.
2000-01-27 09:15:49 +00:00
Bodo Möller
38b1fa8995
Small correction.
2000-01-27 09:03:49 +00:00
Bodo Möller
387ca353fa
Correct typos that ispell did not find.
2000-01-27 08:57:57 +00:00
Richard Levitte
d629757a84
Made link of reference
2000-01-27 02:29:19 +00:00
Ulf Möller
fc58fa8bb8
New manpage.
2000-01-27 01:54:05 +00:00
Ulf Möller
e93f9a3284
Run ispell.
...
Clean up bn_mont.c.
2000-01-27 01:50:42 +00:00
Richard Levitte
bb075f8833
Update all links so they will be rendered better.
2000-01-27 01:25:31 +00:00
Bodo Möller
52732b38da
Some comments added, and slight code clean-ups.
2000-01-26 22:36:55 +00:00
Bodo Möller
ada3cc4a8f
Clarification.
2000-01-26 08:59:26 +00:00
Bodo Möller
a598cd1ab4
New manual page.
2000-01-25 22:35:20 +00:00
Bodo Möller
2557eaeac8
Avoid a race condition.
2000-01-24 17:57:56 +00:00
Bodo Möller
a46faa2bfd
Improve clarity.
2000-01-24 16:02:29 +00:00
Bodo Möller
aabbb7451b
Document RAND_load_file change.
2000-01-24 14:42:26 +00:00
Richard Levitte
4a1a3440a4
Man page section forgotten...
2000-01-24 14:19:00 +00:00
Bodo Möller
1d7d74647a
Give the correct e-mail address even though the message is not quite serious
2000-01-24 10:20:45 +00:00
Bodo Möller
05ccd698b9
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).
2000-01-24 10:03:24 +00:00
Bodo Möller
f13b93d3b4
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)
2000-01-24 09:32:20 +00:00
Bodo Möller
7be5af1ddf
The des_xcbc_encrypt apparently always fails.
...
Workaround so that "make test" continues anyway.
2000-01-24 09:24:28 +00:00
Richard Levitte
baf32381b5
Add the PID to the output on Win32.
2000-01-24 04:05:00 +00:00
Richard Levitte
1675f6eb05
Let's make all the example formated the same, shall we?
2000-01-24 02:24:37 +00:00
Richard Levitte
8548d44270
Correct indentation
2000-01-24 02:15:59 +00:00
Dr. Stephen Henson
fd38fecc1a
Document how CRYPTO_EX_DATA stuff works for
...
RSA structures. Other structures behave in
a similar way.
2000-01-24 01:50:17 +00:00
Ulf Möller
3bec05e933
Documented in the RSA_print page
2000-01-24 01:21:22 +00:00
Ulf Möller
223fc8654a
RSA_print etc
2000-01-24 01:20:39 +00:00
Ulf Möller
0e930f25d2
Rename asn1/pkcs8.c to asn1/p8_key.c to avoid name conflict.
2000-01-24 01:18:36 +00:00
Dr. Stephen Henson
dd9d233e2a
Tidy up CRYPTO_EX_DATA structures.
2000-01-23 23:41:49 +00:00
Ulf Möller
dd8dec69b8
Document the BN library.
2000-01-23 22:06:24 +00:00
Bodo Möller
ce052b6c3b
Under VMS, ftruncate should be available
2000-01-23 22:02:34 +00:00
Bodo Möller
e84c2d2679
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?)
2000-01-23 19:58:03 +00:00
Dr. Stephen Henson
fabce04122
Make s_server, s_client check cipher list return codes.
...
Update docs.
2000-01-23 02:28:08 +00:00
Dr. Stephen Henson
64287002ce
Minor patch: check only match @STRENGTH and remove eNULL
...
comment.
Add documentation for the ciphers command including a full
description of cipher lists.
2000-01-22 23:34:44 +00:00
Bodo Möller
c88a900fa1
update PRNG documentation/comments
2000-01-22 23:11:13 +00:00
Ulf Möller
2a99e8b9df
dh renamed to dhparam
2000-01-22 21:26:52 +00:00
Ulf Möller
99e812cb93
config string comment
2000-01-22 21:26:01 +00:00
Ulf Möller
fcb76baeb0
fail on all errors.
2000-01-22 21:25:36 +00:00
Ulf Möller
4486d0cd7a
Document the DH library, and make some minor changes along the way.
2000-01-22 20:05:23 +00:00
Dr. Stephen Henson
09483c58e3
Add new program dhparam and update docs.
2000-01-22 13:58:29 +00:00
Dr. Stephen Henson
bda70ed430
Gets Lutz Jaenicke's name right this time :-)
...
Apologies to both concerned.
2000-01-22 12:49:48 +00:00
Dr. Stephen Henson
018e57c74d
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.
2000-01-22 03:17:06 +00:00
Ulf Möller
3604a4d3d1
Move ssl.pod to doc/ssl
2000-01-21 23:58:03 +00:00
Ulf Möller
3779469192
Use comment from md_rand.c (part 2, as well).
2000-01-21 23:39:15 +00:00
Ulf Möller
0b5cfe32e9
Use comment from md_rand.c in rand.pod
2000-01-21 23:36:40 +00:00
Dr. Stephen Henson
cc8709a090
Docs for sess_id utility.
2000-01-21 22:38:52 +00:00
Bodo Möller
2c8aeddc5d
change comments
2000-01-21 20:18:09 +00:00
Bodo Möller
720b3598d6
Avoid integer overflow in entropy counter.
...
Slightly clarify the RAND_... documentation.
2000-01-21 19:54:22 +00:00
Ulf Möller
60b5245360
Document RAND library.
2000-01-21 17:50:27 +00:00
Ulf Möller
5d82c5b3f4
Move ssl.pod to doc/ssl
2000-01-21 17:46:36 +00:00
Bodo Möller
674b8eec4c
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).
2000-01-21 17:11:26 +00:00
Bodo Möller
033db22d57
add ERR_print_errors after "end" label.
2000-01-21 11:30:52 +00:00
Bodo Möller
af6f388180
Don't "goto err" in client_master_key because no such label exists;
...
just return -1 as in other error cases.
2000-01-21 11:20:22 +00:00
Bodo Möller
af5eb82979
doc/man moved to doc/apps
2000-01-21 09:36:47 +00:00
Bodo Möller
435b72dd4f
mention manual pages
2000-01-21 09:35:56 +00:00
Dr. Stephen Henson
8100490a72
Make -CAcreateserial start from 1 instead of 0 for
...
serial numbers.
2000-01-21 02:42:14 +00:00
Dr. Stephen Henson
dd46d58f65
Change the 'man' directory to 'apps'. Yes I wish cvs
...
could rename too :-(
2000-01-21 02:17:04 +00:00
Ulf Möller
e7f97e2d22
Check RAND_bytes() return value or use RAND_pseudo_bytes().
2000-01-21 01:15:56 +00:00
Ulf Möller
731d9c5fb5
Some more ifdefs for no-xxx options.
2000-01-21 00:03:51 +00:00
Ulf Möller
4699af98e6
Don't build the testapps automatically because the openssl program now
...
has s/mime functionality.
2000-01-21 00:02:32 +00:00
Ulf Möller
b25c8db872
AFAICS lst1 stands for "lshift test" not "list".
2000-01-21 00:00:12 +00:00
Ulf Möller
b838465135
WINDOWS is defined in e_os.h. The problem was WIN32 (the new egcs uses _WIN32).
2000-01-20 23:59:24 +00:00
Bodo Möller
6481f3d29d
Define WINDOWS in all Mingw32 cases.
2000-01-20 23:16:07 +00:00
Bodo Möller
4146aa6b42
Rename lst1 to list1 to avoid name conflict on some platforms.
2000-01-20 23:15:50 +00:00
Bodo Möller
4f392a200e
Define WINDOWS for Mingw32 and Cygwin.
2000-01-20 23:15:15 +00:00
Bodo Möller
97c1f605f4
Define WINDOWS.
2000-01-20 23:08:07 +00:00
Dr. Stephen Henson
281959aa61
Oops... undo change to wrong prototype.
2000-01-20 02:27:36 +00:00
Dr. Stephen Henson
6e6bc352b1
Finish off the X509_ATTRIBUTE string stuff.
2000-01-20 01:37:17 +00:00
Dr. Stephen Henson
77b47b9036
Rename X509_att*() stuff to X509at_*(), add X509_REQ wrappers.
2000-01-19 01:02:13 +00:00
Ulf Möller
721b5b2a5c
Rename rsa_oaep_test to the more appropriate name rsa_test for the
...
benefit of MS-DOS users.
2000-01-18 15:08:49 +00:00
Richard Levitte
a9188d4e17
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.
2000-01-18 09:30:51 +00:00
Richard Levitte
ea5e7bcf63
Avoid converting void * to a function pointer when NULL is defined as
...
((void *)0), by have a 0 instead.
2000-01-18 08:23:15 +00:00
Richard Levitte
c89cb36dbf
A test script to check on the header files
2000-01-18 08:10:28 +00:00
Richard Levitte
7be760be38
Build the test apps after all of the library has been built.
2000-01-18 08:09:19 +00:00
Richard Levitte
7256ce6a8c
SOCKETSHR is showing bad declarations again. However, a simple cast
...
which does no harm fixes that problem.
2000-01-17 01:07:36 +00:00
Richard Levitte
fb8d5a16a3
Build the crypto test applications as well.
2000-01-17 01:01:16 +00:00
Richard Levitte
9c86df6a98
Prepare for a possible disabling of certain messages that DEC C spews out.
2000-01-17 00:58:09 +00:00
Richard Levitte
2697557764
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.
2000-01-17 00:57:10 +00:00
Richard Levitte
b058a08085
It doesn't make sense to try see if these variables are negative, since they're unsigned.
2000-01-17 00:49:52 +00:00
Richard Levitte
e7399bf592
Beautification and a few entries added.
2000-01-17 00:39:55 +00:00
Bodo Möller
cef80e8c14
SSL_R_UNSUPPORTED_PROTOCOL (as in s23_clnt.c) for SSL 2 when
...
NO_SSL2 is defined, not SSL_R_UNKNOWN_PROTOCOL.
2000-01-16 21:29:57 +00:00
Ulf Möller
aa82db4fb4
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
2000-01-16 21:10:00 +00:00
Ulf Möller
b0bb2b914a
Header for RAND_seed()
2000-01-16 21:07:36 +00:00
Ulf Möller
88618bac73
remove debug modification that I checked in accidentally
2000-01-16 16:04:26 +00:00
Ulf Möller
373b575f5a
New function RAND_pseudo_bytes() generated pseudorandom numbers that
...
are not guaranteed to be unpredictable.
2000-01-16 15:58:17 +00:00
Bodo Möller
e1798f856d
In ssl3_read_n, set rwstate to SSL_NOTHING when the requested
...
number of bytes could be read.
2000-01-16 14:21:00 +00:00
Richard Levitte
243ba4095c
Another name longer than 31 chars
2000-01-16 12:31:12 +00:00
Richard Levitte
29ccd81f58
Cut'n'paste error
2000-01-16 12:30:16 +00:00
Ulf Möller
b9d82f4735
RAND_seed
2000-01-16 12:21:22 +00:00
Richard Levitte
d593983da4
Synchronise with the makefiles.
2000-01-16 02:11:19 +00:00
Richard Levitte
9597902a91
Tell the truth about list separators.
2000-01-15 23:19:22 +00:00
Bodo Möller
7d388202bd
add "randomness"
2000-01-15 21:48:46 +00:00
Bodo Möller
691401fc53
RAND_bytes's return values is 0 for an error, not -1.
2000-01-15 20:24:12 +00:00
Bodo Möller
4fd2ead09d
Enable memory checking earlier (we correctly free everything
...
except for the BIO through which we print the memory leak list,
and the leak printing function ignores this one block).
2000-01-15 03:08:52 +00:00
Richard Levitte
b46c3e9b69
Typo
2000-01-14 22:43:11 +00:00
Richard Levitte
ed84dfab00
Typo...
2000-01-14 21:54:34 +00:00
Bodo Möller
375a7a9383
Delete "random" file .rnd in "make clean".
2000-01-14 20:07:12 +00:00
Bodo Möller
105c0be00f
Let "make test" survive without DEVRANDOM
...
(and rename a target in test/Makefile.ssl to make it
easier to guess the name of the file executed by it)
2000-01-14 18:43:22 +00:00
Bodo Möller
7f5b6f0f19
In EVP_PKEY_assign[_...], return 0 for an error when they
...
"key" is NULL.
2000-01-14 18:41:28 +00:00
Bodo Möller
0c50e02b30
- Pseudo-seed the PRNG in programs used for "make test"
...
because otherwise BN_rand will fail unless DEVRANDOM works,
which causes the programs to dump core because they
don't check the return value of BN_rand (and if they
did, we still couldn't test anything).
- add comment to some files that appear not to be used at all.
2000-01-14 17:55:37 +00:00
Bodo Möller
a8eeb155b5
Avoid some warnings, and run "make update".
2000-01-14 17:28:48 +00:00
Bodo Möller
2f878669b7
Avoid shadowing variables,
...
and re-enable seeding with more data than read from DEVRANDOM -- just
don't pretend it contains entropy.
2000-01-14 09:08:39 +00:00
Ulf Möller
f2b86c955c
minor change for the prng
2000-01-14 02:31:32 +00:00
Bodo Möller
11afb40c01
Use CRYPTO_push_info to track down memory leak
...
(only the CRYPTO_push_info's in the apps/ directory
are included in the CVS commit, not all those I used
in crypto/)
2000-01-13 22:52:52 +00:00
Bodo Möller
2c736d077b
slightly change usage information
2000-01-13 21:36:06 +00:00
Bodo Möller
0983760dfc
note about things still to do with RAND_bytes
2000-01-13 21:20:26 +00:00
Bodo Möller
a873356c00
Use CRYPTO_push_info to find a memory leak in pkcs12.c.
2000-01-13 21:10:43 +00:00
Ulf Möller
eb952088f0
Precautions against using the PRNG uninitialized: RAND_bytes() now
...
returns int (1 = ok, 0 = not seeded). New function RAND_add() is the
same as RAND_seed() but takes an estimate of the entropy as an additional
argument.
2000-01-13 20:59:17 +00:00
Bodo Möller
22e219d90f
Note about CRYPTO_malloc_init
2000-01-13 09:18:42 +00:00
Ulf Möller
036c8d7e7b
PKCS#1 signatures don't use randomness.
...
Add a note about the padding functions.
2000-01-12 20:47:46 +00:00
Ulf Möller
6a3fff5ecf
corrections
2000-01-12 13:59:20 +00:00
Bodo Möller
76aa0ddc86
Turn BN_prime_checks into a macro.
...
Primes p where (p-1)/2 is prime too are called "safe", not "strong".
2000-01-12 11:57:30 +00:00
Bodo Möller
e4b7645631
add dependency and auto-generation rule for bn_prime.h
...
(created by bn_prime.pl, which now prints the copyright/license
note as found in bn_prime.h)
2000-01-12 09:16:22 +00:00
Ulf Möller
90308e7072
Dummy page superseded by crypto/crypto.pod
2000-01-11 22:36:25 +00:00
Ulf Möller
2186cd8ef1
Document the RSA library.
2000-01-11 22:35:21 +00:00
Richard Levitte
de73e397f8
Added a comment about Win32.
2000-01-11 22:32:37 +00:00
Richard Levitte
cbfa4c32c0
Add more info to the memory allocation change log.
...
Suggested by Bodo.
2000-01-11 22:16:12 +00:00
Richard Levitte
f1d712ce80
Make sure that generated files are labeled as such (except in dofile(), for now)
2000-01-11 13:07:21 +00:00
Bodo Möller
cc96f6b7a4
add check for internal error
2000-01-11 08:18:55 +00:00
Bodo Möller
3cc6cdea0f
The buffer in ss3_read_n cannot actually occur because it is never
...
called with max > n when extend is set.
2000-01-11 08:09:27 +00:00
Bodo Möller
c51ae173a6
Clean up some of the SSL server code.
2000-01-11 01:07:26 +00:00
Ulf Möller
7e3d8df1bb
dep/ directory is not needed.
2000-01-11 00:10:29 +00:00
Ulf Möller
efeca6aa32
Add missing =back.
2000-01-11 00:06:40 +00:00
Dr. Stephen Henson
4b08eaf5c7
Update docs.
2000-01-10 00:11:51 +00:00
Dr. Stephen Henson
25f923ddd1
New function X509_CTX_rget_chain(), make SSL_SESSION_print() display return code.
...
Remove references to 'TXT' in -inform and -outform switches.
2000-01-09 14:21:40 +00:00
Bodo Möller
150a4320d8
s_client and s_server now have their own man pages.
2000-01-09 10:55:29 +00:00
Dr. Stephen Henson
a2151c5b9a
Man page for s_server.
2000-01-09 01:26:43 +00:00
Ben Laurie
752d706aaf
Make NO_RSA compile with pedantic.
2000-01-08 21:06:24 +00:00
Dr. Stephen Henson
c3ed3b6eab
Add -prexit command to s_client and patch some BIO
...
functions so it doesn't crash. Document s_client.
2000-01-08 19:05:47 +00:00
Bodo Möller
c708302516
superseded by doc/man/openssl.pod
2000-01-08 18:08:39 +00:00
Bodo Möller
3ea4404fd7
Unify doc/openssl.pod and doc/man/openssl.pod, which were almost the
...
same and now are identical.
The next step will be to delete doc/openssl.pod, this is just
to see the individual CVS deltas.
2000-01-08 18:08:02 +00:00
Bodo Möller
7328b0a89d
Use basename instead of complicated sed line.
2000-01-08 17:45:30 +00:00
Dr. Stephen Henson
ef7eaa4cb0
Manpages for the DH utils and fix for a memory leak in dh program
2000-01-08 13:36:17 +00:00
Dr. Stephen Henson
dad666fbbe
Add PKCS#12 manpage and use MAC iteration counts by default.
2000-01-08 03:16:04 +00:00
Ulf Möller
5b58baee3c
Install man pages.
2000-01-08 02:08:13 +00:00
Ulf Möller
69396b4199
Minor format changes.
2000-01-08 02:07:46 +00:00
Bodo Möller
918a8a16fa
CA.pl is now generated automatically (using CA.pl.in as input)
2000-01-07 13:06:28 +00:00
Bodo Möller
d2b6c3f31f
apps/openssl.cnf and the documentation say it's "nombstr",
...
but crypto/asn1/a_strnid.c had "nombchar".
2000-01-07 13:05:41 +00:00
Bodo Möller
63da21c01b
make no-des and no-rc2 work.
2000-01-07 12:15:54 +00:00
Bodo Möller
b64e735b08
add V_CRYPTO_MDEBUG_ALL
...
Submitted by:
Reviewed by:
PR:
2000-01-07 10:50:54 +00:00
Ulf Möller
9ea76b951d
Submitted by:
...
Reviewed by:
PR:
2000-01-07 03:30:36 +00:00
Ulf Möller
0f583f69f3
Honor the no-xxx Configure options when creating .DEF files.
2000-01-07 03:17:47 +00:00
Dr. Stephen Henson
fc6be0fa56
#undef PKCS7_SIGNER_INFO for Win32 to avoid clashes.
...
Fix so CRLDistributionPoints relativeName option uses
the correct type.
2000-01-07 02:23:42 +00:00
Ulf Möller
2fdf5d7c23
Remove obsolete SSLeay instructions.
2000-01-07 02:08:20 +00:00
Ulf Möller
1f2f922455
ispell.
2000-01-07 02:07:13 +00:00
Ulf Möller
19d2bb574b
Add some newlines needed for pod2man, and run ispell.
...
Submitted by:
Reviewed by:
PR:
2000-01-07 01:39:59 +00:00
Dr. Stephen Henson
35f4850ae0
More X509_ATTRIBUTE changes.
2000-01-07 00:55:54 +00:00
Bodo Möller
add9e2544a
add "UnixWare", treated like "unixware"
...
Submitted by: "Gary E. Miller" <gem@rellim.com >
2000-01-07 00:27:15 +00:00
Dr. Stephen Henson
b38f9f66c3
Initial automation changes to 'req' and X509_ATTRIBUTE functions.
2000-01-06 01:26:48 +00:00
Bodo Möller
ca03109c3a
New functions SSL_get_finished, SSL_get_peer_finished.
...
Add short state string for MS SGC.
2000-01-06 01:19:17 +00:00
Bodo Möller
9fb617e252
Use less complicated arrangement for data strutures related to Finished
...
messages.
2000-01-06 00:41:22 +00:00
Bodo Möller
f2d9a32cf4
Use separate arrays for certificate verify and for finished hashes.
2000-01-06 00:24:24 +00:00
Bodo Möller
245206eadd
Use prototypes.
2000-01-05 23:31:47 +00:00
Bodo Möller
c44f754047
Slight code cleanup for handling finished labels.
2000-01-05 23:11:51 +00:00
Andy Polyakov
023f77002f
Further work on MacOS port. See INSTALL.MacOS for details.
2000-01-05 21:06:56 +00:00
Bodo Möller
3a4f14f3d1
Rename CA.pl to CA.pl.in (no actual changes), and let Configure
...
set the #! line with the path to Perl.
Submitted by: Peter Jones
2000-01-05 01:31:22 +00:00
Andy Polyakov
37b0d5d05d
Rhapsody 5.5 (a.k.a. MacOS X) compiler bug workaround. At the very least
...
passes 'make test' now:-)
2000-01-04 03:33:18 +00:00
Andy Polyakov
1eab9a1fbb
Metrowerks for Motorola tune-up.
2000-01-02 22:03:10 +00:00
Andy Polyakov
2e97d4f9f5
Alpha Linux update companion.
2000-01-02 21:32:02 +00:00
Andy Polyakov
bdf5e18317
Enhanced support for Alpha Linux. See CHANGES for details.
2000-01-02 20:46:58 +00:00
Dr. Stephen Henson
3d14b9d04a
Add support for MS "fast SGC".
2000-01-02 18:52:58 +00:00
Dr. Stephen Henson
20432eae41
Fix some of the command line password stuff. New function
...
that can automatically determine the type of a DER encoded
"traditional" format private key and change some of the
d2i functions to use it instead of requiring the application
to work out the key type.
2000-01-01 16:42:49 +00:00
Bodo Möller
47134b7864
Don't request client certificate in anonymous ciphersuites
...
except when following the specs is bound to fail.
1999-12-29 17:43:03 +00:00
Bodo Möller
45fd4dbb84
Fix SSL_CTX_add_session: When two SSL_SESSIONs have the same ID,
...
they can sometimes be different memory structures.
1999-12-29 14:29:32 +00:00
Bodo Möller
9535f8c165
Delete NO_PROTO section (which apparently was just a typo for NOPROTO --
...
if anyone had actually ever needed that they should have fixed this typo)
1999-12-29 14:27:35 +00:00
Bodo Möller
891e465607
fix comment
1999-12-29 14:25:35 +00:00
Dr. Stephen Henson
f45f40ffff
Add OIDs for idea and blowfish. Unfortunately these are in
...
the middle of the OID table so the diff is rather large :-(
1999-12-29 02:59:18 +00:00
Dr. Stephen Henson
6447cce372
Simplify the trust structure: basically zap the bit strings and
...
represent everything by OIDs.
1999-12-29 00:40:28 +00:00
Andy Polyakov
76997b7dd0
MacOS updates. Initial support for GUSI (MacOS socket implementation)
...
is added.
1999-12-26 22:46:49 +00:00
Dr. Stephen Henson
e6f3c5850e
New {i2d,d2i}_PrivateKey_{bio, fp} functions.
1999-12-26 19:20:03 +00:00
Andy Polyakov
b96eb06f79
Makefile clean-ups, crypto/bn/asm/alpha.s compiles on Alpha Linux.
1999-12-25 16:08:31 +00:00
Dr. Stephen Henson
36217a9424
Allow passwords to be included on command line for a few
...
more utilities.
1999-12-24 23:53:57 +00:00
Dr. Stephen Henson
12aefe78f0
Fixes so NO_RSA works again.
1999-12-24 17:26:33 +00:00
Dr. Stephen Henson
525f51f6c9
Add PKCS#8 utility functions and add PBE options.
1999-12-23 02:02:42 +00:00
Bodo Möller
78baa17ad0
Correct spelling, and don't abuse grave accent as left quote
...
(which was allowed by old ASCII definitions but is not compatible
with ISO 8859-1, ISO 10646 etc.).
1999-12-22 16:10:44 +00:00
Richard Levitte
a9e9db8153
Synchronising
1999-12-22 05:57:00 +00:00
Dr. Stephen Henson
e76f935ead
Support for ASN1 NULL type.
1999-12-22 01:39:23 +00:00
Andy Polyakov
15df5802fd
Minor documentation update.
1999-12-20 18:34:56 +00:00
Andy Polyakov
099bf0e959
Even more late break-in MacOS tidbits (last for today)...
1999-12-19 23:50:36 +00:00
Andy Polyakov
404fb7149e
Even more late break-in MacOS tidbits...
1999-12-19 22:56:23 +00:00
Andy Polyakov
a7c5241f5f
Late break-in patch for MacOS support.
1999-12-19 21:35:29 +00:00
Andy Polyakov
099f1b32c8
Initial support for MacOS is now available
...
Submitted by: Roy Woods <roy@centricsystems.ca >
Reviewed by: Andy Polyakov
1999-12-19 16:17:45 +00:00
Andy Polyakov
9a1e34e5de
MacOS updates.
1999-12-19 16:07:19 +00:00
Bodo Möller
2b6313d0da
Rename
...
CRYPTO_add_info => CRYPTO_push_info
CRYPTO_remove_info => CRYPTO_pop_info
in the hope that these names are more descriptive;
and "make update".
1999-12-18 13:51:47 +00:00
Bodo Möller
75acc288ca
fix typos and other little errors ...
1999-12-18 13:25:45 +00:00
Bodo Möller
0cd08cce17
- Don't assume that int and size_t have the same representation
...
(and that malloc can be called with an int argument).
- Use proper prototypes (with argument list) for various function pointers,
avoid casts (however there are still many such cases left in these files).
- Avoid collissions in app_info_cmp if sizeof int != sizeof long.
- Use CRYPTO_LOCK_MALLOC in mem_dbg.c.
1999-12-18 05:22:50 +00:00
Bodo Möller
03c48fa07b
Avoid shadowing p to make the compiler happy.
1999-12-18 05:16:30 +00:00
Richard Levitte
f3a2a04496
- Added more documentation in CHANGES.
...
- Made CRYPTO_MDEBUG even less used in crypto.h, giving
MemCheck_start() and MemCheck_stop() only one possible definition.
- Made the values of the debug function pointers in mem.c dependent
on the existence of the CRYPTO_MDEBUG macro, and made the rest of
the code understand the NULL case.
That's it. With this code, the old behvior of the debug functionality
is restored, but you can still opt to have it on, even when the
library wasn't compiled with a defined CRYPTO_MDEBUG.
1999-12-18 02:34:37 +00:00
Richard Levitte
d8df48a9bc
- Made sure some changed behavior is documented in CHANGES.
...
- Moved the handling of compile-time defaults from crypto.h to
mem_dbg.c, since it doesn't make sense for the library users to try
to affect this without recompiling libcrypto.
- Made sure V_CRYPTO_MDEBUG_TIME and V_CRYPTO_MDEBUG_THREAD had clear
and constant definitions.
- Aesthetic correction.
1999-12-18 01:14:39 +00:00
Bodo Möller
78bf1920a2
Point out that openssl-bugs is public.
1999-12-18 01:13:30 +00:00
Bodo Möller
3db1f2d5be
Add a comment.
1999-12-18 00:30:32 +00:00
Bodo Möller
e8f48dbacc
Add missing semicolon to make compiler happy, and switch back
...
from MemCheck_start() to CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON)
because that is what applications should use
(MemCheck_start/stop never really worked for applications
unless CRYPTO_MDEBUG was defined both when compiling the library
and when compiling the application, so probably we should
get rid of it).
1999-12-18 00:28:21 +00:00
Richard Levitte
08807172b2
Clear out license confusion.
1999-12-17 16:49:23 +00:00
Richard Levitte
9ac42ed8fc
Rebuild of the OpenSSL memory allocation and deallocation routines.
...
With this change, the following is provided and present at all times
(meaning CRYPTO_MDEBUG is no longer required to get this functionality):
- hooks to provide your own allocation and deallocation routines.
They have to have the same interface as malloc(), realloc() and
free(). They are registered by calling CRYPTO_set_mem_functions()
with the function pointers.
- hooks to provide your own memory debugging routines. The have to
have the same interface as as the CRYPTO_dbg_*() routines. They
are registered by calling CRYPTO_set_mem_debug_functions() with
the function pointers.
I moved everything that was already built into OpenSSL and did memory
debugging to a separate file (mem_dbg.c), to make it clear what is
what.
With this, the relevance of the CRYPTO_MDEBUG has changed. The only
thing in crypto/crypto.h that it affects is the definition of the
MemCheck_start and MemCheck_stop macros.
1999-12-17 12:56:24 +00:00
Richard Levitte
1ad9bdf253
Use MemCheck_start() instead of CRYPTO_mem_ctrl(), and generate a small leak to test (conditional)
1999-12-17 12:50:06 +00:00
Richard Levitte
8a1580096b
Synchronise VMS scripts with Unix Makefiles
1999-12-16 19:57:50 +00:00
Ulf Möller
a5ec86d16c
Update contact information (openssl-bugs, openssl-security).
1999-12-16 15:10:29 +00:00
Dr. Stephen Henson
1887988497
Delete an unused variable and make the PKCS#12 keygen debugging code work
...
again.
1999-12-15 02:36:48 +00:00
Dr. Stephen Henson
3fc9635ea7
Fix the S/MIME code to use canonical MIME format for
...
encrypted mail. Also update the smime docs.
1999-12-15 01:26:17 +00:00
Ulf Möller
3b14cb717d
Solaris x86 assembler problem is already addressed in ./config
...
(bug reports keep coming in because that was still missing in 0.9.4)
1999-12-14 15:28:10 +00:00
Dr. Stephen Henson
55f30198ad
Various S/MIME fixes. Fix for memory leak, recipient list bug
...
and not excluding parameters with DSA keys.
1999-12-14 02:44:27 +00:00
Dr. Stephen Henson
2449961ab2
Fix a typo in a_enum.c.
1999-12-13 13:14:14 +00:00
Dr. Stephen Henson
b216664f66
Various S/MIME fixes.
1999-12-11 20:04:06 +00:00
Dr. Stephen Henson
d8223efd04
Fix for crashing INTEGERs, ENUMERATEDs and OBJECT IDENTIFIERs.
...
Also fix a memory leak in PKCS#7 routines.
1999-12-10 13:46:48 +00:00
Dr. Stephen Henson
e3775a33c1
Make the PKCS#7 S/MIME functions check for passed NULL pointers.
...
Fix the usage message of smime utility and sanitise the return
codes.
Add some documentation.
1999-12-09 01:31:32 +00:00
Ulf Möller
a4af39ac44
Don't use inline assembler on x86 Solaris (would need a different syntax).
1999-12-08 22:55:06 +00:00
Bodo Möller
63daa2aaf4
Useless files deleted -- they were just copies of files of the same name
...
in the apps/ directory (which were recently changed).
1999-12-08 18:30:39 +00:00
Dr. Stephen Henson
a2121e0aee
Add i2d_ASN1_PRINTABLESTRING() function, and do 'make update'
1999-12-08 00:56:15 +00:00
Dr. Stephen Henson
55ec5861c8
Modify S/MIME application so the -signer option writes the signer(s)
...
to a file if we are verifying.
1999-12-07 02:35:52 +00:00
Dr. Stephen Henson
5a9a4b299c
Merge in my S/MIME library and utility.
1999-12-05 00:40:59 +00:00
Ulf Möller
bc3baeacca
CORE SDI proposed patch doesn't make any sense. Undo.
1999-12-04 01:19:23 +00:00
Ulf Möller
9f382899b2
Oops!
1999-12-04 00:13:37 +00:00
Ulf Möller
cd9860af26
Circumvent an exploitable buffer overrun error in RSA Security's RSAREF
...
library. See: http://www.CORE-SDI.COM/english/ssh/index.html
Submitted by:
Reviewed by:
PR:
1999-12-03 23:56:08 +00:00
Bodo Möller
23fb9bc0eb
Use des_set_key_unchecked, not des_set_key.
1999-12-03 20:26:20 +00:00
Bodo Möller
cddfe788fb
Add functions des_set_key_checked, des_set_key_unchecked.
...
Never use des_set_key (it depends on the global variable des_check_key),
but usually des_set_key_unchecked.
Only destest.c bothered to look at the return values of des_set_key,
but it did not set des_check_key -- if it had done so,
most checks would have failed because of wrong parity and
because of weak keys.
1999-12-03 20:24:21 +00:00
Dr. Stephen Henson
21131f00d7
New function PKC12_newpass()
1999-12-03 03:46:18 +00:00
Dr. Stephen Henson
6ea5314007
Fix a bug in the modified purpose code: it wasn't updated to use the
...
new purpose getting function.
Update the ca-cert.pem and pca-cert.pem "CA" certificates so they
really are CA certificate: that is they have the appropriate extensions.
1999-12-03 00:53:48 +00:00
Dr. Stephen Henson
dd4134101f
Change the trust and purpose code so it doesn't need init
...
either and has a static and dynamic mix.
1999-12-02 02:33:56 +00:00
Dr. Stephen Henson
08cba61011
Modify the X509 V3 extension lookup code.
1999-12-01 01:49:46 +00:00
Ben Laurie
fea9afbfc7
Make salting the default. Fail gracefully if the input is not salted.
1999-11-30 20:15:19 +00:00
Dr. Stephen Henson
5f2f0b5596
Document the extension tests performed by the -purpose test
...
in the x509 utility.
1999-11-30 14:39:58 +00:00
Dr. Stephen Henson
7b418a474c
Document all possible errors (and some impossible) from the verify program.
1999-11-30 02:28:42 +00:00
Dr. Stephen Henson
bb7cd4e3eb
Remainder of SSL purpose and trust code: trust and purpose setting in
...
SSL_CTX and SSL, functions to set them and defaults if no values set.
1999-11-29 22:35:00 +00:00
Dr. Stephen Henson
13938aceca
Add part of chain verify SSL support code: not complete or doing anything
...
yet.
Add a function X509_STORE_CTX_purpose_inherit() which implements the logic
of "inheriting" purpose and trust from a parent structure and using a default:
this will be used in the SSL code and possibly future S/MIME.
Partial documentation of the 'verify' utility. Still need to document how all
the extension checking works and the various error messages.
1999-11-29 01:09:25 +00:00
Dr. Stephen Henson
51630a3706
Add trust setting support to the verify code. It now checks the
...
trust settings of the root CA.
After a few fixes it seems to work OK.
Still need to add support to SSL and S/MIME code though.
1999-11-27 19:43:10 +00:00
Richard Levitte
74ecf9e2bb
Add compilation of x509_trs
1999-11-27 15:26:48 +00:00
Dr. Stephen Henson
21f775522b
Oops! Commit died on me :-(
1999-11-27 01:18:39 +00:00
Dr. Stephen Henson
9868232ae1
Initial trust code: allow setting of trust checking functions
...
in a table. Doesn't do too much yet.
Make the -<digestname> options in 'x509' affect all relevant
options.
Change the name of the 'notrust' options to 'reject' as this
causes less confusion and is a better description of the
effect.
A few constification changes.
1999-11-27 01:14:04 +00:00
Dr. Stephen Henson
d4cec6a13d
New options to the -verify program which can be used for chain verification.
...
Extend the X509_PURPOSE structure to include shortnames for purposed and default
trust ids.
Still need some extendable trust checking code and integration with the SSL and
S/MIME code.
1999-11-26 00:27:07 +00:00
Dr. Stephen Henson
1126239111
Initial chain verify code: not tested probably not working
...
at present. However nothing enables it yet so this doesn't
matter :-)
1999-11-24 01:31:49 +00:00
Dr. Stephen Henson
6d3724d3b0
Support for authority information access extension.
...
Fix so EVP_PKEY_rset_*() check return codes.
1999-11-23 18:50:28 +00:00
Dr. Stephen Henson
52664f5081
Transparent support for PKCS#8 private keys in RSA/DSA.
...
New universal public key format.
Fix CRL+cert load problem in by_file.c
Make verify report errors when loading files or dirs
1999-11-21 22:28:31 +00:00
Dr. Stephen Henson
a716d72734
Support for otherName in GeneralName.
1999-11-19 02:19:58 +00:00
Ben Laurie
44eca70641
Update dependencies.
1999-11-18 14:32:54 +00:00
Ben Laurie
5ef738240a
Fix warning.
1999-11-18 14:10:53 +00:00
Bodo Möller
1088e27ca8
Restore traditional SSL_get_session behaviour so that s_client and s_server
...
don't leak tons of memory.
1999-11-17 21:36:13 +00:00
Ulf Möller
4f23052492
Missing #ifdef NO_DES
1999-11-17 13:03:29 +00:00
Dr. Stephen Henson
f76d8c4747
Modify verify code to handle self signed certificates.
1999-11-17 01:20:29 +00:00
Bodo Möller
b1fe6ca175
Store verify_result with sessions to avoid potential security hole.
1999-11-16 23:15:41 +00:00
Dr. Stephen Henson
91895a5938
Fix for a bug in PKCS#7 code and non-detached data.
...
Remove rc4-64 from ciphers since it doesn't exist...
1999-11-16 14:54:50 +00:00
Dr. Stephen Henson
6d1b637ba1
Clarify docs.
1999-11-16 02:51:41 +00:00
Dr. Stephen Henson
fd699ac55f
Add a salt to the key derivation using the 'enc' program.
1999-11-16 02:49:25 +00:00
Dr. Stephen Henson
e947f39689
New function X509_cmp().
1999-11-16 00:56:03 +00:00
Mark J. Cox
b7cfcfb7f8
This corrects the reference count handling in SSL_get_session.
...
Previously, the returned SSL_SESSION didn't have its reference count
incremented so the SSL_SESSION could be freed at any time causing
seg-faults if the pointer was subsequently used. Code that uses
SSL_get_session must now make a corresponding SSL_SESSION_free() call when
it is done to avoid memory leaks (or blocked up session caches).
Submitted By: Geoff Thorpe <geoff@eu.c2.net >
1999-11-15 16:31:31 +00:00
Dr. Stephen Henson
06556a1744
'req' fixes. Reinstate length check one request fields.
...
Fix to stop null being added to attributes.
Modify X509_LOOKUP, X509_INFO to handle auxiliary info.
1999-11-14 23:10:50 +00:00
Dr. Stephen Henson
4abc5c624a
Add some examples to the enc man page.
1999-11-14 13:34:34 +00:00
Dr. Stephen Henson
a0e9f529a4
Add support for the 40 and 64 bit RC2 and RC4 ciphers in 'enc'
...
add documentation for 'enc'.
1999-11-14 03:23:17 +00:00
Dr. Stephen Henson
0286d94454
Add info about the header and footer lines used in PEM formats
...
and add an nseq manpage.
1999-11-13 21:58:39 +00:00
Dr. Stephen Henson
938ead8f88
Correct x509 manpaghe and add a crl manpage
1999-11-13 21:28:01 +00:00
Richard Levitte
6828f02c9a
The info removal code was overcomplicated, and error-prone (references being wrongly decreased). Fixed.
1999-11-12 21:51:24 +00:00
Bodo Möller
47d216940c
Avoid deadlock.
1999-11-12 16:20:30 +00:00
Dr. Stephen Henson
01aad2c80a
Add an spkac manual page and fix the pkcs7 manpage.
1999-11-12 14:04:41 +00:00
Richard Levitte
71d7526b72
Avoid some silly compiler warnings, and add the change log I forgot :-)
1999-11-12 03:12:46 +00:00
Richard Levitte
1f575f1b1d
Two changes have been made:
...
1. Added code to the memory leak detecting code to give the user the
possibility to add information, thereby forming a traceback.
2. Make the memory leak detecting code multithread-safe.
The idea is that we're actually dealing with two separate critical
sections, one containing the hash tables with the information, the
other containing the current memory checking mode. Those should not
be handled with the same lock, especially since their handling overlap.
Hence, the added second lock.
1999-11-12 02:51:24 +00:00
Richard Levitte
f18a93ab04
Some crypto applications are now being built on Unix, so they should on VMS as well. Not by default, however.
1999-11-12 02:21:49 +00:00
Richard Levitte
03da458a06
It's possible that considering the configuration file as a binary file
...
works on Unix and MS-DOS/Windows. It does not under VMS, so open it
as text.
1999-11-12 02:19:05 +00:00
Richard Levitte
f48158b854
Avoid silly compiler warnings about functions not being declared and an int missing.
1999-11-12 02:10:23 +00:00
Richard Levitte
b3e1a4c68c
Some new names in asn1.h are longer than 31 chars, which disturbs the VMS C compilers...
1999-11-12 02:04:30 +00:00
Richard Levitte
849c0fe240
Adjust to changes in apps/openssl.cnf
1999-11-12 01:59:47 +00:00
Richard Levitte
ca0e2bc973
Adjust to changes in apps/Makefile.ssl
1999-11-12 01:52:59 +00:00
Richard Levitte
13427e4561
DIFFERENCE doesn't handle long (>255 chars) lines well. Use BACKUP instead. No, I'm not joking.
1999-11-12 01:46:50 +00:00
Richard Levitte
02ab618c97
adjust to changes in test/Makefile.ssl
1999-11-12 01:45:04 +00:00
Richard Levitte
82a2d07262
adjust to changes in test/testssl
1999-11-12 01:43:55 +00:00
Richard Levitte
c96ab5101a
Make sure installed files are world readable
1999-11-12 01:42:59 +00:00
Dr. Stephen Henson
954ef7ef69
Merge some common functionality in the apps, delete
...
the encryption option in the pkcs7 utility (they never
did anything) and add a couple more options to pkcs7.
1999-11-12 01:42:25 +00:00
Dr. Stephen Henson
c4471290c0
Oops forgot the S/MIME v3 RFC.
1999-11-12 01:07:33 +00:00
Dr. Stephen Henson
5e76807bbd
More docs and corrections/updates
1999-11-12 01:04:39 +00:00
Dr. Stephen Henson
af29811edd
Add password command line options to some utils. Fix and update man
...
pages.
1999-11-11 18:41:31 +00:00
Dr. Stephen Henson
53b1899e3c
Fix a couple of outstanding issues: update STATUS file, fix NO_FP_API problems.
...
Update docs, change 'ca' to use the new callback parameter. Now moved key_callback
into app.c because some other utilities will use it soon.
1999-11-11 13:58:41 +00:00
Dr. Stephen Henson
174a4a8c89
Oops. The pkcs8 man page wasn't finished: this is an updated version
1999-11-11 00:48:39 +00:00
Dr. Stephen Henson
aba3e65f2c
Very preliminary POD format documentation for some
...
of the openssl utility commands...
1999-11-10 02:52:17 +00:00
Bodo Möller
0d9cfe1ae7
Undo silly change.
1999-11-09 16:41:52 +00:00
Ben Laurie
95fdc5eef9
Fix (spurious) warnings.
1999-11-09 12:09:24 +00:00
Bodo Möller
5fe2085bba
Avoid some warnings.
1999-11-09 10:00:15 +00:00
Dr. Stephen Henson
a0ad17bb6c
Fix to the -revoke option in ca. It was leaking memory, crashing and just
...
plain not working :-(
Also fix some memory leaks in the new X509_NAME code.
Fix so new app_rand code doesn't crash 'x509' and move #include so it compiles
under Win32.
1999-11-08 13:58:08 +00:00
Dr. Stephen Henson
ce1b4fe146
Allow additional information to be attached to a
...
certificate: currently this includes trust settings
and a "friendly name".
1999-11-04 00:45:35 +00:00
Mark J. Cox
ce2c95b2a2
Fix assembler for Alpha (tested only on DEC OSF not Linux or *BSD). The
...
problem was that one of the replacement routines had not been working since
SSLeay releases. For now the offending routine has been replaced with
non-optimised assembler. Even so, this now gives around 95% performance
improvement for 1024 bit RSA signs.
1999-11-03 14:10:10 +00:00
Ulf Möller
b05eaeb545
*** empty log message ***
1999-10-30 19:09:05 +00:00
Dr. Stephen Henson
9716a8f9f2
Fix to PKCS#7 routines so it can decrypt some oddball RC2 handling.
1999-10-29 13:06:25 +00:00
Dr. Stephen Henson
74400f7348
Continued multibyte character support.
...
Add a bunch of functions to simplify the creation of X509_NAME structures.
Change the X509_NAME_entry_add stuff in req/ca so it no longer uses
X509_NAME_entry_count(): passing -1 has the same effect.
1999-10-27 00:15:11 +00:00
Bodo Möller
62ac293801
Always hash the pid in the first iteration in ssleay_rand_bytes,
...
don't try to detect fork()s by looking at getpid().
The reason is that threads sharing the same memory can have different
PIDs; it's inefficient to run RAND_seed each time a different thread
calls RAND_bytes.
1999-10-26 16:26:48 +00:00
Bodo Möller
c1e744b912
Make md_rand.c more robust.
1999-10-26 14:49:12 +00:00
Bodo Möller
847c52e47f
Warn about RANDFILE being overwritten.
1999-10-26 11:27:42 +00:00
Bodo Möller
99e87569fd
Don't be overly paranoid.
1999-10-26 11:19:42 +00:00
Bodo Möller
640588bbfb
New file app_rand.c with some functionality used in various openssl
...
applications.
1999-10-26 01:59:11 +00:00
Bodo Möller
a31011e8e0
Various randomness handling bugfixes and improvements --
...
some utilities that should have used RANDFILE did not,
and -rand handling was broken except in genrsa.
1999-10-26 01:56:29 +00:00
Bodo Möller
38899535f8
Report an error from X509_STORE_load_locations
...
when X509_LOOKUP_load_file or X509_LOOKUP_add_dir failed.
1999-10-26 01:52:16 +00:00
Bodo Möller
b6b1f0d0aa
Update Borland C++ builder support.
...
Submitted by: Janez Jere <jj@void.si >
1999-10-25 21:38:43 +00:00
Bodo Möller
798757762a
Improve support for running everything as a monolithic application.
...
Submitted by: Lennart Bång, Bodo Möller
1999-10-25 19:36:01 +00:00
Bodo Möller
a5fcd09e75
Respect PEX_LIBS and EX_LIBS when building binaries
...
(needed for RSAREF builds)
1999-10-25 19:28:38 +00:00
Dr. Stephen Henson
f769ce3ea4
More multibyte character support.
...
Functions to get keys from EVP_PKEY structures.
1999-10-25 02:00:09 +00:00
Ben Laurie
042a93e443
Constification.
1999-10-23 09:30:09 +00:00
Ben Laurie
cbb448c945
Don't return stuff from void functions.
1999-10-23 09:19:42 +00:00
Dr. Stephen Henson
462f79ec44
New function ASN1_mbstring_copy() to handle ASN1 string copying. Ultimately
...
this will be used to clear up the horrible DN mess.
1999-10-21 13:20:49 +00:00
Dr. Stephen Henson
08e9c1af6c
Replace the macros in asn1.h with function equivalents. Also make UTF8Strings
...
tolerated in certificates.
1999-10-20 01:50:23 +00:00
Bodo Möller
023c8d0b0a
Use of DEVRANDOM must be #ifdef'ed (the #ifdef was commented out
...
between SSLeay 0.8.1b and 0.9.0b with no apparent reason).
If we *want* an error when DEVRANDOM is not defined (it always is with
the current e_os.h) we should use #error.
1999-10-14 17:31:53 +00:00
Dr. Stephen Henson
673b102c5b
Initial support for certificate purpose checking: this will
...
ultimately lead to certificate chain verification. It is
VERY EXPERIMENTAL at present though.
1999-10-13 01:11:56 +00:00
Dr. Stephen Henson
56a3fec1b1
Add EX_DATA support to X509.
...
Fix a bug in the X509_get_d2i() functions which didn't check if crit was NULL.
1999-10-11 01:30:04 +00:00
Dr. Stephen Henson
4654ef985b
New functions to parse and get extensions.
1999-10-09 02:54:10 +00:00
Ulf Möller
0b62b30233
More patches.
1999-10-07 16:58:08 +00:00
Andy Polyakov
7e102e28e1
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:10:26 +00:00
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
Dr. Stephen Henson
def38e38ec
Fix incorrect usage messages in some commands.
1999-10-06 22:59:21 +00:00
Dr. Stephen Henson
d71c6bc5a4
Fix for bug in pkcs12 program and typo in ASN1_tag2str().
1999-10-05 13:10:21 +00:00
Dr. Stephen Henson
2d681b779c
Fix for bug in pkcs12 program and typo in ASN1_tag2str().
1999-10-05 12:57:50 +00:00
Dr. Stephen Henson
3908cdf442
New option -dhparam to s_server to allow the DH parameter file to be set
...
explicitly. Previously it couldn't be changed because it was hard coded as
"server.pem".
1999-10-04 23:56:06 +00:00
Dr. Stephen Henson
3ea23631d4
Add support for public key input and output in rsa and dsa utilities with some
...
new DSA public key functions that were missing.
Also beginning of a cache for X509_EXTENSION structures: this will allow them
to be accessed more quickly for things like certificate chain verification...
1999-10-04 21:17:47 +00:00
Dr. Stephen Henson
393f2c651d
Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed message
...
contains no certificates.
Also fix typo in RANLIB changes.
1999-10-04 12:08:59 +00:00
Ralf S. Engelschall
f846335657
Add prototypes for new DSA functions Steve added recently.
1999-10-04 10:55:04 +00:00
Bodo Möller
2b024cd242
Pass $(RANLIB) when doing "make install" in subdirectories;
...
rsaref needs ist.
Submitted by: Will Day
1999-10-03 22:50:01 +00:00
Ben Laurie
18c77bf29e
Fix warnings.
1999-10-03 18:09:45 +00:00
Dr. Stephen Henson
4579dd5dc6
Fix for base64 BIO decoding bug
1999-10-02 13:33:06 +00:00
Dr. Stephen Henson
c91e125934
Modify the 'speed' application so it now uses RSA_sign and RSA_verify
...
instead of RSA_private_encrypt and RSA_public_decrypt
1999-10-02 01:18:19 +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
de808df47b
Cosmetic changes.
1999-09-29 22:14:47 +00:00
Ulf Möller
8e1589ece5
VC++ warning.
1999-09-29 22:11:06 +00:00
Ulf Möller
49e747e670
Generate obj_dat.h in "make update".
1999-09-29 21:03:02 +00:00
Bodo Möller
39b30b6ab7
"make update"
1999-09-27 15:12:30 +00:00
Bodo Möller
e405b8d120
new control code BIO_C_RESET_READ_REQUEST
1999-09-27 13:43:59 +00:00
Andy Polyakov
6cc4ee03df
RC4 tune-up.
...
See comments in the code (after #if defined(RC4_CHUNK)) for more details.
1999-09-26 12:47:17 +00:00
Bodo Möller
8569c322be
Fix typo in error message.
...
Submitted by: Alan Batie
1999-09-25 11:26:31 +00:00
Bodo Möller
dd73193c83
Honor BUFSIZZ definition in s_server, don't use tiny 32 byte
...
buffer (which leads to truncation of client cipher list).
1999-09-25 11:24:53 +00:00
Bodo Möller
4ad378ea43
Bugfix: avoid opening CAfile when it's NULL.
1999-09-24 20:27:20 +00:00
Bodo Möller
0ca6d7c6b1
Use a temporary file, not a pipe, for BN test because there are some
...
broken bc's around.
1999-09-24 20:25:34 +00:00
Bodo Möller
0f7e6fe10c
Fix typo that I introduced when reformatting lines.
1999-09-24 20:24:24 +00:00
Ben Laurie
ca7fea9656
Fix warnings.
1999-09-24 19:10:57 +00:00
Ulf Möller
eb02599870
More patches.
...
(Are there any others that have been submitted but not yet reviewed/integrated?)
1999-09-21 17:19:05 +00:00
Bodo Möller
f4e723f3e7
typo
1999-09-21 14:03:20 +00:00
Bodo Möller
96c2201bef
Keep line lengths < 80 characters.
1999-09-21 13:33:15 +00:00
Ulf Möller
cd357c75b2
note a few things that need to be done
1999-09-20 23:34:01 +00:00
Dr. Stephen Henson
06f4536a61
Fix to make s_client and s_server work under Windows. A bit of a hack but
...
an improvement on not working at all.
1999-09-20 22:09:17 +00:00
Dr. Stephen Henson
bf1966354a
Lots of evil casts to stop VC++ choking with "possible loss of data"
...
warnings :-(
1999-09-19 00:40:56 +00:00
Dr. Stephen Henson
1c80019a2c
Add new sign and verify members to RSA_METHOD and change SSL code to use sign
...
and verify rather than direct encrypt/decrypt.
1999-09-18 22:37:44 +00:00
Dr. Stephen Henson
090d848ea8
Various CRL enhancements tidies and workaround for broken CRLs.
1999-09-18 01:42:02 +00:00
Bodo Möller
9a0f732d75
Document -startdate and -enddate in usage summary.
1999-09-17 16:35:29 +00:00
Dr. Stephen Henson
d79812b0fa
Fix typo.
1999-09-15 21:12:23 +00:00
Bodo Möller
0d3118bed3
Update dependencies.
1999-09-14 15:07:22 +00:00
Bodo Möller
4dd60b3b96
typo in a comment
1999-09-14 15:06:25 +00:00
Bodo Möller
d0f2876c3f
Add some debug-solaris-...-cc configurations.
1999-09-14 15:05:45 +00:00
Bodo Möller
ac7da00048
Set s->version correctly for "natural" SSL 3.0 client hello
1999-09-13 13:02:07 +00:00
Andy Polyakov
17f389bbbf
Initial support for MacOS.
...
This will soon be complemented with MacOS specific source code files and
INSTALL.MacOS.
I (Andy) have decided to get rid of a number of #include <sys/types.h>.
I've verified it's ok (both by examining /usr/include/*.h and compiling)
on a number of Unix platforms. Unfortunately I don't have Windows box
to verify this on. I really appreciate if somebody could try to compile
it and contact me a.s.a.p. in case a problem occurs.
Submitted by: Roy Wood <roy@centricsystems.ca >
Reviewed by: Andy Polyakov <appro@fy.chalmers.se >
1999-09-11 17:54:18 +00:00
Bodo Möller
5bdae1675c
Fix yet another bug for client hello handling.
1999-09-11 10:36:41 +00:00
Bodo Möller
cb0369d885
Repair another bug in s23_get_client_hello:
...
tls1 did not survive to restarts, so get rid of it.
1999-09-10 16:41:01 +00:00
Ulf Möller
778f1092dd
Parantheses not needed.
1999-09-10 16:13:24 +00:00
Bodo Möller
5671876d1d
"make update"
1999-09-10 15:34:55 +00:00
Bodo Möller
6f7af1524e
Use non-copying BIO interface in ssltest.c.
1999-09-10 14:03:21 +00:00
Bodo Möller
ac3e3cdc96
typo
1999-09-10 13:25:25 +00:00
Ulf Möller
953ad1bc10
Correction for the testapps lines.
1999-09-10 11:44:52 +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
Ben Laurie
d680ba8617
Correct warnings.
1999-09-09 20:15:17 +00:00
Bodo Möller
396f631458
some more patches for avoiding problems with non-automatic variables
1999-09-08 21:58:13 +00:00
Dr. Stephen Henson
0d64ea89f7
Fix typo.
1999-09-08 20:01:28 +00:00
Dr. Stephen Henson
c1cd88a0eb
Oops... forgot the other RSA_NULL patches...
1999-09-08 18:19:45 +00:00
Dr. Stephen Henson
4a61a64f50
This is preliminary support for an "RSA null" cipher. Unfortunately when
...
OpenSSL is compiled with NO_RSA, no RSA operations can be used: including
key generation storage and display of RSA keys. Since these operations are
not covered by the RSA patent (my understanding is it only covers encrypt,
decrypt, sign and verify) they can be included: this is an often requested
feature, attempts to use the patented operations return an error code.
This is enabled by setting RSA_NULL. This means that if a particular application
has its own legal US RSA implementation then it can use that instead by setting
it as the default RSA method.
Still experimental and needs some fiddling of the other libraries so they have
some options that don't attempt to use RSA if it isn't allowed.
1999-09-08 18:02:25 +00:00
Ulf Möller
6882a96446
Use proper flags to build the testapps (default CC value causes confusion
...
on Solaris)
1999-09-08 16:14:52 +00:00
Bodo Möller
c1082a90bb
Non-copying interface to BIO pairs.
...
It's still totally untested ...
1999-09-07 21:37:09 +00:00
Ulf Möller
b7d7440cf5
Correct address in a comment.
1999-09-07 17:07:45 +00:00
Ulf Möller
9bb2560cf7
*** empty log message ***
1999-09-07 17:07:13 +00:00
Ulf Möller
b82ccbb7a0
Check the as version on Solaris x86. People don't read INSTALL anyway. :)
1999-09-07 16:45:04 +00:00
Dr. Stephen Henson
a785abc324
New function to convert ASN1 tag values to strings. Also fix typo in asn1.h
1999-09-07 12:16:29 +00:00
Ben Laurie
092ec334f0
Fix warnings.
1999-09-06 11:06:54 +00:00
Ben Laurie
232616efce
Fix warnings.
1999-09-06 09:29:29 +00:00
Bodo Möller
a32640b0f4
Reinitialize conf to NULL whenver ca application is started.
...
Submitted by: Lennart Bang
1999-09-05 20:53:08 +00:00
Andy Polyakov
69fb1c3f9d
SHA clean-up Intel assembler companion.
...
I've chosen to nest two functions in order to save about 4K. As a result
s1-win32.asm doesn't look right (nested PROC/ENDP SEGMENT/ENDS) and it's
probably impossible to compile. I assume I have to reconsider... But not
today...
1999-09-05 14:17:42 +00:00
Andy Polyakov
7f7c318cfc
SHA clean-up and (LP64) tune-up.
...
"Clean-up" stands for the fact that it's using common message digest
template ../md32_common.h and sha[1_]dgst.c are reduced down to
'#define SHA_[01]' and then '#include "sha_locl.h"'. It stands "(LP64)"
there because it's 64 bit platforms which benefit most from the tune-up.
The updated code exhibits 40% performance improvement on IRIX64
(sounds too good, huh? I probably should double check if it's not
some cache trashing that was holding it back before), 28% - on
Alpha Linux and 12% - Solaris 7/64.
1999-09-05 12:42:04 +00:00
Dr. Stephen Henson
aef838fc95
New UTF8 utility functions to parse/generate UTF8 strings.
1999-09-04 17:19:55 +00:00
Bodo Möller
b74ba295da
Reinitialize global variables when necessary (for monolith application).
1999-09-03 23:08:45 +00:00
Bodo Möller
ba3a6e7262
use explicit constant 11 just once
1999-09-03 22:37:38 +00:00
Bodo Möller
f70df1b887
Make previous bugfix actually work
1999-09-03 16:49:11 +00:00
Bodo Möller
074309b7ee
Fix server behaviour when facing backwards-compatible client hellos.
1999-09-03 16:33:11 +00:00
Bodo Möller
77fa04a9bc
-no_dhe option for ssltest.c
1999-09-03 16:31:36 +00:00
Bodo Möller
497cc4b35e
Use closesocket macro consistently, not close directly, for easier
...
portability.
Submitted by: Lennart Bång
1999-09-03 14:06:09 +00:00
Bodo Möller
1e4149350c
Handle "#if 0" correctly (I hope)
1999-09-03 13:30:47 +00:00
Dr. Stephen Henson
8ce97163a2
Add new 'spkac' utility and several SPKAC utility functions.
1999-09-03 01:08:34 +00:00
Dr. Stephen Henson
ac8b4ee04a
Make DH_free() free up any ex_data and also call the finish method.
1999-09-01 23:50:43 +00:00
Andy Polyakov
2d4287da34
RIPEMD160 shape-up. Final touch.
1999-08-28 13:18:25 +00:00
Andy Polyakov
2d0c55eda2
RIPEMD160 shape-up Intel assembler companion. Cycle counter benchmarks
...
went down from 1050 to 921 cycles on Pentium II. I haven't checked the
figures on Pentium yet.
1999-08-28 13:07:51 +00:00
Andy Polyakov
28e0be13f6
RIPEMD160 shape-up. Major news are that it's operational on all platforms
...
now and I'm putting it back to 'make test' later today.
1999-08-28 12:55:45 +00:00
Ulf Möller
b357e95cc4
make testapps after the library.
1999-08-28 12:50:48 +00:00
Andy Polyakov
1cbde6e4fa
md32_common.h update and accompanying MD5 update.
1999-08-28 12:41:03 +00:00
Dr. Stephen Henson
87a25f9032
Allow the extension section specified in config files to be overridden
...
on the command line for various utilities.
1999-08-27 00:08:17 +00:00
Dr. Stephen Henson
f9150e5421
Allow the 1.OU="my OU" syntax in 'ca' for SPKACs.
1999-08-25 23:18:23 +00:00
Dr. Stephen Henson
c79b16e11d
Allow extensions to be added to certificate requests, update the sample
...
config file (change RAW to DER).
1999-08-25 16:59:26 +00:00
Ulf Möller
43ca6c02dc
make update.
1999-08-24 17:45:16 +00:00
Andy Polyakov
0bbd03525e
Minor MIPS III/IV tune-up.
1999-08-24 16:02:16 +00:00
Dr. Stephen Henson
7b65c3298f
Fix for a bug which meant encrypting BIOs sometimes wouldn't read the final
...
block.
1999-08-24 13:21:35 +00:00
Dr. Stephen Henson
13066cee60
Initial support for DH_METHOD. Also added a DH lock. A few changes made to
...
DSA_METHOD to make it more consistent with RSA_METHOD.
1999-08-23 23:11:32 +00:00
Dr. Stephen Henson
c0711f7f0f
Initial support for DSA_METHOD...
1999-08-22 17:57:38 +00:00
Dr. Stephen Henson
8484721adb
Allow memory bios to be read only and change PKCS#7 routines to use them.
1999-08-19 13:07:43 +00:00
Bodo Möller
de1915e48c
Fix horrible (and hard to track down) bug in ssl23_get_client_hello:
...
In case of a restart, v[0] and v[1] were incorrectly initialised.
This was interpreted by ssl3_get_client_key_exchange as an RSA decryption
failure (don't ask me why) and caused it to create a _random_ master key
instead (even weirder), which obviously led to incorrect input to
ssl3_generate_master_secret and thus caused "block cipher pad is
wrong" error messages from ssl3_enc for the client's Finished message.
Arrgh.
1999-08-18 17:14:42 +00:00
Bodo Möller
6e4a3b5529
Really undo the base64 change so that make test survives
1999-08-18 16:42:27 +00:00
Dr. Stephen Henson
c6c3450643
Fix PKCS7_ENC_CONTENT_new() to include a sensible default content type and add
...
support for encrypted content type in PKCS7_set_content().
1999-08-17 12:58:01 +00:00
Bodo Möller
2cfa692136
Return 0 for succesful exit when -noout is used.
1999-08-17 08:33:59 +00:00
Ulf Möller
364836ca1c
Undo base64 decoding change (was not a bug fix).
1999-08-14 20:49:37 +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
2b7af70139
Fix faulty base64 decoding of data that was 46 or 47 bytes long.
...
Submitted by: Ivan Nejgebauer <ian@uns.ns.ac.yu >
1999-08-13 19:42:33 +00:00
Ulf Möller
1bf0b46b13
Add pkcs7 and des apps to "make all".
1999-08-13 19:21:53 +00:00
Ulf Möller
27ad06a627
Compile pkcs7 and des apps.
1999-08-13 18:04:04 +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
Bodo Möller
99cc4f075c
Remove -DWINDOWS in debug configuration.
...
Submitted by: Erik Johannisson <erik@johannisson.se >
1999-08-12 10:03:05 +00:00
Bodo Möller
690233bccc
Submitted by: Lidong Zhou <ldzhou@cs.cornell.edu>
1999-08-11 13:31:03 +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
Bodo Möller
8b94634428
Fix typo.
1999-08-11 08:28:40 +00:00
Bodo Möller
019a7aba4a
Updates.
...
Prototypes and constant declarations for non-copying reads and writes for
BIO pairs (which is totally untested as of now, so I don't yet commit
the actual source code, but reserve the numbers to avoid conflicts).
1999-08-10 11:36:22 +00:00
Dr. Stephen Henson
87c49f622e
Support for parsing of certificate extensions in PKCS#10 requests: these are
...
used by things like Xenroll. Also include documentation for extendedKeyUsage
extension.
1999-08-09 22:38:05 +00:00
Bodo Möller
29159a42d2
BIO_write and BIO_read could, in theory, return -2.
1999-08-09 16:33:34 +00:00
Bodo Möller
1b1a6e7808
-crlf option.
1999-08-09 13:01:48 +00:00
Bodo Möller
385be6eb20
Provide fixed seed for parameter generation to speed up -dhe1024.
1999-08-09 12:59:10 +00:00
Ralf S. Engelschall
d91e201e96
Bump after tarball rolling.
...
Friends, feel free to start again hacking for 0.9.5... ;)
1999-08-09 11:14:08 +00:00
Ralf S. Engelschall
2c720c746b
Bump version to 0.9.4
1999-08-09 10:40:38 +00:00
Ralf S. Engelschall
be1027e108
Ok, I'll do a few more final platform tests and then I'll roll the 0.9.4
...
tarball baby for us. PLEASE DO NOT COMMIT ANYTHING UNTIL YOU SEE MY FINAL
COMMITS TO `STATUS' INDICATING THAT WE'VE REACHED 0.9.5-dev.
1999-08-09 10:25:36 +00:00
Ralf S. Engelschall
447174741c
Ok, final fix for `config' script to detect all flavors of FreeBSD
...
in a more general way.
1999-08-09 10:16:51 +00:00
Bodo Möller
9a577e29e8
spelling
1999-08-08 22:41:24 +00:00
Ralf S. Engelschall
dfbaf95618
Install libRSAglue.a when OpenSSL is build with RSAref.
...
This should now finally make the RSAref users happy...
1999-08-08 19:12:26 +00:00
Bodo Möller
204cf1abb0
Comments.
1999-08-08 14:21:04 +00:00
Bodo Möller
5e63691972
add comments
1999-08-08 14:07:30 +00:00
Bodo Möller
a9642be663
more consistent formatting
1999-08-08 14:06:29 +00:00
Dr. Stephen Henson
f1e3dc2284
*** empty log message ***
1999-08-08 12:51:19 +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
Bodo Möller
6368c8b7d6
0.9.4
1999-08-08 11:45:56 +00:00
Ralf S. Engelschall
1d5edd0882
Fix two remaining prototype-related warnings
1999-08-08 11:25:32 +00:00
Ralf S. Engelschall
246528ae56
Remove the perl stuff also optically from the build procedure,
...
because it could confuse people (which then send us bug reports)...
1999-08-08 10:29:52 +00:00
Ralf S. Engelschall
670fc9d2f0
Let us prepare for tomorrow...
1999-08-08 10:25:50 +00:00
Ralf S. Engelschall
ab3f0c6658
I don't think this is a real showstopper. Our internal verify procedure lacks
...
even more and I consider this more a useful feature request than a release
showstopper.
1999-08-08 10:19:48 +00:00
Ralf S. Engelschall
9639515871
A few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.
...
Hint from: Andrija Antonijevic <TheAntony2@bigfoot.com >
1999-08-08 10:15:43 +00:00
Ralf S. Engelschall
5a97a0b6e4
consistent style
1999-08-08 09:39:43 +00:00
Bodo Möller
1bdb8633c1
New option "-crlf" to s_client and s_server which tells them to convert
...
LFs into CRLFs when forwarding data from stdin to the TLS connection.
This is necessary for properly talking HTTP.
Because of the code freeze this change is by default disabled for now;
without -DAPPS_CRLF, the code is exactly as before.
1999-08-07 02:51:10 +00:00
Bodo Möller
c97cbcb35b
add some more entries for 0.9.4
1999-08-07 02:46:49 +00:00
Bodo Möller
9918762413
change formatting a bit
1999-08-07 02:45:31 +00:00
Dr. Stephen Henson
ed7f60fbf9
Fix -startdate and -enddate arguments to 'ca' program. Also update NEWS file
...
with some 0.9.4 changes.
1999-08-06 21:47:09 +00:00
Bodo Möller
a12258fcd2
fix the bug
1999-08-06 12:27:39 +00:00
Bodo Möller
e42979f2c5
Dont' assume that something starting with '-' is a filename --
...
"openssl gendsa -help" now prints the usage summary, not error
messages that now file -help was found.
1999-08-06 11:18:44 +00:00
Ralf S. Engelschall
b1816a0408
typo while I poke around...
1999-08-05 13:31:42 +00:00
Bodo Möller
1a677f7aea
DSA_dup_DH.
1999-08-05 11:53:07 +00:00
Bodo Möller
48c843c367
New function DSA_dup_DH, and fixes for bugs that were found
...
while implementing and using it.
1999-08-05 11:50:18 +00:00
Bodo Möller
90f14e251e
Add a wish.
1999-08-05 00:15:15 +00:00
Dr. Stephen Henson
e9185df40e
Change all the -'s to _'s.
1999-08-05 00:11:05 +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
5067cce541
improve clarity of instructions
1999-08-03 20:19:04 +00:00
Bodo Möller
41a6fdea80
0.9.4 won't be completed in July ...
1999-08-03 12:24:14 +00:00
Ben Laurie
ab8f6b415f
More diagnostics.
1999-08-03 10:19:02 +00:00
Ben Laurie
97e84e38df
Make it compile under -pedantic.
1999-08-03 10:18:27 +00:00
Bodo Möller
316d5cdc85
comment
1999-08-03 08:31:13 +00:00
Bodo Möller
4c8319c0f5
Revert erroneous change.
1999-08-03 06:05:54 +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
2b8e4959fb
generate error message
1999-08-02 21:41:46 +00:00
Bodo Möller
f3e67ac1bc
fix previous modification -- if ssl->cert is NULL, don't follow the pointer.
1999-08-02 20:09:23 +00:00
Bodo Möller
927ddaffeb
avoid cast
1999-08-02 19:55:51 +00:00
Bodo Möller
a63a3f58fd
The SSL_CTX's cert structure is not relevant for the SSL
...
(because now SSL_new makes a copy).
1999-08-02 18:40:36 +00:00
Bodo Möller
f3db3d172f
SSL_shutdown was done too early.
1999-08-01 11:19:59 +00:00
Bodo Möller
e014492646
don't prematurely shut down socket -- use SSL_shutdown
1999-08-01 10:04:37 +00:00
Andy Polyakov
4c22909e31
Extra i386+gcc bn_div.c tune-up featuring inline division and saving
...
the remainder left in %edx. Here is the resulting performance improvement
matrix (improvement as a result of this *and* previous tune-up committed
two days ago). The results were obtained by profiling the "div" part of
the crypto/bn/bnspeed.c.
CPU BN_div bn_div_words overall comment
------------------------------------------------------------------------
PII +16% accumulated by +2-3% PII multiplies damn fast! Taking
inlining multiplication out of the loop
didn't make too much difference.
Eliminating of the multiplication
involved in remainder calculation
is the major factor.
Pentium +45% accumulated by +7-9% mull isn't that fast and replacing
inlining multiplications with additions in
the loop has more visible effect:-)
MIPS +75% +12% +20-25% In addition to the taking mults
R10000 out of the loop (giving 12% in the
asm/mips3.s) three mults were
eliminated in BN_div.
Alpha +30% +50% +10-15% Same as above. But remember that
EV4 bn_div_words is a C implementation.
It takes 4 Alpha mults in C to do
the same thing as 1 MIPS mult in
assembler does. So the effect (50%)
is more impressive. But not the
overall one... Well, if Alpha
bn_mul_add would be implemented
in assembler overall improvement
would be closer to MIPS...
1999-07-31 23:27:41 +00:00
Bodo Möller
8d85b33eb5
by request: let BN_dup(NULL) just return NULL
1999-07-30 19:22:57 +00:00
Andy Polyakov
0dd25e3606
Bignum division tune-up. Idea is to move multiplications in front of
...
loop body and replace 'em with addition/subtraction.
1999-07-30 11:43:43 +00:00
Bodo Möller
a40f6dce87
correct error signalling for opendir() failure
1999-07-30 10:43:34 +00:00
Dr. Stephen Henson
08dbdb85ee
Fix to PKCS#12 code to use the cipher block length when allocating a buffer
...
for encrypted data, rather than hard coding '8'.
1999-07-30 10:11:21 +00:00
Dr. Stephen Henson
922180d794
Allow the PKCS#7 (S/MIME encrypt) application to support more than one
...
recipient.
1999-07-30 01:12:46 +00:00
Dr. Stephen Henson
12ea44704a
Tidy up pkcs12 application.
1999-07-29 21:50:34 +00:00
Ulf Möller
4320afe3be
Avoid path separator problems.
1999-07-29 17:27:29 +00:00
Ulf Möller
fd556cbfb6
No use in naming the cblock _; the structure still is incompatible
...
to Kerberos.
1999-07-29 16:15:48 +00:00
Ulf Möller
4f75a6e574
*** empty log message ***
1999-07-29 14:43:51 +00:00
Ulf Möller
7463ca9acc
obj_dat.h is autogenerated (it was in the CVS because old versions of
...
Configure didn't generate the file in Windows builds).
1999-07-29 14:10:20 +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
Ulf Möller
37b7185b5d
Restore compability with kerberos/des.h (I had deleted some seemingly useless
...
definitions such as C_Block earlier).
1999-07-29 00:09:49 +00:00
Ulf Möller
8c197cc55e
VMS updates.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se >
1999-07-28 23:25:59 +00:00
Dr. Stephen Henson
3e3d2ea2fc
New function OBJ_obj2txt()
1999-07-27 22:22:58 +00:00
Dr. Stephen Henson
770d19b862
New RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.
1999-07-27 21:58:08 +00:00
Andy Polyakov
5965902e6e
when invoking bn_*_comba[48] result->top wasn't always set correctly.
1999-07-27 09:36:59 +00:00
Bodo Möller
7fbd8db184
close files.
1999-07-27 09:13:49 +00:00
Bodo Möller
2e0fc87599
Use correct CFLAG definition for makefile.one builds.
1999-07-27 09:10:36 +00:00
Bodo Möller
488c06579e
change CFLAGS to those given in Configure
1999-07-26 12:59:02 +00:00
Bodo Möller
9715f4786d
-DPLATFORM and -DCFLAGS command line arguments are no longer used.
1999-07-26 11:56:18 +00:00
Bodo Möller
96821cedd7
summary of Andy's changes to Configure
1999-07-25 23:41:16 +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
6841fb0d1e
Minor MD5 tune-up for WIN32 on Intel.
1999-07-25 15:25:30 +00:00
Andy Polyakov
a0618e3e5e
Added support for SPARC Linux.
1999-07-25 15:13:49 +00:00
Andy Polyakov
ccb8a026c0
GNU assembler (read SPARC Linux) support added.
1999-07-25 14:07:48 +00:00
Andy Polyakov
fccbb9b34f
- performance retunes, v8plus bn_*_comba routines are reimplemented;
...
- support for GNU assembler (read SPARC Linux);
1999-07-25 12:34:30 +00:00
Ralf S. Engelschall
15a4b40c7f
First cut for a proposed code freeze and release dates (from Steve and me).
...
All OpenSSL developers: Please feel free to adjust the dates if they still do
not fit into your personal scheduling.
1999-07-25 12:19:02 +00:00
Bodo Möller
f66c303201
Don't include x509.h when we just need asn1.h
1999-07-24 03:09:01 +00:00
Ulf Möller
40e29b1976
Remove obsolete files.
1999-07-22 21:57:41 +00:00
Bodo Möller
22341d4085
ignore r586unix.cpp
1999-07-22 16:23:54 +00:00
Bodo Möller
cad4e62b24
date.h no longer to be deleted by "make clean"
1999-07-22 16:22:11 +00:00
Ulf Möller
49b8142262
Make the perl module compile and eliminate some of the warnings.
...
Still doesn't work (the destructor on BIO and SSL is called immediately
after creating the object. Why that??)
1999-07-22 16:10:31 +00:00
Bodo Möller
f0e8ae723c
Torture weak compilers less by not automatically including x509.h where
...
it is not needed.
1999-07-21 22:10:23 +00:00
Bodo Möller
93c106c4b9
additional argument for key_callback
1999-07-21 22:07:35 +00:00
Bodo Möller
74678cc2f8
Additional user data argument to pem_password_cb function type
...
and to lots of PEM_... functions.
Submitted by: Damien Miller <dmiller@ilogic.com.au >
1999-07-21 20:57:16 +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
Bodo Möller
16bc9fea4d
slight clean-up
1999-07-21 20:47:51 +00:00
Bodo Möller
ae6767430e
Auto-generated file -- this should not be under version control
...
(and the other */asm/*.cpp files are not)
1999-07-21 20:47:19 +00:00
Andy Polyakov
cea538154b
Get rid of redundant multiplications in bn_div_words.
1999-07-21 13:53:01 +00:00
Bodo Möller
5f12fc006e
"make TABLE" (to follow recent Configure change)
1999-07-20 17:46:32 +00:00
Andy Polyakov
7363455fac
MIPS III/IV assembler module is reimplemented.
1999-07-20 15:50:20 +00:00
Andy Polyakov
eaccfe8b29
crypto/bn/asm/mips3.s is moved to crypto/bn/asm/obsolete/
1999-07-20 13:43:26 +00:00
Andy Polyakov
d2759c2135
crypto/bn/asm/mips3.s is obsolete. I'm moving it to crypto/bn/asm/obsolete
...
in order to replace it with a new version.
1999-07-20 13:40:02 +00:00
Bodo Möller
9c962484fe
SSL_MODE_ENABLE_PARTIAL_WRITE and SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
...
work as intended, both for SSLv2 and TLS.
1999-07-19 12:59:12 +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
Bodo Möller
dc347119e6
"make clean" has to delete date.h
1999-07-17 15:17:14 +00:00
Ulf Möller
6434450cd6
DES library changes.
1999-07-16 00:50: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
Ulf Möller
cfa3747ba9
More DES library cleanups: remove references to srand/rand
...
and delete an unused file.
1999-07-15 23:47:02 +00:00
Ulf Möller
4f6235f701
RSA private keys without dmp1/dmq1/iqmp are also valid (but slower).
1999-07-15 23:45:04 +00:00
Ulf Möller
9a3bbbce91
NO_HMAC.
1999-07-15 23:44:04 +00:00
Bodo Möller
c69e361f1c
Fix option processing.
...
Submitted by: Sam Tetherow
1999-07-14 18:37: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
Dr. Stephen Henson
924154d9f2
Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
...
unnecessary cast.
1999-07-13 00:00:05 +00:00
Dr. Stephen Henson
b617a5be59
Continues NASM support. This might work now. Its still experimental but it
...
passes all the tests. Added documentation in INSTALL.W32.
1999-07-12 23:35:10 +00:00
Bodo Möller
7eea36bb48
cosmetic changes
1999-07-12 18:50:34 +00:00
Dr. Stephen Henson
bbdb543844
More NASM support code it still doesn't work but it doesn't work less than it
...
didn't work before :-)
1999-07-12 18:12:43 +00:00
Bodo Möller
5059658219
fix memory leak in s3_clnt.c
1999-07-12 17:15:42 +00:00
Bodo Möller
d9f0016bc5
typo in string
1999-07-12 16:46:28 +00:00
Bodo Möller
6b521df33c
Looks like another memory leak ...
1999-07-12 15:20:08 +00:00
Dr. Stephen Henson
72e2ffee20
Beginnings of experimental support for NASM assembler. This is a free
...
assembler for various X86 platforms including Win32. It can output object files
that VC++ will tolerate so it could be used to provide assembly language support
to Win32 without the need for MASM.
This is preliminary stuff: it doesn't even work yet.
1999-07-12 12:33:16 +00:00
Bodo Möller
3a55fc1aab
correct error handling
...
insert spaces in products that occur in error codes
1999-07-12 09:46:34 +00:00
Bodo Möller
8735ee6f5d
typo
1999-07-11 22:06:54 +00:00
Bodo Möller
6519b2cb92
New function RSA_check_key.
1999-07-11 22:01:41 +00:00
Bodo Möller
03cd49447f
New function RSA_check_key,
...
openssl rsa -check
1999-07-11 22:00:55 +00:00
Dr. Stephen Henson
f598cd13a3
Various changes to stop VC++ choking under Win32.
1999-07-11 17:09:04 +00:00
Dr. Stephen Henson
f513939ebb
Add a debugging option to PKCS#5 v2.0 key generation function.
1999-07-11 12:40:46 +00:00
Dr. Stephen Henson
0ab8beb480
Copy flags in ASN1_STRING_dup()
1999-07-11 12:30:55 +00:00
Dr. Stephen Henson
f7daafa442
Fix a bug in x509.c that omitted DSA parameters when they didn't match the
...
signers parameters. Changed it to never omit parameters.
1999-07-11 01:48:21 +00:00
Dr. Stephen Henson
f8be08d200
SXnet code was freeing up the extension data rather than the temporary
...
zone number.
1999-07-10 12:48:31 +00:00
Bodo Möller
777ab7e611
Fix memory checking.
1999-07-09 16:27:30 +00:00
Ulf Möller
a026fd201f
Obsolete/experimental code.
1999-07-09 15:23:11 +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
975d3dc2ca
remove editing artifacts
1999-07-09 13:02:14 +00:00
Bodo Möller
6888f2b35c
Mention modification to Configure.
1999-07-09 12:01:40 +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
Bodo Möller
1489ccf695
Updated to reflect recent "Configure" modification.
1999-07-09 11:30:20 +00:00
Ulf Möller
11302c699d
Broken HPUX cc.
1999-07-09 01:17:51 +00:00
Bodo Möller
5685dcd445
improve readability of #if conditions (ELF, if defined, supersedes BSDI
...
[which we don't really define if ELF is defined, but who knows])
1999-07-06 17:28:29 +00:00
Bodo Möller
c91b5c717c
avoid confliction definitions of NDEBUG
1999-07-05 11:01:16 +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
11b1adadbd
typo
1999-07-02 17:52:21 +00:00
Bodo Möller
1afd8b3942
typo
1999-07-02 14:23:33 +00:00
Bodo Möller
e105643595
New functions SSL[_CTX]_{set,get}_mode; the initial set of mode flags is
...
SSL_MODE_ENABLE_PARTIAL_WRITE, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER.
1999-07-02 13:55:32 +00:00
Bodo Möller
e0371fe4dc
Don't use ...-oldgcc for egcs compiler.
1999-07-02 13:38:17 +00:00
Ulf Möller
5271ebd9a3
More no-xxx option tweaks.
1999-06-30 00:42:56 +00:00
Ulf Möller
5676d8cb76
Fix no-hmac and no-ripemd.
1999-06-29 23:52:08 +00:00
Dr. Stephen Henson
ce8b257413
New functions to allow RSA_METHODs to be changed without poking round in
...
RSA structure internals.
1999-06-29 22:22:42 +00:00
Ulf Möller
e371828067
Use "long long" for all Win32 gcc ports.
1999-06-28 16:17:38 +00:00
Bodo Möller
7722424462
With mingw32, use "long long" rather than "_int64" (the latter does
...
not work, at least the package mentioned in INSTALL.W32 does not know
about it).
1999-06-28 14:38:31 +00:00
Bodo Möller
a14d1a03ec
Fix comments.
...
Submitted by: Anonymous
1999-06-28 12:14:06 +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
Bodo Möller
2765813cf6
Update TABLE.
1999-06-25 21:33:51 +00:00
Bodo Möller
9c729e0a6d
Memory leak checks.
1999-06-25 14:04:10 +00:00
Bodo Möller
baac3b4b5f
Close another memory hole.
1999-06-25 13:49:55 +00:00
Bodo Möller
227cd06ffe
Avoid some memory holes, one of which was pointed out by
...
"Chad C. Mulligan" <mulligan@antipope.org >.
1999-06-25 13:41:35 +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
Dr. Stephen Henson
034292ad6a
Fix d2i_ASN1_INTEGER() and i2d_ASN1_INTEGER() so it correctly works out
...
the length of negative integers.
1999-06-24 01:50:27 +00:00
Bodo Möller
946cbf67af
Don't use inline assembler when configured for "no-asm".
1999-06-23 12:18:31 +00:00
Dr. Stephen Henson
170afce58d
New function PKCS7_signatureVerify to allow the signing certificate to
...
be explicitly stated with PKCS#7 verify.
Also fix for util/mkerr.pl: if the -nostatic option is being used this will be
for an external library so the autogenerated C file should include the
header file as:
#include "any/path/to/header.h"
rather than the internal library form:
#include <openssl/header.h>
1999-06-22 13:33:22 +00:00
Dr. Stephen Henson
dbd665c210
Change the PEM_* function prototypes to use DECLARE_PEM macros and change
...
util/mkdef.pl to handle this. Also do a 'make update'.
1999-06-22 01:38:31 +00:00
Dr. Stephen Henson
66ab08b1cf
Implement STACK_OF(ANS1_OBJECT) for extended key usage extension, change the
...
documentation to reflect the STACK_OF(CONF_VALUE) change to the CONF lib and
use ANSI typedefs for X509V3_EXT_I2D and X509V3_EXT_FREE.
1999-06-21 23:59:09 +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
f76a8084df
Perl variable names are case-sensitive ...
1999-06-21 11:32:25 +00:00
Ben Laurie
10cea23bd4
Don't shadow.
1999-06-21 10:08:56 +00:00
Bodo Möller
a6c1b3a9ac
"make update"
1999-06-21 10:04:48 +00:00
Dr. Stephen Henson
ba404b5e86
Convert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). It
...
seemed like a good idea at the time... several hours later it was rather
obvious that these are used all over the place making the changes rather
extensive.
1999-06-20 22:18:16 +00:00
Dr. Stephen Henson
8623f693d9
New functions CONF_load_bio() and CONF_load_fp() to load a configuration
...
file from a bio or fp. Added some more constification to the BN library.
1999-06-20 17:36:11 +00:00
Bodo Möller
11af1a2758
Clarification.
1999-06-18 18:22:38 +00:00
Bodo Möller
9209c9fc1a
"make update"
1999-06-18 16:44:29 +00:00
Bodo Möller
a111306bbc
New function CRYPTO_num_locks.
1999-06-18 16:14:18 +00:00
Bodo Möller
2de625408a
Use same name in the definition as in the header file declaration :-/
...
(the extra "get" makes the name quite long, but otherwise it'd sound
as if you could request something rather than obtain information
about what the peer did).
1999-06-18 12:28:29 +00:00
Bodo Möller
56f74f2ec3
Don't access configuration files outside the source tree.
1999-06-17 21:10:35 +00:00
Ulf Möller
8050bc7955
Typo.
1999-06-16 23:49:39 +00:00
Ulf Möller
9c789ad188
Recognize CPU on BSD/OS.
1999-06-16 20:26:46 +00:00
Bodo Möller
2eae234023
Some people don't have /dev/fd/0 on Solaris, so use - instead.
1999-06-15 23:17:09 +00:00
Bodo Möller
6c82fda2dd
Don't try to use zero-byte buffers.
1999-06-15 18:07:44 +00:00
Bodo Möller
d486601f41
Obsolete.
1999-06-14 15:52:31 +00:00
Bodo Möller
b52d109518
long obsolete
1999-06-14 15:51:26 +00:00
Bodo Möller
31b4896209
Comment adjusted to reality.
1999-06-14 15:48:04 +00:00
Bodo Möller
11e4b79a3a
rc4_locl.h and bf_locl.h incorrectly defined _HEADER_...;
...
opensslconf.h always expects HEADER_... (no leading underscore).
Submitted by: Andy Polyakov <appro@fy.chalmers.se >
1999-06-14 14:48:25 +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
d7fcc7f6c6
Bugfix.
1999-06-12 11:07:52 +00:00
Bodo Möller
e0f12c41de
Avoid some warnings (on silly compilers).
1999-06-12 09:52:44 +00:00
Bodo Möller
5b5dd0c057
"make update"
1999-06-12 01:08:14 +00:00
Bodo Möller
95d29597b7
BIO pairs.
1999-06-12 01:03:40 +00:00
Dr. Stephen Henson
9bce3070ac
Fix to i2d_DSAPublicKey() to return the correct length.
...
Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr >
1999-06-11 22:30:45 +00:00
Bodo Möller
a9ffce0a25
Changes for BSD/OS 4.
1999-06-11 11:45:22 +00:00
Bodo Möller
8e9eae0f8a
Don't use unquoted whitespace in "case" case.
1999-06-11 10:54:42 +00:00
Dr. Stephen Henson
565d1065c3
Document the X509V3 code and change some of the extension function pointers
...
to use 'void *' rather than 'char *' for an "arbitrary extension".
1999-06-11 01:58:42 +00:00
Bodo Möller
86b0c475d7
NeXT 3.3 can handle -O3 (3.0 can't).
1999-06-10 20:13:33 +00:00
Ben Laurie
84757d677f
Fix warnings.
1999-06-10 19:45:25 +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
Bodo Möller
74a6c7f384
Try to detect NeXT 3.3 (working Configure entry for this still missing)
1999-06-10 18:05:58 +00:00
Bodo Möller
247cf8d279
Avoid warning.
1999-06-10 18:03:14 +00:00
Dr. Stephen Henson
b7d135b353
Two new functions to write out PKCS#8 private keys. Also fixes for some of
...
the the PBE code and a new constant PKCS5_DEFAULT_ITER for the default
iteration count if it is passed as zero.
1999-06-10 17:32:52 +00:00
Bodo Möller
d58d092bc9
Avoid warnings.
1999-06-10 16:29:32 +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
Bodo Möller
06018c4685
Another <unistd.h> ...
1999-06-10 08:12:20 +00:00
Dr. Stephen Henson
5f6d0ea210
Reformat and "modernise" the sign.c demo.
1999-06-09 23:33:48 +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
Bodo Möller
2330e18bf1
tiny optical change
1999-06-09 23:13:03 +00:00
Bodo Möller
0b977773d2
Repair PEM_write_PrivateKey and PEM_write_bio_PrivateKey.
1999-06-09 23:12:08 +00:00
Bodo Möller
62c419d603
Oops, I forgot to add the dependency "TABLE: Configure".
1999-06-09 21:13:30 +00:00
Ulf Möller
adc7fe123b
Circumvent bug in SC5 without patch #107357-01.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se >
1999-06-09 21:13:27 +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
Dr. Stephen Henson
f62676b92d
Change the PEM function implementation to use a common set of macros: this
...
should make modifying them easier.
Fix the selfsign demo: it was rather ancient and used deleted functions.
1999-06-09 18:05:30 +00:00
Bodo Möller
32933c961b
Delete unnecessary newlines in TABLE
1999-06-09 18:04:44 +00:00
Bodo Möller
a7bd03960c
des_cbc_encrypt / des_ncbc_encrypt issue.
1999-06-09 18:01:49 +00:00
Bodo Möller
5765e24f14
Update dependencies.
1999-06-09 17:38:32 +00:00
Bodo Möller
3bcfce2881
Unify DES library: ncbc_enc.c wasn't used, but its content was almost
...
duplicated in cbc_enc.c (without IV updating) and in des_enc.c
As pointed out by others on the openssl-dev list, des_cbc_encrypt (without
IV updating; defined in cbc_enc.c) exists only for historical reasons:
des_ncbc_encrypt should be used instead (and the caller does not have
to manually update the IV).
If des_cbc_enrypt is not needed for backwards compatibility, the
definition of des_ncbc_encrypt should be put back into des_enc.c, and
both cbc_enc.c and ncbc_enc.c can be deleted.
If des_cbc_encrypt *is* needed for backwards compatibility, its behaviour
obviously should not change (i.e., don't add IV updating).
1999-06-09 17:28:30 +00:00
Ulf Möller
df63a389a5
"extern" is a C++ reserved word.
...
Pointed out by: Janez Jere <jj@void.si >
1999-06-09 16:33:18 +00:00
Ulf Möller
4e6ec1da04
Remove old libdes version number.
1999-06-09 16:26:50 +00:00
Bodo Möller
7740a1c6ef
"make update" (added to top Makefile, and applied).
1999-06-09 16:18:53 +00:00
Bodo Möller
c77f47abfa
DES CBC change looks dubious to me.
1999-06-09 13:41:51 +00:00
Bodo Möller
8151f52add
Mention unistd.h.
1999-06-09 13:29:51 +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
Ben Laurie
9e952fc877
Oops. Get rid of now incorrect comment.
1999-06-09 11:09:12 +00:00
Ben Laurie
05861c77e7
I keep forgetting to fix this: update the IV! Most important!
1999-06-09 11:08:36 +00:00
Ben Laurie
233bf734d3
Make "make test" fail if bntest fails an internal selfcheck.
1999-06-09 10:19:53 +00:00
Ulf Möller
9fe6729b46
The des app.
1999-06-08 20:11:02 +00:00
Ben Laurie
72fbe87dc6
Survive pedanticism.
1999-06-08 18:37:43 +00:00
Ulf Möller
cfce2335e9
crypt(), demos patched.
1999-06-08 17:57:49 +00:00
Ulf Möller
908eb7b85a
Call our crypt implementation des_crypt(). crypt() now is a wrapper if
...
there is no system crypt() available.
1999-06-08 16:35:11 +00:00
Ulf Möller
bf0870ac73
Casts.
1999-06-08 16:25:21 +00:00
Ulf Möller
f947eb318e
Warnings and casts.
1999-06-08 16:17:25 +00:00
Ulf Möller
93fd0fd61f
Don't #define _, and eliminate casts.
1999-06-08 15:52:47 +00:00
Ulf Möller
bebf2787ea
Fix to compile the des app.
1999-06-08 15:35:57 +00:00
Ulf Möller
f439123f38
Prevent name conflicts.
...
Submitted by: Janez Jere <jj@void.si >
1999-06-08 14:50:20 +00:00
Bodo Möller
c035b0c3b2
"request" added.
1999-06-08 10:18:48 +00:00
Bodo Möller
f058888738
Use mkdir-p.pl more efficiently.
1999-06-08 10:18:19 +00:00
Bodo Möller
eabea024e8
Don't make assumptions on what the path looks like.
1999-06-08 10:17:55 +00:00
Dr. Stephen Henson
8eb57af5fe
Complete support for PKCS#5 v2.0. Still needs extensive testing.
1999-06-08 00:09:51 +00:00
Bodo Möller
1aad3392e5
Fix for BIO pairs.
1999-06-07 22:51:55 +00:00
Bodo Möller
ba9f280885
Use locking in a way that makes more sense.
1999-06-07 22:50:12 +00:00
Bodo Möller
ce9449cf50
Use the same path to perl in all #! lines in util.
1999-06-07 22:48:50 +00:00
Dr. Stephen Henson
97e4a93245
This is the main PKCS#5 v2.0 key generation function, it parses the ASN1
...
structure and decides what key to generate (if any). Not currently added to
the PBE algorithm list because it is largely untested.
1999-06-07 21:00:19 +00:00
Bodo Möller
3928b6bf48
treat init properly
1999-06-07 20:34:36 +00:00
Bodo Möller
b1c4fe3625
Don't mix real tabs with tabs expanded as 8 spaces -- that's
...
a pain to read when using 4-space tabs.
1999-06-07 20:26:51 +00:00
Bodo Möller
9e06f6f601
Introduce "BIO pairs", which (when finished) will relay data
...
so that the SSL library can be used for applications that
have to handle all the actual I/O themselves.
1999-06-07 16:04:45 +00:00
Bodo Möller
d4443edc57
Mention mkdir-p.pl.
1999-06-07 13:34:25 +00:00
Bodo Möller
6576774b51
mkdir -p is not fully portable (according to Marc Crispin,
...
NeXTstep creates a directory called -p); now mkdir-p.pl does its job.
1999-06-07 13:33:50 +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
3a66e306e4
Comments added.
1999-06-07 12:49:47 +00:00
Bodo Möller
272c933315
linux-sparc
1999-06-07 00:26:20 +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
cf2562e772
More general definition for S_ISDIR (needed not only for VMS but
...
also for NeXT).
1999-06-07 00:20:54 +00:00
Dr. Stephen Henson
8e21c14607
More PKCS#5 v2.0 development. Add a function to setup a PKCS#5 v2.0
...
AlgorithmIdentifier and make various ASN1 fixes.
1999-06-06 23:34:44 +00:00
Dr. Stephen Henson
2bd83ca1c9
Change PBE handling a bit more: now the key and iv generator does calls
...
EVP_CipherInit() this because the IV wont be easily available when doing
PKCS#5 v2.0
1999-06-06 18:41:52 +00:00
Dr. Stephen Henson
69cbf46811
Rewrite PBE handling read to support PKCS#5 v2.0 and update the function
...
list for Win32.
1999-06-06 13:07:13 +00:00
Dr. Stephen Henson
095ce35378
Change so PEM private key read routines can handle PKCS#8 transparently.
1999-06-05 18:40:51 +00:00
Dr. Stephen Henson
e7871ffaa8
More PKCS#8 stuff. Support for unencrypted forms of private key.
1999-06-05 12:39:10 +00:00
Ben Laurie
8d8a8041ec
const/type fixes.
1999-06-05 12:16:33 +00:00
Dr. Stephen Henson
3cbb7937fa
Add d2i,i2d bio and fp functions for PKCS#8 and add -inform and -outform
...
arguments to pkcs8 application.
1999-06-05 01:45:20 +00:00
Dr. Stephen Henson
600dec1586
Add a 'pkcs8' application for initial PKCS#8 support. Still needs lots more
...
options to handle encrypted and unencrypted forms and DER format input and
output.
1999-06-05 00:32:16 +00:00
Dr. Stephen Henson
b0c6fb8064
The rest of the PKCS#5, PKCS#8 patch I forgot before :-)
1999-06-04 23:33:48 +00:00
Dr. Stephen Henson
ef8335d900
Add PKCS#5 v1.5 compatible algorithms and initial PKCS#8 support. PKCS#8 needs
...
more work: need an application and make the private key routines automatically
handle PKCS#8.
1999-06-04 23:32:14 +00:00
Bodo Möller
505cdbec5c
Update.
1999-06-04 23:14:24 +00:00
Ben Laurie
167f3af2ce
Aha! That's how pkcs12 got missed from stackification.
1999-06-04 22:25:30 +00:00
Ben Laurie
84c15db551
Some constification and stacks that slipped through the cracks (how?).
1999-06-04 22:23:10 +00:00
Ulf Möller
ca570cfdbc
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:54:13 +00:00
Bodo Möller
af258e0dec
remove conflict indicator ...
1999-06-04 21:52:12 +00:00
Ulf Möller
1ec7ac3ce7
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:47:27 +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
9231f47796
Generate no-xxx options for missing ciphers.
1999-06-04 21:32:31 +00:00
Ulf Möller
5c03115af1
Test apps.
1999-06-04 21:31:48 +00:00
Ulf Möller
91174a91b9
Hint about unresolved symbols when mixing compilers.
1999-06-04 21:31:15 +00:00
Ulf Möller
1e44804e33
Avoid type conflict on Unix with DEC C.
...
Pointed out by Sergio Rabellino <Rabellino@di.unito.it >
1999-06-04 13:41:30 +00:00
Ulf Möller
eaeb1870d4
Define a macro to avoid name conflicts.
1999-06-04 12:42:35 +00:00
Ulf Möller
3a0d23c87e
gcc dumps core on HPUX.
1999-06-04 12:33:05 +00:00
Ben Laurie
b4f76582d4
More evil cast removal.
1999-06-03 18:04:04 +00:00
Ben Laurie
213a75dbf2
Make samples compile.
1999-06-03 16:07:37 +00:00
Ben Laurie
5c0a48655f
stack
1999-06-02 22:01:56 +00:00
Ben Laurie
8188e1537b
Evil cast extermination.
1999-06-02 21:34:46 +00:00
Ben Laurie
8f0edcd142
stack.
1999-06-02 21:13:45 +00:00
Ben Laurie
a1195a19f5
Move stack implementations to more natural places.
1999-06-02 17:14:44 +00:00
Ben Laurie
b05b50e67b
Stack.
1999-06-02 17:11:53 +00:00
Ulf Möller
778ec213fb
Remove redundant line.
1999-06-01 22:47:40 +00:00
Bodo Möller
7eeb37e1e4
Labels longer than eight characters might cause problems.
1999-06-01 12:09:51 +00:00
Ulf Möller
0a78c29760
Borland C fix.
...
Submitted by: Andy Polyakov
1999-06-01 09:41:13 +00:00
Bodo Möller
246ffa4571
more typesafe stacks ...
1999-05-31 22:10:15 +00:00
Bodo Möller
748365eed7
More consistency.
1999-05-31 21:58:18 +00:00
Ben Laurie
6d114240b9
stack.
1999-05-31 21:00:25 +00:00
Ben Laurie
426edadf98
Stack.
1999-05-31 20:35:31 +00:00
Bodo Möller
62aa714f00
"BTW, I no longer have a wish for this. This was solved in other ways."
...
Mats Nilsson <mats.nilsson@xware.se >,
<4.1.19990531095211.040bf2e0@berit.xware.se > to <openssl-dev@openssl.org >
1999-05-31 12:43:28 +00:00
Bodo Möller
a8aae85a80
Complain about deficiency of internal_verify.
1999-05-31 12:13:10 +00:00
Ben Laurie
b6436ff2c2
More stack.
1999-05-31 11:57:32 +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
Ben Laurie
7e258a56da
Yet another stack.
1999-05-30 22:25:19 +00:00
Ben Laurie
fc875472d0
Another stack.
1999-05-30 21:16:24 +00:00
Ben Laurie
e5e932d212
Another safe stack.
1999-05-30 15:40:21 +00:00
Ben Laurie
ee8ba0b26c
Another safe stack.
1999-05-30 15:25:47 +00:00
Ben Laurie
838d25a1ec
More safe stack.
1999-05-30 14:13:19 +00:00
Ralf S. Engelschall
5132cadf21
Puhhh... today is a very hot day.
1999-05-30 13:54:25 +00:00
Ben Laurie
80c38957bc
And carry on with development...
1999-05-29 14:18:27 +00:00
Ben Laurie
033d858cc2
Oops!
1999-05-29 14:14:56 +00:00
Ben Laurie
31fab3e8da
Prepare to release 0.9.3a
1999-05-29 14:13:15 +00:00
Ben Laurie
4da88a8d92
Update dependencies.
1999-05-29 14:10:58 +00:00
Bodo Möller
8e228dc56a
Pass INSTALL_PREFIX to subdirectories of crypto
...
Submitted by: strube@physik3.gwdg.de (Hans Werner Strube)
1999-05-28 23:27:09 +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
410aa5227b
Include <stdio.h>.
1999-05-28 20:21:33 +00:00
Bodo Möller
054009a638
Updated C++ SSL demos.
...
Submitted (a month ago) by: Wade Scholine
1999-05-27 23:59:58 +00:00
Bodo Möller
71f080935a
Updated some demos.
...
Submitted by: Sean O Riordain <Sean.ORiordain@cyrona.com >
1999-05-27 23:52:31 +00:00
Bodo Möller
e95f626827
*** empty log message ***
1999-05-27 20:55:18 +00:00
Bodo Möller
472bde404f
Change function call according to current API.
1999-05-27 20:49:27 +00:00
Bodo Möller
1850a49bd0
Ignore directories created by "make -f makefile.one".
1999-05-27 14:41:46 +00:00
Dr. Stephen Henson
bec9e0da7a
Free up 'out' before exiting pkcs12 application.
...
Submitted by: Wu Zhigang <zhigangwu@yahoo.com >
1999-05-27 13:10:59 +00:00
Bodo Möller
5ece777974
der_chop is now generated from der_chop.in.
1999-05-27 00:19:59 +00:00
Bodo Möller
58c7977cfa
I386_ONLY is defined in opensslconf.h, so we need to include it.
...
Submitted by: John Keith <jtkeith@kavi.com >
1999-05-27 00:17:53 +00:00
Bodo Möller
b14d0e0590
Circument egcs bug.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se >
1999-05-26 19:59:36 +00:00
Dr. Stephen Henson
f3c751067a
Fix for memory leak.
1999-05-26 12:40:08 +00:00
Dr. Stephen Henson
f9073fce9b
Update md5 assembly source for Win32.
1999-05-26 00:39:20 +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
6720e9472f
Add closing parenthesis to usage output.
1999-05-25 21:38:09 +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
58dc480ffd
Last minute VMS updates for 0.9.3.
...
Submitted by: Richard Levitte
1999-05-24 22:59:40 +00:00
Bodo Möller
d2eec3a610
Update for 0.9.3.
1999-05-24 22:43:30 +00:00
Bodo Möller
557068c087
Final version for 0.9.3.
1999-05-24 22:38:23 +00:00
Ben Laurie
767d6bfb87
Move on to 0.9.4.
1999-05-24 20:59:34 +00:00
Ben Laurie
09befa1905
Here we go: prepare to roll 0.9.3.
1999-05-24 20:52:13 +00:00
Dr. Stephen Henson
982baa7be9
Fix URL for perl in INSTALL.W32
1999-05-24 13:20:21 +00:00
Ben Laurie
e09632f986
Move to beta 3.
1999-05-23 16:38:07 +00:00
Ben Laurie
24abc46963
Prepare for final(?) beta.
1999-05-23 16:35:29 +00:00
Bodo Möller
bdc98ffba9
Don't use NULL-pointer :-/
1999-05-23 16:19:08 +00:00
Bodo Möller
38424743ce
Detect linux-mips.
1999-05-23 13:49:51 +00:00
Bodo Möller
1dfad80565
Comment about bug.
1999-05-23 13:15:35 +00:00
Bodo Möller
8876bc0548
Let ssl_get_prev_session reliably work in multi-threaded settings.
1999-05-23 13:07:03 +00:00
Dr. Stephen Henson
3550ec4f1f
Set ext_list to NULL after use.
1999-05-23 12:02:18 +00:00
Bodo Möller
9a193d8825
Avoid memory hole when we don't like the session proposed by the client
1999-05-23 10:43:46 +00:00
Dr. Stephen Henson
0dc42a1e74
Fixup do_nt.bat for new mk1mf arg order.
1999-05-22 23:24:38 +00:00
Dr. Stephen Henson
4b55c2a3a9
Move the Win32 #undefs of X509_NAME and PKCS7_ISSUER_AND_SERIAL so they will
...
always get included with the relevant files.
1999-05-21 12:14:35 +00:00
Bodo Möller
470df4b905
We need e_os.h here.
1999-05-21 11:46:29 +00:00
Bodo Möller
96a099f93e
Remove traces of bad idea :-)
1999-05-21 11:21:19 +00:00
Bodo Möller
95f9968e5e
Older versions of SINIX C development system inherited a bug from
...
SGI' cc; enable workaround.
Submitted by: Martin Kraemer
1999-05-21 11:20:04 +00:00
Bodo Möller
7e70181723
It was a very bad idea to use #include "../e_os.h" -- when this occurs
...
in cryptlib.h (which is often included as "../cryptlib.h"), then the
question remains relative to which directory this is to be interpreted.
gcc went one further directory up, as intended; but makedepend thinks
differently, and so probably do some C compilers. So the ../ must go away;
thus e_os.h goes back into include/openssl (but I now use
#include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) --
and we have another huge bunch of dependency changes. Argh.
1999-05-21 11:16:48 +00:00
Ben Laurie
d76c85a301
Don't include top-level CVS directory.
1999-05-21 08:38:17 +00:00
Dr. Stephen Henson
31a352d191
The last argument in the d2i_XXX_fp and d2i_XXX_bio functions should be
...
of type XXX ** not XXX *
1999-05-21 01:06:23 +00:00
Bodo Möller
d6847aed10
Add a kludge :-(
...
There were problems with putting e_os.h just into the top directory,
because the test programs are compiled within test/ in the "standard"
case in in their original directories in the makefile.one case;
and in the latter symlinks may not be available.
1999-05-20 22:18:49 +00:00
Bodo Möller
17e3dd1c62
Don't install e_os.h in include/openssl, use it only as a local
...
include file.
1999-05-20 21:59:20 +00:00
Ulf Möller
9dff4cc051
Bring VMS in sync with the recent changes.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se >
1999-05-20 21:00:29 +00:00
Ben Laurie
60ed228e71
On seconds thoughts, the version number shoud _never_ decrease.
1999-05-20 19:57:53 +00:00
Ben Laurie
c1c96de01c
Revert.
1999-05-20 19:46:23 +00:00
Ben Laurie
6b6596202b
Prepare for a beta release.
1999-05-20 19:33:46 +00:00
Ulf Möller
1444ba8d78
NeXT doesn't have dirent.
...
Pointed out by Juergen Moellenhoff <jurgen@oic.de >
1999-05-20 17:58:42 +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
Bodo Möller
4d5d543e3c
Some solaris-usparc MD5 fixes.
1999-05-20 13:11:43 +00:00
Ulf Möller
da70ff710c
Avoid a warning.
...
Submitted by: Sylvain Robitaille <syl@alcor.concordia.ca >
1999-05-20 02:09:46 +00:00
Ulf Möller
7a01a45bc4
Declare test key data as static.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se >
1999-05-20 01:46:39 +00:00
Bodo Möller
21f213edfb
Change self-description (mklink.pl is not just faster than the last
...
released version of mklink.sh -- the latter couldn't even handle
the ../../include/openssl case).
1999-05-20 01:43:28 +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
Dr. Stephen Henson
257e206da6
Include some notes on basic extension usage and change openssl.cnf to usually
...
do sensible things with extensions.
1999-05-19 23:54:58 +00:00
Bodo Möller
a2cb72537a
Add -mv8 to solaris-usparc-oldgcc.
1999-05-19 22:45:08 +00:00
Ulf Möller
62de849772
Typos.
1999-05-19 19:20:49 +00:00
Ulf Möller
405b4a7edb
Oops.
1999-05-19 19:14:59 +00:00
Ulf Möller
33d50ef662
Small corrections.
1999-05-19 18:39:23 +00:00
Bodo Möller
06064bb512
Note that the numbering scheme used to be different.
1999-05-19 18:08:35 +00:00
Ben Laurie
e90c772946
Switch to new version numbering scheme.
1999-05-19 17:36:40 +00:00
Bodo Möller
15a99e3d9d
Convert gcc version detection (for solaris-usparc-gcc) into a form
...
better suited for finding what went wrong in case that some compiler
versions create an output we can't parse.
1999-05-19 16:50:16 +00:00
Bodo Möller
767f68cc80
Bugfix: GCCVAR contains two lines ("Reading specs ..." and the actual
...
version), so we need
echo $GCCVAR | sed ...
instead of
echo "$GCCVAR" | sed ...
to process it as intended.
1999-05-19 16:35:21 +00:00
Dr. Stephen Henson
e84240d422
New functions sk_set, sk_value and sk_num to replace existing macros: this is
...
to minimise the effects on existing code.
1999-05-19 12:45:16 +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
b67358328e
gcc < 2.8 does not support ultrasparc.
1999-05-18 23:44:38 +00:00
Dr. Stephen Henson
35f7324c23
Change default PKCS#12 iteration count to 2048, include rsa_oeap_test in the
...
test batch file.
1999-05-18 20:12:54 +00:00
Ulf Möller
b0759f8712
no-xxx options.
1999-05-18 16:40:40 +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
12ba413c08
Get rid of some unnecessary casts and add a necessary one.
1999-05-18 15:06:20 +00:00
Ulf Möller
5d818c3051
Spelling error.
1999-05-18 14:53:39 +00:00
Ralf S. Engelschall
09ad8001be
Protect applications from failing to compile when they
...
try to directly include opensslv.h.
1999-05-18 09:19:28 +00:00
Ralf S. Engelschall
75573c44e5
Don't forget that it's freeze time now...
1999-05-18 08:52:01 +00:00
Ulf Möller
9c2e306af3
BC now compiles crypto/des
1999-05-17 22:33:25 +00:00
Ulf Möller
fb92ba64a0
Move prototypes to the right place.
1999-05-17 22:25:31 +00:00
Bodo Möller
bc2e519a89
If we couldn't handle "-showcerts" (which happens with the current
...
SSL2 implementation), show at least the server certificate.
1999-05-17 20:46:43 +00:00
Ulf Möller
92afda6ccc
Mention "make depend".
1999-05-17 20:42:59 +00:00
Bodo Möller
a03dd7a68f
Substitute spaces for tab.
1999-05-17 20:36:08 +00:00
Dr. Stephen Henson
703126f027
Various clarifications to extension docs: change the name of literal
...
extensions from RAW to DER to avoid confusion with raw extensions.
Update NEWS file.
1999-05-17 20:05:36 +00:00
Ulf Möller
2cf9fcdac9
Mention Andy's assembler stuff.
1999-05-17 15:03:43 +00:00
Ulf Möller
75fa9917d0
mk1mf.pl syntax has been changed.
1999-05-17 14:38:03 +00:00
Bodo Möller
db2b98359b
Make MD5 work on Alpha, and fix a bug.
...
Submitted by: Andy Polyakov
1999-05-17 11:21:52 +00:00
Bodo Möller
673eadec2c
Additional, more descriptive error message for rejection of a session ID
...
because of missing session ID context (so that application programmers
are directly pointed to what they should do differently).
1999-05-17 11:15:49 +00:00
Bodo Möller
27a186cd5d
gcc (in some versions) doesn't like the const_des_cblock typedef.
...
So omit it for now :-(
1999-05-17 10:54:18 +00:00
Bodo Möller
3f45ed82dc
Rename "openssl x509" option "-config" to "-extfile", because it
...
doesn't have a default value like the "-config" options of other
openssl subprograms.
1999-05-17 08:28:37 +00:00
Bodo Möller
8e93f12ee8
Clarification.
1999-05-17 08:17:30 +00:00
Dr. Stephen Henson
4aeb94b801
Oops! Get the pmatch test the right way round.
1999-05-16 21:50:26 +00:00
Bodo Möller
b975f15d54
Keep text lines less than 80 characters wide.
1999-05-16 18:27:46 +00:00
Dr. Stephen Henson
1b266dabf5
Fix various less obvious bugs in PKCS#7 handling: such as not zeroing
...
the secret key before we've encrypted it and using the right NID for RC2-64.
Add various arguments to the experimental programs 'dec' and 'enc' to make
testing less painful.
This stuff has now been tested against Netscape Messenger and it can encrypt
and decrypt S/MIME messages with RC2 (128, 64 and 40 bit) DES and triple DES.
Its still experimental though...
1999-05-16 17:32:32 +00:00
Bodo Möller
f43c814917
Typo.
1999-05-16 14:20:17 +00:00
Bodo Möller
55519bbb2d
DES changes.
1999-05-16 12:29:28 +00:00
Bodo Möller
edf0bfb52b
Change type of various DES function arguments from des_cblock
...
(meaning pointer to char) to des_cblock * (meaning pointer to
array with 8 char elements), which allows the compiler to
do more typechecking. (The changed argument types were of type
des_cblock * back in SSLeay, and a lot of ugly casts were
used then to turn them into pointers to elements; but it can be
done without those casts.)
Introduce new type const_des_cblock -- before, the pointers rather
than the elements pointed to were declared const, and for
some reason gcc did not complain about this (but some other
compilers did).
1999-05-16 12:26:16 +00:00
Bodo Möller
e186bf96b4
Added a comment pointing out the behaviour of "openssl x509 -conf ...",
...
which cost me some time to find out about.
1999-05-16 12:17:20 +00:00
Bodo Möller
ee86c3f53d
Marked probable bug, pointed out by Anonymous.
1999-05-16 12:01:49 +00:00
Ben Laurie
e1a228fbce
Convert void *.
1999-05-16 11:26:46 +00:00
Bodo Möller
84d148778e
Don't run "make depend" automatically.
1999-05-16 10:55:40 +00:00
Dr. Stephen Henson
84fa704c6f
Fix some obvious bugs in the PKCS#7 library handling. It didn't try to
...
find the right RecipientInfo based on the recipient certificate (so would
fail a lot of the time) and fixup cipher structures to correctly (maybe)
modify the AlgorithmIdentifiers. Largely untested at present... this will be
fixed in due course. Well the stuff was broken to begin with so if its broken
now then you haven't lost anything :-)
1999-05-16 00:25:36 +00:00
Dr. Stephen Henson
a74c55cd8f
Various Win32 fixes. Change args in do_ms.bat to put platform last. Fix
...
unsigned/signed cmp error in asn1parse. Change various pem_all.c args to
use pem_password_cb.
1999-05-15 20:33:15 +00:00
Ben Laurie
ac7d07851c
Get rid of casts.
1999-05-15 16:03:26 +00:00
Ben Laurie
62bad77124
Add actual testing to bntest...
1999-05-15 15:59:28 +00:00
Bodo Möller
e1999b1dab
Use OPENSSL_GLOBAL, OPENSSL_EXTERN instead of GLOBAL and EXTERN.
1999-05-15 14:38:10 +00:00
Bodo Möller
3398f6cc21
OPENSSL_EXTERN
1999-05-15 14:30:31 +00:00
Bodo Möller
7f0dae3276
OPENSSL_EXTERN, OPENSSL_GLOBAL
1999-05-15 14:23:29 +00:00
Bodo Möller
127640b449
Update dependencies.
1999-05-15 13:38:48 +00:00
Bodo Möller
cdfb093fc3
Get rid of another cast.
1999-05-15 13:31:53 +00:00
Bodo Möller
cbbd384040
Use e_os2.h, not e_os.h in exported header file des.h.
1999-05-15 13:27:13 +00:00
Bodo Möller
fa470a84a0
e_os2.h is used for things that must be visible when external applications
...
use (certain parts of) OpenSSL.
1999-05-15 13:26:11 +00:00
Bodo Möller
2a4a0a340d
e_os* corrections.
1999-05-15 13:24:16 +00:00
Bodo Möller
64a3b11be6
Comment.
1999-05-15 12:22:46 +00:00
Bodo Möller
79479f0240
Bugfix (set shutdown only when we should).
...
Submitted by: Oleg Girko
1999-05-15 12:22:19 +00:00
Bodo Möller
21419a7413
Update.
1999-05-15 12:20:56 +00:00
Ben Laurie
531b2cf7e9
Get rid of the cast.
1999-05-15 11:54:21 +00:00
Bodo Möller
ad2cb8b4f6
Return 0 for an error, 1 for no error from read_options;
...
that's what the calling code seems to expect.
1999-05-15 11:46:00 +00:00
Bodo Möller
d3407350d8
Comment.
1999-05-15 10:40:02 +00:00
Bodo Möller
e2e3d5ce0c
A comment.
1999-05-15 00:00:28 +00:00
Bodo Möller
8aa5b77c87
Avoid compiler warnings for x86.
1999-05-14 21:07:48 +00:00
Dr. Stephen Henson
1ad2ecb66f
The encoding of negative ASN1 INTEGERs and the conversion of BNs to negative
...
integers was completely broken. Also added a NEG_PUBKEY_BUG compilation option
to compensate for public keys improperly encoded as negative integers.
1999-05-14 18:21:21 +00:00
Bodo Möller
2a82c7cf25
Various bugfixes: Uses locking for some more of the stuff that is not
...
thread-safe (where thread-safe counterparts are not available on all
platforms), and don't memcpy to NULL-pointers
Submitted by: Anonymous
Reviewed by: Bodo Moeller
Also, clean up htons vs. ntohs confusions.
1999-05-14 12:40:39 +00:00
Bodo Möller
d36bcdf5ca
Fix cryptlib.c.
...
Submitted by:
Reviewed by:
PR:
1999-05-14 11:57:17 +00:00
Bodo Möller
3ae76679c7
Introduce and use function typedef pem_password_cb so that we don't call
...
those functions without having a parameter list declaration.
(There are various similar cases left ...)
1999-05-14 11:52:49 +00:00
Bodo Möller
e6d0b6eca3
*** empty log message ***
1999-05-14 11:50:46 +00:00
Bodo Möller
0c0334b0e3
Delete a wish.
1999-05-14 11:48:31 +00:00
Bodo Möller
dbd1e38482
Change cast in function calls to that which is, I think, the right
...
one for those functions (is it?).
1999-05-14 11:47:29 +00:00
Bodo Möller
1b24cca969
Add release dates to the "CHANGES" file, because that's an obvious
...
place to look for them.
1999-05-13 21:17:03 +00:00
Ulf Möller
7de82c29c8
Missed one line.
1999-05-13 17:55:08 +00:00
Bodo Möller
608217d8d0
Don't use reserved name "_encrypt" for parameters;
...
instead I've picked "enc", because that's what's in the prototypes.
("_encrypt" is reserved only as an external name, but still
using it in an application doesn't look like good style to me --
and it certainly isn't if the point is just avoiding shadowing,
which is apparently why the previous name "encrypt" was changed.)
1999-05-13 17:51:35 +00:00
Ben Laurie
2adca9cdc6
Update dependencies.
1999-05-13 17:33:27 +00:00
Ulf Möller
09feda5cec
Cut&paste error.
1999-05-13 17:25:05 +00:00
Ulf Möller
ce457a54ff
Oops. Close the file.
1999-05-13 17:24:35 +00:00
Ben Laurie
90ba7e21e1
Avoid shadowing, and a bit of constification while I'm at it.
1999-05-13 17:10:42 +00:00
Bodo Möller
224551f732
Some tiny clean-ups related to the cert_st / sess_cert_st change.
1999-05-13 15:27:45 +00:00
Bodo Möller
b56bce4fc7
New structure type SESS_CERT used instead of CERT inside SSL_SESSION.
...
While modifying the sources, I found some inconsistencies on the use of
s->cert vs. s->session->sess_cert; I don't know if those could
really have caused problems, but possibly this is a proper bug-fix
and not just a clean-up.
1999-05-13 15:09:38 +00:00
Bodo Möller
0981259ada
For solaris-usparc configurations, avoid problems with GNU as, which
...
cannot handle all opcodes we need.
1999-05-13 15:02:49 +00:00
Ulf Möller
5c83b4c93f
Remove redundant ifdef.
1999-05-13 13:29:41 +00:00
Ulf Möller
75e0770d96
VMS support bug fixes.
1999-05-13 13:21:17 +00:00
Ulf Möller
f7fd2ff72e
VMS support.
...
Submitted by: Richard Levitte <richard@levitte.org >
1999-05-13 13:20:21 +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
7d7d2cbcb0
VMS support.
...
Submitted by: Richard Levitte <richard@levitte.org >
1999-05-13 11:37:32 +00:00
Bodo Möller
8d111f4a47
Spacing in comment corrected.
1999-05-13 10:36:29 +00:00
Bodo Möller
8a41eb70cc
First tiny changes in preparation of changing of "sess_cert" handling.
...
Also I've subsituted real tabs for 8-spaces sequences in some lines so that
things don't look that weird with a tab-width of 4.
1999-05-13 10:32:04 +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
Dr. Stephen Henson
8bc1431edd
Several of the EVP_CIPHER structures had the get and set asn1 parameter
...
functions transposed.
1999-05-12 23:11:08 +00:00
Dr. Stephen Henson
f5eac85edc
Add new -out option to asn1parse to allow the parsed data to be output.
...
Fixed -strparse option: it didn't work if used more than once (this was due
to the d2i_ASN1_TYPE call parsing a freed buffer). On Win32 the file wincrypt.h
#define's X509_NAME and PKCS7_SIGNER_INFO causing clashes so these are #undef'ed
1999-05-12 01:56:27 +00:00
Ulf Möller
d53ff9abf3
Caldera OpenLinux passes test now.
1999-05-12 01:52:58 +00:00
Ulf Möller
dcbe935125
Missing argument in prototype.
...
Submitted by: Andreas Ley <ley@rz.uni-karlsruhe.de >
1999-05-12 00:45:42 +00:00
Ulf Möller
2ec765c81d
Use ifndef PEDANTIC for all inline assembler.
1999-05-11 22:14:29 +00:00
Bodo Möller
d797727b20
Comment.
...
Submitted by:
Reviewed by:
PR:
1999-05-11 22:05:39 +00:00
Bodo Möller
54a29df0ec
argc counting bug fixed.
...
Submitted by: Tomas Hulek
Reviewed by:
PR:
1999-05-11 15:44:58 +00:00
Bodo Möller
fa2b248f23
Clarify comment.
...
Submitted by:
Reviewed by:
PR:
1999-05-11 14:26:14 +00:00
Ulf Möller
7af62c3cbb
Move openssl.cnf out of lib/.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se >
1999-05-11 10:42:28 +00:00
Bodo Möller
ff71222024
And I thought I could spell ... but in caps really everything looks the same.
...
Submitted by:
Reviewed by:
PR:
1999-05-11 07:54:38 +00:00
Bodo Möller
b31b04d951
Make SSL library a little more fool-proof by not requiring any longer
...
that SSL_set_{accept,connect}_state be called before
SSL_{accept,connect} may be used.
Submitted by:
Reviewed by:
PR:
1999-05-11 07:43:16 +00:00
Dr. Stephen Henson
10243d97fd
Various PKCS#7 related fixes,tidies and comments.
1999-05-11 00:52:46 +00:00
Ulf Möller
d5a2ea4b73
Move openssl.cnf out of lib/.
1999-05-10 23:59:28 +00:00
Ulf Möller
3f5868d23c
Update.
1999-05-10 23:56:11 +00:00
Ulf Möller
898110db6d
Fix for +xxx options.
...
Submitted by: Anonymous
1999-05-10 20:38:47 +00:00
Ralf S. Engelschall
66e08777bd
Ok, give us more time....
1999-05-10 19:28:00 +00:00
Bodo Möller
1c3e0a1976
Changed a comment.
...
Submitted by:
Reviewed by:
PR:
1999-05-10 15:10:11 +00:00
Bodo Möller
84a370a400
The various character predicates (isspace and the like) may not be
...
used with negative char values, so I've added casts to unsigned char.
Maybe what really should be done is change all those arrays and
pointers to type unsigned char [] or unsigned char *, respectively;
but using plain char with those predicates is just wrong, so something
had to be done.
Submitted by:
Reviewed by:
PR:
1999-05-10 11:18:26 +00:00
Bodo Möller
93c5624f04
Moved some variable declarations inside blocks where they are needed
...
so that warnings about unused variables (for certain
-D... constellations) are avoided; this corresponds to the earlier
change for SHA1.
Submitted by:
Reviewed by:
PR:
1999-05-10 11:10:38 +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
Ralf S. Engelschall
397f703892
Fix various things to let OpenSSL even pass ``egcc -pipe -O2 -Wall -Wshadow
...
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline'' with EGCS 1.1.2+
1999-05-10 08:33:56 +00:00
Dr. Stephen Henson
884e8ec615
Various PKCS#7 fixes to properly (maybe!) handle PKCS#7 enveloped data.
...
Containts elements of code by Sebastian Akerman <sak@parallelconsulting.com >
and made a bit less "naughty" by Steve.
1999-05-10 00:47:42 +00:00
Bodo Möller
9d5cceac6f
No actual change, but the cert_st member of struct ssl_session_st is now
...
called sess_cert instead of just cert. This is in preparation of further
changes: Probably often when s->session->sess_cert is used, we should
use s->cert instead; s->session->sess_cert should be a new structure
containing only the stuff that is for just one connection (e.g.
the peer's certificate, which the SSL client implementations currently
store in s->session->[sess_]cert, which is a very confusing thing to do).
Submitted by:
Reviewed by:
PR:
1999-05-09 21:22:45 +00:00
Bodo Möller
ca8e5b9b8a
Create a duplicate of the SSL_CTX's CERT in SSL_new instead of copying
...
pointers. The cert_st handling is changed by this in various ways.
Submitted by:
Reviewed by:
PR:
1999-05-09 20:12:44 +00:00
Bodo Möller
8d1157c71c
One comment was in the wrong line ... some others are new.
...
Submitted by:
Reviewed by:
PR:
1999-05-09 16:41:00 +00:00
Dr. Stephen Henson
c8b4185079
Kill evil casts, fix PKCS#7 and add new X509V3 Function.
1999-05-09 16:39:11 +00:00
Bodo Möller
1c10afc32a
Makefile.save was missing here.
...
Submitted by:
Reviewed by:
PR:
1999-05-09 15:47:35 +00:00
Bodo Möller
8450bddfaf
Some tiny changes to the source code to make future diffs smaller
...
when restructuring the cert_st handling (removed unnused parts,
and the like).
Submitted by:
Reviewed by:
PR:
1999-05-09 15:45:38 +00:00
Bodo Möller
a0d0c6a61b
Move variable definitions into the blocks where they are really needed,
...
so that warnings about unused variables don't appear if those blocks
are removed by the C preprocessor.
Submitted by:
Reviewed by:
PR:
1999-05-09 10:16:46 +00:00
Bodo Möller
303c002898
Use "const char *" instead of "char *" for filenames passed to functions.
...
Submitted by:
Reviewed by:
PR:
1999-05-09 10:12:10 +00:00
Dr. Stephen Henson
a5ab0532ca
Various Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for a
...
Win32 version of rename() ). There isn't a precise rename() equivalent under
Win95: the standard rename() complains if the destination already exists so
replaced with a combination of unlink() and MoveFile().
1999-05-08 22:46:51 +00:00
Dr. Stephen Henson
e40b7abeed
Allows PKCS#12 password to be placed on command line and add allow config
...
file name for 'ca' to come from the environment.
1999-05-08 12:59:50 +00:00
Dr. Stephen Henson
7e797a06c3
GeneralizedTime setting fixes.
1999-05-08 11:08:25 +00:00
Ulf Möller
8cf6522820
no-xxx option to exclude ciphers.
1999-05-08 10:42:06 +00:00
Ulf Möller
2126f5e04d
The libssl32.dll definition file is called ssleay32.def. (why?)
1999-05-08 10:40:38 +00:00
Ulf Möller
33f7bc9683
Mingw32.
1999-05-08 10:40:13 +00:00
Ulf Möller
5a9bab32b9
pass $PERL on make files.
1999-05-08 10:40:01 +00:00
Ulf Möller
0894315642
Superseded by sparcv8.S and sparcv8plus.s.
1999-05-08 10:39:15 +00:00
Bodo Möller
a2aa81683f
This was an unused derivate of an old version of s_client.c that had
...
been changed so that it almost could be used under Windows.
No one asked to keep it (and no one volunteered to bring it into useable
state), so away with it.
Submitted by:
Reviewed by:
PR:
1999-05-08 10:12:48 +00:00
Ulf Möller
7d5d27b9a3
Generate DLLs with Mingw32.
1999-05-07 22:55:27 +00:00
Ulf Möller
12d7d32f24
Get the Mingw32 makefiles right.
1999-05-07 17:51:29 +00:00
Ben Laurie
5b640028cb
Make -pedantic work again.
1999-05-07 15:42:23 +00:00
Ben Laurie
135a1dcaac
Bodo didn't do that.
1999-05-07 09:18:25 +00:00
Bodo Möller
559b52ac46
Restored path names that were changed by a previous "Configure" run.
...
(Rather than changing the files in places, we really should use .in files.)
Submitted by:
Reviewed by:
PR:
1999-05-06 23:46:26 +00:00
Bodo Möller
ce0d9f049a
Some comments.
...
Submitted by:
Reviewed by:
PR:
1999-05-06 23:36:54 +00:00
Ulf Möller
5612f93f37
config is Unix specific.
1999-05-06 11:50:03 +00:00
Ulf Möller
4769633350
Add missing semicolon.
...
Submitted by: Janez Jere <jj@void.si >
1999-05-06 11:45:47 +00:00
Ulf Möller
fb3214f92f
Typo.
1999-05-06 01:29:57 +00:00
Ulf Möller
6ceba838e2
Borland C++ builder.
...
Submitted by: Janez Jere <jj@void.si >
1999-05-06 00:54:01 +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
b282fdae25
Info on how to submit patches.
1999-05-06 00:40:46 +00:00
Ulf Möller
c2eb65ba7c
Remove unreachable return statements.
1999-05-05 22:06:44 +00:00
Ulf Möller
52c4409240
v8plus must be specified.
1999-05-05 22:03:50 +00:00
Ulf Möller
f020bef164
Note about required SC5.0 patches.
1999-05-05 17:58:11 +00:00
Ulf Möller
4565c3e36f
Use ANSI stdarg.
1999-05-05 12:35:27 +00:00
Ulf Möller
5fd1e150f7
C++ bug fix.
...
Submitted by: Franco Papacella <franco@arpage.ch >
1999-05-05 11:54:39 +00:00
Ulf Möller
98f1c689a5
Fix problem with /usr/ccs/lib/cpp.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se >
1999-05-05 11:27:56 +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
49dce898f0
Andy Polyakov points out there are default rules in make in gmake for this.
1999-05-04 22:06:53 +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
d872c55c20
c_rehash doesn't work at that point of the installation, so don't even
...
try.
1999-05-04 15:41:01 +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
Ulf Möller
9de649ff05
Typo. (You ought to trademark "Configurion". :)
1999-05-04 11:17:11 +00:00
Ben Laurie
aeef69b102
Add other people who've done stackification.
1999-05-04 10:34:08 +00:00
Ralf S. Engelschall
9263e88294
Bundle stack'ification entries on Bens request
1999-05-04 10:27:10 +00:00
Ralf S. Engelschall
dee75ecf9c
Add missing sk_<type>_unshift() function to safestack.h
1999-05-04 10:15:02 +00:00
Ralf S. Engelschall
20b85fdd76
Convert casted X509_INFO stacks to type-safe STACK_OF(X509_INFO).
...
PS: Feel free to move the IMPLEMENT_STACK_OF(X509_INFO) from
crypto/asn1/x_info.c to any other place where you think it fits better.
X509_INFO is a structure slightly spreaded over ASN.1, X509 and PEM code,
so I found no definitive location for IMPLEMENT_STACK_OF(X509_INFO). In
crypto/asn1/x_info.c it's at least now bundled with X509_INFO_new() and
friends.
1999-05-04 08:56:51 +00:00
Ralf S. Engelschall
0f3e604589
consistency cosmetics
1999-05-04 06:50:45 +00:00
Ben Laurie
661b361b4b
Some more stack stuff.
1999-05-03 19:55:00 +00:00
Ben Laurie
0b3f827cf5
Yet another stack.
1999-05-02 21:36:58 +00:00
Bodo Möller
8051996a5b
Annotate a bug.
...
Submitted by:
Reviewed by:
PR:
1999-05-02 04:03:22 +00:00
Ben Laurie
5b1b044606
Update dependencies.
1999-05-01 22:36:10 +00:00
Bodo Möller
dc1f607aff
Entry for resolved error macro confusion.
...
Submitted by:
Reviewed by:
PR:
Submitted by:
Reviewed by:
PR:
1999-05-01 20:16:35 +00:00
Ben Laurie
d35ea5b00b
Another stack.
1999-05-01 18:29:59 +00:00
Ben Laurie
d500de1672
Another stack.
1999-05-01 18:08:44 +00:00
Bodo Möller
b3ca645f47
New function SSL_CTX_use_certificate_chain_file.
...
Submitted by:
Reviewed by:
PR:
1999-05-01 17:43:52 +00:00
Ben Laurie
65d4927b8d
Another safe stack.
1999-05-01 17:40:57 +00:00
Ralf S. Engelschall
3a1a8467bd
Better to not have blanks in .cvsignore files
1999-05-01 14:55:27 +00:00
Ralf S. Engelschall
8e8a8a5f5f
Start assembling some NEWS entries....
1999-05-01 14:47:08 +00:00
Bodo Möller
7f89714e64
Support verify_depth from the SSL API without need for user-defined
...
callbacks.
Submitted by:
Reviewed by:
PR:
1999-05-01 03:20:40 +00:00
Bodo Möller
69bb35ed72
Point out the "rehashing skipped" is not a problem.
...
Submitted by:
Reviewed by:
PR:
1999-05-01 00:28:56 +00:00
Bodo Möller
0fda2e3788
Add "static" to function definition
...
Submitted by: Anonymous
Reviewed by:
PR:
Submitted by:
Reviewed by:
PR:
1999-05-01 00:18:54 +00:00
Bodo Möller
c9e4bc2f07
Use correct error macro so that error messages make sense.
...
Submitted by:
Reviewed by:
PR:
1999-05-01 00:11:15 +00:00
Bodo Möller
dd1462fd18
Broken line that was too long.
...
Submitted by:
Reviewed by:
PR:
1999-05-01 00:07:42 +00:00
Ulf Möller
f223f0c054
Better Sun config.
...
Submitted by: Anonymous
1999-04-30 18:29:27 +00:00
Ulf Möller
b1fe6b43f4
More information about installing.
1999-04-30 18:22:59 +00:00
Bodo Möller
4eb77b2679
New function SSL_CTX_set_session_id_context.
...
Submitted by:
Reviewed by:
PR:
1999-04-30 17:15:56 +00:00
Bodo Möller
81c8ee091c
Hopefully improved compatibility with earlier versions of Perl5.
...
Submitted by:
Reviewed by:
PR:
1999-04-30 11:32:41 +00:00
Bodo Möller
0e88cb260b
Remove extra brace.
...
Submitted by:
Reviewed by:
PR:
1999-04-30 11:28:46 +00:00
Dr. Stephen Henson
801294f873
Fix a couple of cases where an attempt is made to lock an already locked
...
mutex.
1999-04-29 22:25:52 +00:00
Ulf Möller
7185e2d6cd
$perl should never be empty.
1999-04-29 22:10:24 +00:00
Ulf Möller
7e05db957f
Typo.
1999-04-29 22:07:40 +00:00
Bodo Möller
dea9babc59
Superseded by mklink.pl.
...
Submitted by:
Reviewed by:
PR:
1999-04-29 22:06:28 +00:00
Ulf Möller
299b36eaa4
Unused file.
1999-04-29 21:56:55 +00:00
Ulf Möller
c66527497c
OAEP bug fix.
1999-04-29 21:56:13 +00:00
Bodo Möller
0494855723
ignore Makefile.save
...
Submitted by:
Reviewed by:
PR:
1999-04-29 21:54:11 +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
9f5f32c9b0
Bug fix.
1999-04-29 20:31:56 +00:00
Ulf Möller
5dfc369ffc
Close files.
1999-04-29 16:22:55 +00:00
Bodo Möller
87bc2c00f8
Submitted by:
...
Reviewed by:
PR:
1999-04-29 16:10:41 +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
a79b03ce6f
Compare with BN_mod_exp_simple, too.
1999-04-29 16:07:56 +00:00
Ulf Möller
d575d2924c
Ignore Makefile.save
...
Submitted by: Anonymous
1999-04-29 16:04:54 +00:00
Ulf Möller
836b286fe9
exptest dumps core. Optimizer bug?
1999-04-29 16:01:53 +00:00
Ulf Möller
191a585342
Missing "else".
1999-04-29 13:37:45 +00:00
Bodo Möller
6dc08dd681
Pass PERL to sub-Makefiles during "make links".
...
Submitted by:
Reviewed by:
PR:
1999-04-29 13:10:45 +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
Bodo Möller
cc98d9b68c
Fix make target "install".
...
Submitted by: Niels Poppe
Reviewed by:
PR:
1999-04-29 12:30:49 +00:00
Bodo Möller
bf6841f5c1
Typo fixed.
...
Submitted by:
Reviewed by:
PR:
1999-04-28 23:42:28 +00:00
Ulf Möller
0d029f79f0
Change error message for consistency.
1999-04-28 22:41:26 +00:00
Bodo Möller
6e6acfd4b9
Use util/mklink.pl instead of util/mklink.sh.
...
Submitted by:
Reviewed by:
PR:
1999-04-28 22:33:54 +00:00
Ulf Möller
dd500770e2
Autogenerated files.
1999-04-28 22:24:08 +00:00
Ulf Möller
45b8be21bc
Ignore autogenerated assembler files.
1999-04-28 22:19:20 +00:00
Ulf Möller
e9b9fa1846
Decrypt test vector data even if previous decryption failed to get
...
better diagnostics.
1999-04-28 22:16:54 +00:00
Ulf Möller
d10c5c2209
Pass $PERL on make dclean.
1999-04-28 22:15:13 +00:00
Bodo Möller
065e106f25
A faster (and more general, and better documented) replacement for mklink.sh.
...
Submitted by:
Reviewed by:
PR:
1999-04-28 22:07:28 +00:00
Bodo Möller
ddeee82c63
Install various scripts to $(OPENSSLDIR)/misc instead of $(INSTALLTOP)/bin.
...
Submitted by:
Reviewed by:
PR:
1999-04-28 22:06:19 +00:00
Ulf Möller
bcaa88342b
Linux shared libraries (now in Makefile.ssl).
1999-04-28 16:16:53 +00:00
Ulf Möller
0973910fbb
Linux shared libraries.
1999-04-28 16:16:31 +00:00
Ulf Möller
73bfb9ad6a
Do make rehash automatically at make test.
1999-04-28 16:14:39 +00:00
Ben Laurie
8b1a3a9238
Don't shadow.
1999-04-28 12:13:45 +00:00
Ulf Möller
01378334dc
Remove autogenerated file.
1999-04-27 23:29:18 +00:00
Ulf Möller
1e103eafb3
Typo.
...
Pointed out by Nick Boyce <nick.boyce@eds.com >.
1999-04-27 21:27:04 +00:00
Ulf Möller
8cd8a7b7a2
More portable blowfish macros.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se >
1999-04-27 21:17:18 +00:00
Bodo Möller
67a4728511
A new comment.
...
Submitted by:
Reviewed by:
PR:
1999-04-27 16:48:06 +00:00
Ulf Möller
0c28ae22f1
*** empty log message ***
1999-04-27 12:01:53 +00:00
Ulf Möller
b5929507e3
Update NO_* macros.
1999-04-27 11:56:15 +00:00
Ulf Möller
61f217eec2
Undo.
1999-04-27 11:46:13 +00:00
Ulf Möller
d02f751ce1
Message digest stuff.
1999-04-27 04:18:53 +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
281c52c054
Add missing DEPFLAG.
1999-04-27 01:41:57 +00:00
Dr. Stephen Henson
6184255d0c
Oops ... fix warning.
1999-04-27 01:34:55 +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
b64f825671
Add PKCS#12 documentation and new option in x509 to add certificate extensions.
1999-04-27 00:36:20 +00:00
Ulf Möller
73d2257d97
Remove NOPROTO-related macros.
1999-04-26 22:20:07 +00:00
Ulf Möller
540e6c172e
Last week I proposed to increase the version number to 1.0.
...
So far nobody complained...
1999-04-26 20:56:18 +00:00
Ulf Möller
b736d909ee
Ignore autogenerated file.
...
Submitted by: Anonymous
1999-04-26 16:55:02 +00:00
Ulf Möller
a9be3af5ad
Remove NOPROTO definitions and error code comments.
1999-04-26 16:43:10 +00:00
Dr. Stephen Henson
47339f6179
Extensively changed the DEF file generator mkdef.pl to use a modified version
...
of Ulf's prototype parser, also general tidying and fixing of several problems
with the original. Its still a bit of a hack but should work.
This is the last bit of the old code that uses the K&R prototypes: after some
testing they can finally go away...
1999-04-26 00:23:10 +00:00
Dr. Stephen Henson
a1e464f94a
Fixes so it will compile again under Win32.
1999-04-25 20:57:09 +00:00
Dr. Stephen Henson
c74b3a6037
Various header consistency fixes.
1999-04-25 16:38:52 +00:00
Dr. Stephen Henson
5043fc9fd5
Fix mkerr.pl to find functions returning function pointers (thanks Ulf!)
...
also add a few missing prototypes.
1999-04-25 11:17:44 +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
Bodo Möller
4c0c739288
Comment changed.
...
Submitted by:
Reviewed by:
PR:
1999-04-25 09:34:36 +00:00
Ulf Möller
45050a7f3d
exit on error.
1999-04-25 09:22:05 +00:00
Bodo Möller
a75b81ad95
Removed traces of cryptall.h, and did a "make depend".
...
Submitted by:
Reviewed by:
PR:
1999-04-25 09:21:05 +00:00
Ulf Möller
9c4711c73a
*** empty log message ***
1999-04-24 23:39:52 +00:00
Ulf Möller
b0b7b1c5ae
New Configure option --openssldir to replace ssldir.pl.
1999-04-24 23:01:36 +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
5460ffdf82
cryptall.h is not needed for anything and cannot even be #include-d
...
without producing error messages.
Submitted by:
Reviewed by:
PR:
1999-04-24 18:52:03 +00:00
Bodo Möller
0b86eb3ea6
Fix header files so that any one can be included first.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 18:50:40 +00:00
Ulf Möller
574e991aa5
Replaced by mkerr.pl
1999-04-24 17:49:02 +00:00
Bodo Möller
4fd53220b6
Some instructions for how to handle the <foo.h> => <openssl/foo.h>
...
transition.
Submitted by:
Reviewed by:
PR:
1999-04-24 17:41:45 +00:00
Dr. Stephen Henson
7393480047
Change the command line options of mkerr.pl so -static is now default and
...
a -write option is needed to actually change anything. Second attempt at
getting rid of ERR, ERRC definitions: it might even work this time :-)
1999-04-24 17:28:43 +00:00
Bodo Möller
50cfd175c9
"perl util/mkerr.pl -static -recurse -rebuild" because the previous
...
codebase apparently was inconsistent. And crypto/Makefile.ssl
*does* need an ERRC ..
Submitted by:
Reviewed by:
PR:
1999-04-24 16:15:43 +00:00
Bodo Möller
eaecdc71eb
Removed superfluous reference to ERRC.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 15:58:52 +00:00
Bodo Möller
c76b0f751f
Restore ERRC definitions that are needed to compile the library.
...
Submitted by:
Reviewed by:
PR:
Submitted by:
Reviewed by:
PR:
1999-04-24 15:57:02 +00:00
Bodo Möller
2b6405faa5
Avoid "incomprehensible" errors when required definitions are missing.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 15:11:39 +00:00
Dr. Stephen Henson
6e781e8e07
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.
1999-04-24 13:28:57 +00:00
Bodo Möller
ad38bedbac
C indentation style definition for Emacs.
...
Submitted by:
Reviewed by:
PR:
1999-04-24 11:49:33 +00:00
Ulf Möller
0c6c96d44f
ANSIfy, fix typo in error message, and remove redundant statement from
...
my code.
1999-04-24 11:23:20 +00:00
Bodo Möller
7ebf7674be
Submitted by:
...
Reviewed by:
PR:
1999-04-24 00:53:29 +00:00
Dr. Stephen Henson
6d31193858
Complete rewrite of the error code generation script. It now runs as a single
...
script, translates function codes better and doesn't need the K&R function
prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are
still needed by the DEF generator...). I also ran the script with the -rewrite
option to update all the header and source files.
1999-04-24 00:15:18 +00:00
Bodo Möller
dd3c43c532
Submitted by:
...
Reviewed by:
PR:
1999-04-23 23:28:26 +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
ca20f59bd0
Submitted by:
...
Reviewed by:
PR:
1999-04-23 23:13:45 +00:00
Bodo Möller
bf57da0717
"make depend"
...
Submitted by:
Reviewed by:
PR:
1999-04-23 22:50:50 +00:00
Bodo Möller
018b4ee9bb
Submitted by:
...
Reviewed by:
PR:
1999-04-23 22:38:22 +00:00
Ulf Möller
6d2fa146a9
Remove header files from .cvsignore.
1999-04-23 22:32:21 +00:00
Bodo Möller
ab96338315
Submitted by:
...
Reviewed by:
PR:
1999-04-23 22:32:04 +00:00
Bodo Möller
92df96077e
Submitted by:
...
Reviewed by:
PR:
1999-04-23 22:20:21 +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
806115771c
*.org files are gone for good.
1999-04-23 21:31:54 +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
Ulf Möller
e27cc13f8e
Undo evil cast! <g>
1999-04-23 18:37:21 +00:00
Ulf Möller
4321a4ff7a
Function didn't get ANSIfied because of unusual formatting.
1999-04-23 17:49:26 +00:00
Ulf Möller
c6fdd7dc26
Recognize CPU version on NetBSD and FreeBSD.
...
NetBSD entry submitted by: Todd Vierling <tv@pobox.com >
1999-04-23 16:32:04 +00:00
Ben Laurie
61f5b6f338
Work with -pedantic!
1999-04-23 15:01:15 +00:00
Bodo Möller
779cc0bca9
Submitted by:
...
Reviewed by:
PR:
1999-04-23 00:05:27 +00:00
Ulf Möller
169cc7a112
Remove references to .org header file names.
1999-04-22 20:10:06 +00:00
Ulf Möller
1a01cad3ae
Pass the $PROCESSOR variable through.
1999-04-22 19:24:18 +00:00
Ulf Möller
5d3bb220c8
Set the 386 flag automatically when building on i386.
1999-04-22 19:23:56 +00:00
Ulf Möller
abb3e53f9b
Be more specify about system requirements.
1999-04-22 17:37:07 +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
Bodo Möller
85f48f7e93
Don't return 0 from ssl2_read when a packet with empty payload is received.
...
Submitted by:
Reviewed by:
PR:
1999-04-22 14:28:38 +00:00
Ben Laurie
6cda1005f8
Reverse unexplained change.
1999-04-22 14:17:12 +00:00
Bodo Möller
90b8bbb8da
Submitted by:
...
Reviewed by:
PR:
1999-04-22 13:38:03 +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
4cd401e401
Oops! Fixup CHANGES.
1999-04-21 17:46:23 +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
Ben Laurie
4997138a06
Fix DES export ciphersuites.
1999-04-21 13:24:58 +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
b30ff644ad
-Wall implies -Wuninitialized.
1999-04-20 22:48:03 +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
Ben Laurie
e4aac1cb68
const correctness.
1999-04-19 23:43:11 +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
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
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
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
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
c933b45e02
New "Configure" entry (Solaris with debug info)
...
Submitted by:
Reviewed by:
PR:
1999-04-19 13:40:07 +00:00
Bodo Möller
6c5d4168ff
Removed extra semicolons.
...
Submitted by:
Reviewed by:
PR:
1999-04-19 13:37:35 +00:00
Ulf Möller
d0521390a5
Pass $PERL on make errors.
1999-04-19 13:11:32 +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
ddb25f88c2
Another bug.
1999-04-16 11:32:33 +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
Ben Laurie
abed0b8a1f
Add new experimental ciphersuites. Bring naming into line with RFC.
1999-04-15 18:52:13 +00:00
Ben Laurie
28db340142
Just use an ANSI declaration, instead.
1999-04-15 10:10:21 +00:00
Bodo Möller
c1cf1eecdb
/* Just some comments. */
...
Submitted by:
Reviewed by:
PR:
1999-04-14 23:47:41 +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
d91f8c3ce8
Cleaning up Ben's clean-ups :-)
...
Submitted by:
Reviewed by:
PR:
1999-04-14 23:10:11 +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
Ben Laurie
8f7de4f04c
Typo.
1999-04-14 11:13:47 +00:00
Ralf S. Engelschall
52a48254c7
Start with some plans...
1999-04-14 09:32:51 +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
Ralf S. Engelschall
baf748ba09
SSL_ALLOW_ENULL was renamed to SSL_FORBID_ENULL some time ago by Ben.
1999-04-13 11:01:44 +00:00
Bodo Möller
dd5ae70333
Submitted by:
...
Reviewed by:
PR:
1999-04-13 02:32:38 +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
Ben Laurie
f73e07cf42
Add type-safe STACKs and SETs.
1999-04-12 17:23:57 +00:00
Ben Laurie
a36a1a5146
gcc claims this is a shadow, though I can't find what it is shadowing...
1999-04-12 17:17:39 +00:00
Ralf S. Engelschall
f9a2593163
Add `openssl ca -revoke <certfile>' facility which revokes a certificate
...
specified in <certfile> by updating the entry in the index.txt file.
This way one no longer has to edit the index.txt file manually for
revoking a certificate. The -revoke option does the gory details now.
Submitted by: Massimiliano Pala <madwolf@openca.org >
Cleaned up and integrated by: Ralf S. Engelschall
1999-04-12 11:45:14 +00:00
Ralf S. Engelschall
2f0cd19533
Fix openssl crl -noout -text' combination where -noout' killed the `-text'
...
option at all and this way the `-noout -text' combination was inconsistent in
`openssl crl' with the friends in `openssl x509|rsa|dsa'.
1999-04-12 10:36:16 +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
Bodo Möller
4211a99ba0
Obsoleted by new openssl command "list-cipher-commands".
...
Submitted by:
Reviewed by:
PR:
1999-04-11 02:52:44 +00:00
Bodo Möller
fc8ee06b4d
Submitted by:
...
Reviewed by:
PR:
1999-04-11 02:49:35 +00:00
Ralf S. Engelschall
7c7c88515f
Fix a few typos and tabs while I'm poking around in ca.c...
1999-04-10 13:15:38 +00:00
Ben Laurie
c0035435a9
Rid the world of yet more evil casts.
1999-04-10 12:09:17 +00:00
Ben Laurie
3bb307c10c
Adjust renegotiation slightly.
1999-04-10 12:08:46 +00:00
Ralf S. Engelschall
94c95d04c6
Fix a typo in the X.509v3 docs: cRLSign instead of cRLCertSign is correct
...
according to the sources.... found by Steffen Dettmer <steffen@tfh-berlin.de >.
1999-04-10 11:33:28 +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
Bodo Möller
c7ac31e26e
Bugfix: s_client occasionally would sleep in select() when it should
...
have checked SSL_pending() first.
Submitted by:
Reviewed by:
PR:
1999-04-09 20:54:25 +00:00
Ulf Möller
9d892e2855
recent changes.
1999-04-09 17:04:32 +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
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
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
dae08db4a0
Preprocessor file to allow testenc to test only those ciphers
...
that are available.
Submitted by:
Reviewed by:
PR:
1999-04-09 10:44:50 +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
Ulf Möller
acafc0b4ae
Bugs.
1999-04-08 20:45:53 +00:00
Bodo Möller
3f90e6793f
New "open issue" (ERR_...).
...
Submitted by:
Reviewed by:
PR:
1999-04-08 20:29:19 +00:00
Ulf Möller
44a25707fd
Avoid error message about missing gcc.
...
Submitted by: Niels Poppe <niels@netbox.org >
1999-04-08 19:51:16 +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
bacad008eb
Bad dependencies.
1999-04-08 15:19:36 +00:00
Ulf Möller
bc9cd58e8a
Test RSA after the BN library it is based on.
...
Submitted by: Anonymous <nobody@replay.com >
1999-04-08 15:09:24 +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
1ad86e8e7d
bn_div_words has been added to alpha.s (Hannes Reinecke's patch).
1999-04-07 23:37:33 +00:00
Ulf Möller
f4371a650a
More assembler problems; new OCSP patch; obsolete patches removed from
...
list.
1999-04-07 17:31:11 +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
Ben Laurie
121bd68d1c
Don't shadow.
1999-04-03 14:52:01 +00:00
Bodo Möller
cf897932ca
Avoid EADDRINUSE for s_server.
...
Submitted by:
Reviewed by:
PR:
1999-04-02 23:35:43 +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
b822aa562f
Pointer to Ariel Glenn's SSLeay documentation.
1999-04-01 13:09:56 +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
Ben Laurie
3dcc1ffc52
Don't shadow.
1999-04-01 10:17:35 +00:00
Ulf Möller
2613c1fa2f
New option to generate 80386 code.
1999-03-31 12:38:27 +00:00
Bodo Möller
6d02d8e444
New option "-showcerts" for s_client
...
Slight cleanup in ssl/
1999-03-31 12:06:30 +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
71308064cc
Typo.
...
PR:
1999-03-30 16:17:03 +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
ba423adddd
Linux PPC support.
1999-03-27 13:03:37 +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
Ralf S. Engelschall
85b283fff5
Update after release...
1999-03-23 14:48:59 +00:00
Ralf S. Engelschall
d343d272f5
Typo
1999-03-23 07:33:13 +00:00
Ralf S. Engelschall
8af354d449
Ops, interrupted commit. Fixed
1999-03-22 16:27:02 +00:00
Ralf S. Engelschall
36108adbb8
update list
1999-03-22 15:56:31 +00:00
Ralf S. Engelschall
f5904406d0
Merge ext-conf.txt and buffer.txt into a global openssl.txt because we
...
shouldn't again start with thousend little text files or we quickly come back
to the old SSLeay days ;-)
1999-03-22 15:55:01 +00:00
Ralf S. Engelschall
6e9f108dd7
Add two recently added functions
1999-03-22 15:53:08 +00:00
Ralf S. Engelschall
72e442a3a6
function names recently changed - consistency.
1999-03-22 15:50:34 +00:00
Ralf S. Engelschall
74355a3554
One more 0.9.2b
1999-03-22 15:44:10 +00:00
Ralf S. Engelschall
eee591a466
Final polishing for README file
1999-03-22 15:38:59 +00:00
Ralf S. Engelschall
738769ff43
Add latest changes to NEWS file
1999-03-22 15:38:12 +00:00
Ralf S. Engelschall
4109b97c4b
Bring style of INSTALL* documents in sync with README file
...
and fix some inconsistencies.
1999-03-22 15:36:37 +00:00
Ralf S. Engelschall
e42263c226
Remove up_ver.pl call
1999-03-22 15:02:34 +00:00
Ralf S. Engelschall
8b8839ba88
up_ver.pl is now obsolete
1999-03-22 15:01:30 +00:00
Ralf S. Engelschall
4f0a2bce80
More 0.9.2 -> 0.9.2b
1999-03-22 14:57:24 +00:00
Ralf S. Engelschall
e98b5b58a0
Be consistent: 0.9.2b
1999-03-22 14:54:52 +00:00
Ralf S. Engelschall
d56128f014
Remove obsolete references to SSLeay and change default PLATFORM from
...
"FreeBSD" to the generic "dist" as it's done implicitly by "make dist".
1999-03-22 14:45:08 +00:00
Ralf S. Engelschall
5ea177cfbc
Print a little bit more information
1999-03-22 14:38:33 +00:00
Ben Laurie
b4cadc6e13
Fix security hole.
1999-03-22 12:22:14 +00:00
Ralf S. Engelschall
0f423567a7
Add missing pipe char to "make dist" target.
...
Found by Richard Levitte <levitte@stacken.kth.se >
1999-03-20 13:49:32 +00:00
Ralf S. Engelschall
f4f2fe40e8
Remove confusing hint to non-existing file. Instead make it clear that one
...
shouldn't change it manually just here. The util/ssldir.pl script does more
and has to be used for this. Pointed out by Jacques Supcik
<supcik@inf.ethz.ch >.
1999-03-20 13:17:22 +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
e2e044faa1
Comment out the lines that generated by mk1mf.pl include three separate rules
...
that are equivalent to $(OUT_D). This was what was causing the 'too many rules'
warning under VC++.
1999-03-17 23:30:39 +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
Dr. Stephen Henson
b29524c15b
Delete Win32 test with testreq.pem and req: there is already a test with
...
testreq2.pem.
1999-03-12 22:59:13 +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
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
463dc742ff
This is now generated, it seems.
1999-03-12 20:19:45 +00:00
Ben Laurie
cadf126b99
Use the right compiler for ctx_size.
1999-03-12 19:58:43 +00:00
Dr. Stephen Henson
bc420ac592
Delete NULL ciphers from 'ALL' in the cipher list aliases. This means that
...
NULL ciphers specifically have to be enabled with e.g. "DEFAULT:eNULL". This
prevents cipher lists from inadvertantly having NULL ciphers at the top
of their list (e.g. the default ones) because they didn't have to be taken
into account before.
1999-03-12 01:43:28 +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
Ralf S. Engelschall
7e37e72a3d
Be less restrictive and allow also `perl util/perlpath.pl /path/to/bin/perl'
...
in addition to `perl util/perlpath.pl /path/to/bin', because this way one can
also use an interpreter named `perl5' (which is usually the name of Perl 5.xxx
on platforms where an Perl 4.x is still installed as `perl').
Submitted by: Matthias Loepfe <Matthias.Loepfe@adnovum.ch >
Reviewed by: Ralf S. Engelschall
1999-03-10 19:57:05 +00:00
Ralf S. Engelschall
637691e6b4
Let util/clean-depend.pl work also with older Perl 5.00x versions.
...
Submitted by: Matthias Loepfe <Matthias.Loepfe@adnovum.ch >
Reviewed by: Ralf S. Engelschall
1999-03-10 19:51:43 +00:00
Dr. Stephen Henson
381380206b
Fix couple of ANSI declarations and prototypes
1999-03-10 18:30:48 +00:00
Ralf S. Engelschall
035eb85d2f
Update
1999-03-10 16:17:31 +00:00
Ralf S. Engelschall
f11f8d580e
Update platform test list
1999-03-10 14:53:54 +00:00
Ralf S. Engelschall
defba77f39
Two more things we should look at before release
1999-03-10 14:50:28 +00:00
Dr. Stephen Henson
83ec54b40d
Make CC,CFLAG etc get passed to make links and various Win32 fixes.
1999-03-10 01:37:33 +00:00
Dr. Stephen Henson
e476f4256a
Remove some hard coded paths from Win32 test stuff.
1999-03-09 23:54:31 +00:00
Ben Laurie
047f1a4466
Remake cert links when the app is built.
1999-03-09 20:06:39 +00:00
Ralf S. Engelschall
38ef9a0c70
Update to current state...
1999-03-09 15:36:53 +00:00
Ralf S. Engelschall
15542b2847
Make it more clear what option -WWW to s_server does.
1999-03-09 13:09:07 +00:00
Ben Laurie
b241fefd98
Fix quad checksum bug.
1999-03-09 11:37:23 +00:00
Ben Laurie
cbb7792613
Go faster.
1999-03-09 10:10:03 +00:00
Ben Laurie
5d11adc8af
Correct English.
1999-03-09 10:08:17 +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
Ben Laurie
6420b77fec
test.
1999-03-08 21:56:46 +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
Ben Laurie
86fd166eeb
Make links no longer needed.
1999-03-08 13:32:44 +00:00
Ralf S. Engelschall
cdb8115660
Solaris 2.6 makes still problems.
...
Details were posted.
1999-03-08 12:56:07 +00:00
Ralf S. Engelschall
6b50354041
typo
1999-03-08 12:39:41 +00:00
Ralf S. Engelschall
d10f052be5
Make `openssl version' output lines consistent.
1999-03-08 12:35:01 +00:00
Ralf S. Engelschall
5a0611297b
Start with some more tarball rolling preparation to make sure it's not
...
overlooed next Monday:
- rmlinks is no longer existing
- use openssl as the name and not rse
- don't roll the STATUS file into the tarball
1999-03-08 12:17:53 +00:00
Ralf S. Engelschall
54d9976c79
Let us start with some platform test list...
1999-03-08 12:13:35 +00:00
Ralf S. Engelschall
c0e538e117
Fix Win32 symbol export lists for BIO functions: Added BIO_get_ex_new_index,
...
BIO_get_ex_num, BIO_get_ex_data and BIO_set_ex_data to ms/libeay{16,32}.def.
I'm not a Win32 hacker, but I think I've done it correctly.
Steve or Ben: can you confirm that it's correct?
I don't want to break any Win32 stuff.
1999-03-08 11:41:26 +00:00
Ralf S. Engelschall
84107e6ca8
Second round of fixing the OpenSSL perl/ stuff. It now at least compiled fine
...
under Unix and passes some trivial tests I've now added. But the whole stuff
is horribly incomplete, so a README.1ST with a disclaimer was added to make
sure no one expects that this stuff really works in the OpenSSL 0.9.2 release.
Additionally I've started to clean the XS sources up and fixed a few little
bugs and inconsistencies in OpenSSL.{pm,xs} and openssl_bio.xs.
PS: I'm still not convinces whether we should try to make this
finally running or kick it out and replace it with some
other module....
1999-03-08 11:25:49 +00:00
Ralf S. Engelschall
9ea0e64de7
Two more .cvsignore files for the assembler stuff
1999-03-08 09:47:30 +00:00
Ralf S. Engelschall
a5e035b54a
Notice freeze state and update my entry
1999-03-08 09:43:53 +00:00
Dr. Stephen Henson
1f0f37b0a4
Delete obsolete old X509V3 files.
1999-03-07 16:25:59 +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
26a0846fc1
Fix perl assembler.
1999-03-07 15:08:38 +00:00
Ben Laurie
05dc84b82b
Fix DWP when only given three parameters.
1999-03-07 15:08:04 +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
Ben Laurie
f2595f5402
Fix a typo.
1999-03-07 14:01:55 +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
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
Ben Laurie
bc3482442a
Disable new TLS1 ciphersuites.
1999-03-06 15:21:02 +00:00
Ben Laurie
a49034aba9
Fix names of cert stack functions.
1999-03-06 14:49:11 +00:00
Ralf S. Engelschall
03e20a1a44
Typo :-)
1999-03-06 14:41:24 +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
Ben Laurie
6242bb9c63
Put the dependencies back.
1999-03-06 14:32:48 +00:00
Ralf S. Engelschall
63493c7b06
Move the SSL_CTX_xxx defines at the top of ssl.h to the location of other
...
SSL_CTX_xxx defines. What was the reason to move them to the top, even before
the copyright and #ifdef HEADER_SSL_H? Hmmm... when there was and still is a
good reason feel free to reverse this patch, but please document why it is
needed this way.
1999-03-06 14:24:54 +00:00
Ben Laurie
f415fa3243
Fix export ciphersuites, again.
1999-03-06 14:09:36 +00:00
Ralf S. Engelschall
dfca822f79
Reshape the README file out of the existing README stuff
...
into a single file. Need more cleanup for final release IMHO.
1999-03-06 14:04:40 +00:00
Ralf S. Engelschall
2c6ccde1f7
just a little typo
1999-03-06 14:01:29 +00:00
Ralf S. Engelschall
3b52c2e715
Add a first cut for a NEWS document similar to what other packages (mostly GNU
...
packages) provide. The idea is that because of the large number of CHANGES
entries, this file summarizes the major changes for a brief overview.
1999-03-06 13:53:17 +00:00
Ralf S. Engelschall
1c308226fe
Bring the README file in sync and shape a little bit more...
1999-03-06 13:35:14 +00:00
Ralf S. Engelschall
0b903ec018
Cleaned up the LICENSE document: The official contact for any license
...
questions now is the OpenSSL core team under openssl-core@openssl.org . And
add a paragraph about the dual-license situation to make sure people recognize
that _BOTH_ the OpenSSL license _AND_ the SSLeay license apply to the OpenSSL
toolkit.
1999-03-06 13:29:09 +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
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
Ben Laurie
988788f697
Permit null ciphers.
1999-03-06 12:09:36 +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
Dr. Stephen Henson
d00b7aad5a
Workaround for a Win95 console bug triggered by the password read stuff.
1999-03-05 01:07:04 +00:00
Dr. Stephen Henson
9985bed331
Deleted my str_dup() function from X509V3: the same functionality is provided
...
by BUF_MEM_strdup(). Added text documentation to the BUF_MEM stuff.
1999-03-04 23:29:51 +00:00
Ralf S. Engelschall
789285aa96
Added the new `Includes OpenSSL Cryptography Software' button as
...
doc/openssl_button.{gif,html} which is similar in style to the old SSLeay
button and can be used by applications based on OpenSSL to show the
relationship to the OpenSSL project.
PS: This beast caused me three hours to create, because
of the size I had to hand-paint the 7pt fonts in Photoshop.
1999-03-04 12:55:42 +00:00
Ralf S. Engelschall
a06c602e6f
Remove confusing variables in function signatures in files
...
ssl/ssl_lib.c and ssl/ssl.h. At least the double ctx-variable
confused some compilers.
Submitted by: Lennart Bong <lob@kulthea.stacken.kth.se >
Reviewed by: Ralf S. Engelschall
1999-03-04 07:54:01 +00:00
Ralf S. Engelschall
8d697db1d0
Don't install bss_file.c under PREFIX/include/. It was introduced by Eric
...
between SSLeay 0.8 and 0.9 and just looks useless and confusing.
Pointed out by: Lennart Bong <lob@kulthea.stacken.kth.se >
Submitted by: Ralf S. Engelschall
1999-03-04 07:47:27 +00:00
Dr. Stephen Henson
06c6849124
Fix the Win32 compile environment and add various changes so it will now compile
...
under Win32 (9X and NT) again. Note: some signed/unsigned changes recently
checked in were killing the Win32 compile.
1999-03-03 02:01:26 +00:00
Ben Laurie
726bae3f0f
Supper's cooking.
1999-02-28 20:51:38 +00:00
Ben Laurie
eb90a483ad
Add functions to add certs to stacks, used for CA file/path stuff in servers.
1999-02-28 17:41:55 +00:00
Ben Laurie
49bc262459
More truth in declarations.
1999-02-28 14:39:18 +00:00
Ben Laurie
b4f10a7e92
doxygen configuration file.
1999-02-28 12:42:50 +00:00
Ben Laurie
4f43d0e71f
Experiment with doxygen documentation.
1999-02-28 12:41:50 +00:00
Ben Laurie
1efa9c33c0
Update dependencies.
1999-02-27 18:41:04 +00:00
Ralf S. Engelschall
74d7abc2ab
Get rid of remaining C++-style comments which strict C compilers hate.
...
(Pointed out by Carlos Amengual).
1999-02-27 12:17:40 +00:00
Ralf S. Engelschall
c707fb2741
Ops, the logic of the second argument has to be coupled with the != test to
...
work correctly for the SSL_CTX_xxx situations, too. Now "make test" passes
again fine.
1999-02-26 22:31:54 +00:00
Ralf S. Engelschall
aa2b6baf4f
Use consistent and existing addresses
1999-02-26 21:44:17 +00:00
Dr. Stephen Henson
7283ecea22
BN_RECURSION causes the stuff in bn_mont.c to fall over for large keys. For
...
now change it to BN_RECURSION_MONT so it isn't compiled in.
1999-02-26 01:37:34 +00:00
Ben Laurie
754048577b
Perhaps if I do a tiny bit of docco, others may follow?
1999-02-25 17:39:04 +00:00
Ralf S. Engelschall
090db4f475
Remember one more wish from the users
1999-02-25 14:44:55 +00:00
Ralf S. Engelschall
15d21c2df4
Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH
...
private keys and/or callback functions which directly correspond to their
SSL_CTX_xxx() counterparts but work on a per-connection basis. This is needed
for applications which have to configure certificates on a per-connection
basis (e.g. Apache+mod_ssl) instead of a per-context basis (e.g.
s_server).
For the RSA certificate situation is makes no difference, but for the DSA
certificate situation this fixes the "no shared cipher" problem where the
OpenSSL cipher selection procedure failed because the temporary keys were not
overtaken from the context and the API provided no way to reconfigure them.
The new functions now let applications reconfigure the stuff and they are in
detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback. Additionally a new
non-public-API function ssl_cert_instantiate() is used as a helper function
and also to reduce code redundancy inside ssl_rsa.c.
Submitted by: Ralf S. Engelschall
Reviewed by: Ben Laurie
1999-02-25 14:40:29 +00:00
Ralf S. Engelschall
ea14a91f64
Move s_server -dcert and -dkey options out of the undocumented feature area
...
because they are useful for the DSA situation and should be recognized by the
users. Thanks to Steve for the original hint.
1999-02-25 11:26:26 +00:00
Ralf S. Engelschall
4b8f2ce648
Typo
1999-02-25 11:06:52 +00:00
Ralf S. Engelschall
90a52cecaf
Fix the cipher decision scheme for export ciphers: the export bits are *not*
...
within SSL_MKEY_MASK or SSL_AUTH_MASK, they are within SSL_EXP_MASK. So, the
original variable has to be used instead of the already masked variable.
Submitted by: Richard Levitte <levitte@stacken.kth.se >
Reviewed by: Ralf S. Engelschall
1999-02-25 11:03:18 +00:00
Ralf S. Engelschall
def9f43151
Fix 'port' variable from int' to unsigned int' in crypto/bio/b_sock.c
...
Submitted by: Richard Levitte <levitte@stacken.kth.se >
Reviewed by: Ralf S. Engelschall
1999-02-25 10:54:27 +00:00
Ralf S. Engelschall
8aef252bf4
Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
...
from `int' to `unsigned int' because it's a length and initialized by
EVP_DigestFinal() which expects an `unsigned int *'.
Submitted by: Richard Levitte <levitte@stacken.kth.se >
Reviewed by: Ralf S. Engelschall
1999-02-25 10:47:24 +00:00
Ben Laurie
4f9b306ca7
Fix clearly untested "clever" hack.
1999-02-25 09:43:26 +00:00
Ralf S. Engelschall
74cc3698bd
More CVS ignore stuff...
1999-02-25 09:06:30 +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
Ralf S. Engelschall
1b3b0a54d1
Remember good pointers to Montgomery multiplication algorithm
...
descriptions as pointed out by Dave Carman <carman@erols.com >
1999-02-25 08:00:57 +00:00
Ralf S. Engelschall
7be304acdb
Make `openssl x509 -noout -modulus' functional also for DSA certificates (in
...
addition to RSA certificates) to match the behaviour of `openssl dsa -noout
-modulus' as it's already the case for `openssl rsa -noout -modulus'. For RSA
the -modulus is the real "modulus" while for DSA currently the public key is
printed (a decision which was already done by `openssl dsa -modulus' in the
past) which serves a similar purpose. Additionally the NO_RSA no longer
completely removes the whole -modulus option; it now only avoids using the RSA
stuff. Same applies to NO_DSA now, too.
1999-02-24 17:17:31 +00:00
Dr. Stephen Henson
6b313a7365
Remove debugging fprintf from req.c and fix the code so it properly skips over
...
the first leading XXX. in the DN.
1999-02-24 00:14:21 +00:00
Ben Laurie
1745a3fb9f
Code for reliable BIO.
1999-02-23 21:45:23 +00:00
Ben Laurie
55ab3bf7f9
Add reliable BIO.
1999-02-23 21:44:34 +00:00
Ben Laurie
15799403ad
Fix more warnings.
1999-02-23 12:53:49 +00:00
Ralf S. Engelschall
3a1daca9ef
Get rid of a nasty debugging message which was forgotten here...
1999-02-23 08:53:04 +00:00
Ralf S. Engelschall
f2f351ce9c
Fix usage message on gendsa:
...
1. The dsaparam argument is mandatory and not optional
2. Add a little text what this actually is: a filename
1999-02-23 08:52:20 +00:00
Ralf S. Engelschall
04fa4cb721
Make gcc -Wall happy ("might be used uninitialized...")
1999-02-23 07:47:30 +00:00
Dr. Stephen Henson
a43aa73e3b
Redo the way 'req' and 'ca' add objects: add support for oid_section.
1999-02-23 00:07:46 +00:00
Ben Laurie
0849d13811
Add syslogging BIO.
1999-02-22 21:21:08 +00:00
Dr. Stephen Henson
e527ba09a6
Various changes to make this stuff compile under Win32 and VC++ with and
...
without -debug option to mk1mf.pl. Change _export to is_export (_export is
a reserved word under VC++). Add yucky function prototype function pointer
casts. Sanitise the included files in crypto/x509v3.
Also changed ssleay.exe target to openssl.exe
1999-02-22 01:26:40 +00:00
Ben Laurie
60e31c3a4b
More stuff for new TLS ciphersuites.
1999-02-21 21:58:59 +00:00
Ben Laurie
a040ea8251
Undo a couple of kludges.
1999-02-21 20:07:41 +00:00
Ben Laurie
06ab81f9f7
Add support for new TLS export ciphersuites.
1999-02-21 20:03:24 +00:00
Ben Laurie
abf87f79f7
Fix warning.
1999-02-21 20:01:39 +00:00
Dr. Stephen Henson
deff75b634
Add preliminary user level config documentation for extension stuff. Programming
...
info will come later...
Feel free to reformat and tidy this up...
1999-02-21 17:41:08 +00:00
Dr. Stephen Henson
0c8a1281d0
Make RSA_NO_PADDING really use no padding.
...
Submitted by: Ulf Moeller <ulf@fitug.de >
1999-02-21 17:39:07 +00:00
Ralf S. Engelschall
189b6a6062
Remember some open issues and available patches
1999-02-21 12:33:58 +00:00
Dr. Stephen Henson
aa066b9e6e
Add more functionality to issuer alt name and subject alt name. New options
...
to include email addresses from DN and copy details from issuer certificate.
Include examples in openssl.cnf, update Win32 ordinals.
1999-02-21 01:46:45 +00:00
Ralf S. Engelschall
a67a9694f7
Ok, propose a release date of March 15th with a code freeze a few days before
...
so we have enough time for final testing and tarball rolling.
1999-02-20 16:50:53 +00:00
Ben Laurie
57c86f79bb
Fix a warning.
1999-02-20 16:36:28 +00:00
Ben Laurie
4004dbb7f6
Generate errors when public/private key check is done.
1999-02-20 11:50:07 +00:00
Dr. Stephen Henson
c74f1eb9bd
Preliminary support for reason code CRL extension.
1999-02-20 01:15:41 +00:00
Dr. Stephen Henson
ee5425d97d
Patch so the new crl stuff actually compiles this time :-) Also update the
...
Win32 ordinals.
1999-02-19 02:26:21 +00:00
Dr. Stephen Henson
0ca5f8b15c
Overhaul 'crl' application, add a proper X509_CRL_print function and start
...
to support CRL extensions.
1999-02-19 01:29:29 +00:00
Ben Laurie
6b056c414d
Fix case of new functions in error files.
1999-02-18 18:26:42 +00:00
Dr. Stephen Henson
0be9747b39
Oops! Remeber to include the other patches this time...
1999-02-17 23:22:57 +00:00
Dr. Stephen Henson
3d8accc3ae
Fuller authority key id support, partial support for private key usage extension
...
and really fix the ASN.1 IMPLICIT bug this time :-)
1999-02-17 23:21:01 +00:00
Ben Laurie
a49498969e
Add OAEP.
1999-02-17 21:11:08 +00:00
Dr. Stephen Henson
d08d8da432
Added code to GENERAL_NAME with support for more options and preliminary
...
support for assignment in config files.
1999-02-17 03:09:58 +00:00
Mark J. Cox
413c4f45ed
Updates to the new SSL compression code
...
[Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
Fix so that the version number in the master secret, when passed
via RSA, checks that if TLS was proposed, but we roll back to SSLv3
(because the server will not accept higher), that the version number
is 0x03,0x01, not 0x03,0x00
[Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)]
Submitted by:
Reviewed by:
PR:
1999-02-16 09:22:21 +00:00
Dr. Stephen Henson
a8236c8c32
Fix various memory leaks in SSL, apps and DSA
1999-02-15 21:05:21 +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
5236efdbf5
Update error codes.
1999-02-14 17:21:14 +00:00
Dr. Stephen Henson
388ff0b076
Add support for raw extensions. This means that you can include the DER encoding
...
of an arbitrary extension: e.g. 1.3.4.5=critical,RAW:12:34:56 Using this
technique currently unsupported extensions can be generated if you know their
DER encoding. Even if the extension is supported in future the raw extension
will still work: that is the raw version can always be used even if it is a
supported extension.
1999-02-14 16:48:22 +00:00
Ralf S. Engelschall
6013fa8395
Make sure latest Perl versions don't interpret some generated C array as Perl
...
array code in the crypto/err/err_genc.pl script.
Submitted by: Lars Weber <3weber@informatik.uni-hamburg.de >
Reviewed by: Ralf s. Engelschall
1999-02-14 13:21:52 +00:00
Dr. Stephen Henson
e3577ba07b
Convert ms/do_ms.bat to DOS EOL format of DOS chokes on it.
1999-02-14 02:37:45 +00:00
Dr. Stephen Henson
5c00879ef0
More Win32 fixes and upsdate INSTALL.W32 documentation.
1999-02-14 00:40:13 +00:00
Dr. Stephen Henson
9becf66621
Oops... add other changes this time too.
1999-02-13 23:13:32 +00:00
Dr. Stephen Henson
e2d795cb96
Modify configure script to generate some files that Win32 needs and new
...
script that does the same as 'make files'.
1999-02-13 23:12:30 +00:00
Ben Laurie
08853ba82d
Finally(?) fix DES stuff.
1999-02-13 21:49:34 +00:00
Ben Laurie
c09c3c4b2f
Update dependencies.
1999-02-13 19:03:16 +00:00
Ben Laurie
4e31df2cd7
Fix ghastly DES declarations, and all consequential warnings.
1999-02-13 18:52:38 +00:00
Dr. Stephen Henson
e4119b9311
Fix typo in asn1.h (PRINTABLESTRING_STRING) and fix a bug in object creation
...
perl script. It failed if the OID had any zeros in it.
1999-02-13 17:15:32 +00:00
Ben Laurie
4a71b90deb
Add support for 3DES CBCM mode.
1999-02-13 15:03:47 +00:00
Ben Laurie
436d318c80
In the absence of feedback either way, commit the fix that looks right for
...
wrong keylength with export null ciphers.
1999-02-13 12:39:50 +00:00
Ben Laurie
be560e7b67
Whoops, missed one.
1999-02-13 12:38:44 +00:00
Ben Laurie
9151d39645
Some cleanup.
1999-02-13 12:28:12 +00:00
Ben Laurie
0628728556
Actually use BN when selected!
1999-02-12 19:33:55 +00:00
Ben Laurie
65b8ca07a5
Tidy up asm stuff.
1999-02-12 19:05:10 +00:00
Dr. Stephen Henson
55a9cc6e47
Make the 'crypto' and 'ssl' options in the perl script mkdef.pl really work,
...
also add an 'update' option to automatically append any new functions to the
ssleay.num and libeay.num files.
1999-02-11 01:39:30 +00:00
Dr. Stephen Henson
3773d138ce
Delete a few unused files in apps, restore CAST WIN32 ASM file to main
...
tree.
1999-02-11 00:07:39 +00:00
Ralf S. Engelschall
4a16967b45
Remove one more totally bogus source file.
...
This one is exactly the same as ssl_sess.c.
Thanks to Adam Goodman <adam@a-domain.com > for hint.
1999-02-10 12:44:27 +00:00
Ralf S. Engelschall
c91531d9fe
Remove three more bogus files (2x temp file, 1x trash)
1999-02-10 12:37:59 +00:00
Ralf S. Engelschall
d5083e0142
What is on my ToDo list...
1999-02-10 09:47:05 +00:00
Ralf S. Engelschall
8073036dd6
Overhauled the Perl interface (perl/*):
...
- ported BN stuff to OpenSSL's different BN library
- made the perl/ source tree CVS-aware
- renamed the package from SSLeay to OpenSSL (the files still contain
their history because I've copied them in the repository)
- removed obsolete files (the test scripts will be replaced
by better Test::Harness variants in the future)
1999-02-10 09:38:31 +00:00
Ralf S. Engelschall
0517335e3c
Ignore mx86unix.cpp which is generated on Intel platforms
1999-02-10 08:48:10 +00:00
Ralf S. Engelschall
483fdf1883
Remember the cleanup
1999-02-10 08:34:01 +00:00
Ralf S. Engelschall
155d7a0e1d
First cut for a very conservative source tree cleanup:
...
1. merge various obsolete readme texts into doc/ssleay.txt
where we collect the old documents and readme texts.
2. remove the first part of files where I'm already sure that we no longer need
them because of three reasons: either they are just temporary files which
were left by Eric or they are preserved original files where I've verified
that the diff is also available in the CVS via "cvs diff -rSSLeay_0_8_1b"
or they were renamed (as it was definitely the case for the crypto/md/
stuff).
We've still a horrible mess under crypto/bn/asm/. There for a lot of files
I'm sure whether we need them or not. So, when someone knows it better, feel
free to cleanup there.
1999-02-10 08:26:08 +00:00
Ralf S. Engelschall
2c2cba0d13
Ops, one more reference to 0.9.1c. Make sure we don't forget it...
1999-02-10 08:21:19 +00:00
Dr. Stephen Henson
df16c60842
Oops. Forgot to do a 'make errors'.
1999-02-10 01:36:45 +00:00
Dr. Stephen Henson
175b0942ec
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.
1999-02-10 01:12:59 +00:00
Ben Laurie
c45beb91b3
Update dependencies.
1999-02-09 23:02:47 +00:00
Ben Laurie
bf5dcd135f
More exactitude with function arguments.
1999-02-09 23:01:08 +00:00
Dr. Stephen Henson
119f62881a
Oops... forgot to add new ENUMERATED file...
1999-02-09 01:30:41 +00:00
Dr. Stephen Henson
bceacf938f
Support for ASN1 ENUMERATED type. This copies and duplicates the ASN1_INTEGER
...
code and adds support to ASN1_TYPE and asn1parse.
1999-02-09 01:29:37 +00:00
Dr. Stephen Henson
068197a70c
Comment out def of currently unimplemented function to stop warning.
1999-02-08 00:48:30 +00:00
Ben Laurie
6457ad15a8
Minor tweaks to keep Perl 5.001 happy.
1999-02-07 18:22:15 +00:00
Dr. Stephen Henson
643aaa1979
Fix filename in comment.
1999-02-07 01:34:26 +00:00
Dr. Stephen Henson
142fcca8ca
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.
1999-02-07 00:14:12 +00:00
Dr. Stephen Henson
ebbfd76c69
Delete legacy file.
1999-02-06 20:30:40 +00:00
Ben Laurie
547ff5e6a9
Slightly improved diagnostics.
1999-02-06 18:09:13 +00:00
Ben Laurie
7ec218eb4a
Process extensions when they are there.
1999-02-06 17:46:23 +00:00
Ben Laurie
9f7646da25
Diagnose errors.
1999-02-06 15:20:44 +00:00
Ben Laurie
29d2824788
Typo in arguments.
1999-02-06 15:19:16 +00:00
Ben Laurie
c106c6132c
Clear error we don't care about.
1999-02-06 13:30:37 +00:00
Dr. Stephen Henson
a83d7d1491
Rename v3_bitstr.c to v3_bitst.c to fit in 8+3. Rebuild MINFO to reflect
...
change.
1999-02-06 12:35:53 +00:00
Mark J. Cox
6ccec43933
add what I'm doing and a vote
...
Submitted by:
Reviewed by:
PR:
1999-02-01 08:18:31 +00:00
Dr. Stephen Henson
72b35c4a26
Oops! Restore ssleay.num: it got overwritten with libeay.num :-(
1999-02-01 01:25:19 +00:00
Dr. Stephen Henson
f614496cfb
Delete bogus V3 prototype and update the *.num files to include ordinals for
...
the new functions. Update MINFO.
1999-02-01 01:17:53 +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
Dr. Stephen Henson
9b3086fe38
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.
1999-01-31 17:30:18 +00:00
Ben Laurie
d433f9014e
Yet more pissing about to get PEM built at the right moment.
1999-01-31 15:00:12 +00:00
Mark J. Cox
351d899878
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:
1999-01-31 12:14:39 +00:00
Ralf S. Engelschall
5810a5f4c7
Reflect correct filename
1999-01-31 11:19:17 +00:00
Ralf S. Engelschall
058bf5596b
Update README file a little bit...
1999-01-31 11:15:44 +00:00
Ralf S. Engelschall
b621d77258
Make sure make rehash' target really finds the openssl' program.
1999-01-31 11:10:10 +00:00
Mark J. Cox
d1f4c83ce5
Fix some more typos
...
Submitted by:
Reviewed by:
PR:
1999-01-31 09:59:54 +00:00
Mark J. Cox
bc2646ef11
fix typo
...
Submitted by:
Reviewed by:
PR:
1999-01-31 09:57:00 +00:00
Ben Laurie
a96e7810e2
Squeeze a bit more speed out of MD5 assembler.
1999-01-30 17:53:00 +00:00
Dr. Stephen Henson
679ab7c39e
Update STATUS, modify ssl.h so mkdef.pl will pick up prototypes and
...
add x509v3.h to mkdef.pl list of include files.
1999-01-30 17:35:01 +00:00
Ben Laurie
f33fbc2e1e
More pissing about to get pem.h to behave properly.
1999-01-30 14:05:52 +00:00
Ben Laurie
59ff713462
Break circular dependency between pem and err.
1999-01-30 13:40:34 +00:00
Ralf S. Engelschall
ae3d365f99
Ignore crypto/x509v3/lib
1999-01-30 13:26:41 +00:00
Ben Laurie
31df0990a1
Update dependencies.
1999-01-30 12:49:44 +00:00
Ben Laurie
5f0451daa2
Add dependencies.
1999-01-30 12:15:11 +00:00
Ralf S. Engelschall
4c441f30bb
Update
1999-01-30 12:06:16 +00:00
Ben Laurie
fc8c1a5c67
Update dependencies.
1999-01-30 12:05:42 +00:00
Ralf S. Engelschall
154adc8963
Change address now that we've the mailing lists established
1999-01-30 11:52:04 +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
0172f988c7
Fixed ms/32all.bat script: no_asm' -> no-asm'
...
Submitted by: Rainer W. Gerling <gerling@mpg-gv.mpg.de >
Reviewed by: Ralf S. Engelschall
1999-01-30 11:36:05 +00:00
Dr. Stephen Henson
79dfa97555
New program 'nseq' added to apps to allow Netscape certificate sequences to
...
be pulled apart and built.
1999-01-29 23:34:19 +00:00
Dr. Stephen Henson
9fe84296a4
Allow the -certfile argument to be used multiple times in crl2pkcs7.
...
Also fix typos in the usage messages: "inout" instead of "input".
1999-01-29 01:53:55 +00:00
Ralf S. Engelschall
288cb84fb4
Fill in more contents for the openssl(1) manpage.
1999-01-28 14:50:10 +00:00
Ralf S. Engelschall
7ae01d4adc
One more incorrect name in usage page
1999-01-28 14:48:31 +00:00
Ralf S. Engelschall
b6cff93dcf
Fix names in usage page of s_time, s_server and s_client
1999-01-28 14:44:08 +00:00
Mark J. Cox
a0a5407901
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:
1999-01-28 10:40:38 +00:00
Dr. Stephen Henson
8938272b32
Remember to add the new file this time :-)
1999-01-28 00:34:42 +00:00
Dr. Stephen Henson
92c046cac0
Add ASN1 code for netscape certificate sequences.
1999-01-28 00:16:44 +00:00
Dr. Stephen Henson
a27598bf7e
Add a few extended key usage OIDs.
1999-01-26 23:13:14 +00:00
Dr. Stephen Henson
b2347661ce
Still more X509 V3 stuff. Modify ca.c to work with the new code and modify
...
openssl.cnf for the new syntax.
1999-01-26 01:19:27 +00:00
Ben Laurie
fd9d35f56e
Oops. One header too many.
1999-01-25 21:36:51 +00:00
Ben Laurie
f3d2e56bb3
Update dependencies.
1999-01-25 21:25:54 +00:00
Ben Laurie
8a5222113b
Declare correctly on FreeBSD.
1999-01-25 21:20:57 +00:00
Ben Laurie
a224de3f5d
Reduce header dependencies.
1999-01-25 21:19:12 +00:00
Dr. Stephen Henson
f317aa4c9c
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.
1999-01-25 01:09:21 +00:00
Dr. Stephen Henson
d0cc3d3460
Add file x509v3.err.
1999-01-24 20:58:44 +00:00
Ben Laurie
9535d20282
Make sure people know when they need to rebuild the Makefile.
1999-01-24 18:15:00 +00:00
Ben Laurie
41c62a8e56
Minor constification.
1999-01-24 17:54:23 +00:00
Dr. Stephen Henson
834eeef995
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.
1999-01-24 17:50:32 +00:00
Dr. Stephen Henson
9aeaf1b4a7
Initial addition of new X509 V3 files, tidy of old files.
1999-01-24 00:50:01 +00:00
Ralf S. Engelschall
69d1dfba24
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.
1999-01-21 13:01:20 +00:00
Ben Laurie
1bbd21eec5
Correct bracketing error.
1999-01-21 11:46:01 +00:00
Dr. Stephen Henson
9b5cc156f3
Continued patches so certificates and CRLs now can support and use
...
GeneralizedTime.
1999-01-20 00:14:40 +00:00
Ben Laurie
6f93539970
This time, get it right.
1999-01-19 23:25:22 +00:00
Ben Laurie
8039257dbc
Finally lay dependencies to rest (I hope!).
1999-01-19 21:36:31 +00:00
Ben Laurie
b13a155492
Spelling mistake.
1999-01-19 19:18:20 +00:00
Dr. Stephen Henson
fdc71eccec
This is the result of a "make errors" with the new error building functionality
...
in place.
1999-01-18 22:19:46 +00:00
Dr. Stephen Henson
6c8abdd744
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.
1999-01-18 22:18:38 +00:00
Ben Laurie
4a66b7e0b2
Ignore auto-generated programs.
1999-01-17 16:28:06 +00:00
Ben Laurie
690ad20a0f
Dispose of generated programs.
1999-01-17 16:27:15 +00:00
Ben Laurie
649cdb7be9
Fix major cockup with short keys in CAST-128.
1999-01-17 16:26:24 +00:00
Dr. Stephen Henson
fdd3b64215
Update CHANGES for GeneralizedTime info.
1999-01-17 15:10:33 +00:00
Ben Laurie
dabba1104b
Correct Linux 1 recognition.
...
Contributed by: Ulf Möller <ulf@fitug.de >
1999-01-17 14:20:20 +00:00
Ben Laurie
f9e6fac357
Oops. Missing NULL frees.
1999-01-17 14:19:31 +00:00
Ben Laurie
512d222830
Remove pointless MD5 hash.
...
Contributed by: Anonymous <nobody@replay.com >
1999-01-17 14:14:41 +00:00
Ben Laurie
2c1ef383ae
Generate an error on an invalid directory.
1999-01-17 14:10:08 +00:00
Dr. Stephen Henson
f6aed2cda6
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.
1999-01-17 00:13:14 +00:00
Ben Laurie
c3ae9a4851
More prototypes.
1999-01-16 18:46:23 +00:00
Ben Laurie
f06b01eb62
More prototypes.
1999-01-16 17:56:00 +00:00
Ben Laurie
da10692aa2
More prototypes.
1999-01-16 17:49:12 +00:00
Ben Laurie
f7ba298480
More prototypes.
1999-01-16 17:40:04 +00:00
Ben Laurie
207ccf628d
More prototypes.
1999-01-16 17:28:15 +00:00
Ben Laurie
cd3916c40f
More prototypes.
1999-01-16 17:12:36 +00:00
Dr. Stephen Henson
ee13f9b165
Fix parameters to dummy function BN_ref_mod_exp().
1999-01-14 18:25:07 +00:00
Dr. Stephen Henson
27eb622b78
Submitted by: Neil Costigan <neil.costigan@celocom.com>
...
PR:
1999-01-14 18:21:57 +00:00
Dr. Stephen Henson
2d723902a0
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().
1999-01-12 18:40:33 +00:00
Ben Laurie
a6801a91cd
Add prototype, fix parameter passing bug.
1999-01-10 20:36:02 +00:00
Ben Laurie
1933485b60
Fix comment.
1999-01-10 19:41:33 +00:00
Ben Laurie
50acf46b92
Sort openssl functions by name.
1999-01-09 19:15:59 +00:00
Dr. Stephen Henson
7f9b7b074d
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.
1999-01-09 17:29:34 +00:00
Ben Laurie
cf6dcfec97
Get rid of redundant files.
1999-01-09 13:01:35 +00:00
Ben Laurie
e03ddfae7e
Accept NULL in *_free.
1999-01-07 19:15:59 +00:00
Ben Laurie
6fa89f94c4
Fix DH key generation.
...
Contributed by: Anonymous <nobody@replay.com >
1999-01-07 00:37:01 +00:00
Ben Laurie
c13d4799dd
Send the right CAs to the client.
1999-01-07 00:16:37 +00:00
Ben Laurie
bc4deee07a
Fix numeric -newkey args.
...
Contributed by: Bodo Moeller <3moeller@informatik.uni-hamburg.de >
1999-01-07 00:10:32 +00:00
Ben Laurie
5b00115ab0
Fix export tests.
1999-01-06 23:18:08 +00:00
Ben Laurie
f8c3c05db9
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!).
1999-01-06 22:53:34 +00:00
Dr. Stephen Henson
384c479c85
Oops! update CHANGES file properly.
1999-01-06 01:41:21 +00:00
Dr. Stephen Henson
ad65ce755e
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().
1999-01-06 01:39:24 +00:00
Ben Laurie
e416ad9772
Free the right thing.
1999-01-04 21:43:32 +00:00
Ben Laurie
4a18cddd16
Only free if it ain't NULL.
1999-01-04 21:39:34 +00:00
Ben Laurie
bb65e20b1c
Remove the bugfix that was really a bug.
...
Submitted by: Arne Ansper <arne@ats.cyber.ee >
1999-01-04 20:11:31 +00:00
Ben Laurie
b5e406f755
Pass on BIO_CTRL_FLUSH.
...
Submitted by: Arne Ansper <arne@ats.cyber.ee >
1999-01-04 19:55:12 +00:00
Paul C. Sutton
888007108b
The dir is named util/ and better to explicitly call the
...
perl interpreter because not everyone has it in /usr/local/bin/perl.
1999-01-04 09:58:25 +00:00
Dr. Stephen Henson
10061c7c47
More EVP_PKEY patches for new functionality.
1999-01-03 23:00:45 +00:00
Ralf S. Engelschall
cb0f35d716
Make sure the already existing X509_STORE->depth variable is initialized
...
in X509_STORE_new(), but document the fact that this variable is still
unused in the certificate verification process.
1999-01-03 15:31:11 +00:00
Ralf S. Engelschall
8a8d8ededd
The dir is named util/ and better to explicitly call the
...
perl interpreter because not everyone has it in /usr/local/bin/perl.
1999-01-03 14:58:44 +00:00
Ralf S. Engelschall
4c7b481b4c
More .cvsignore stuff to make CVS quiet on our generated files.
1999-01-03 13:17:47 +00:00
Dr. Stephen Henson
098fc2c0d8
Remove one EVP_PKEY_free() that shouldn't be there.
1999-01-03 02:15:34 +00:00
Dr. Stephen Henson
cfcf645356
Make sure applications free up pkey structures and add netscape extension
...
handling to x509.c
1999-01-03 01:08:33 +00:00
Ben Laurie
cdbb8c2f26
Fix reference counting.
1999-01-02 19:04:27 +00:00
Ben Laurie
c2245b68f5
Don't confuse matters by using the wrong library.
1999-01-02 19:03:46 +00:00
Ben Laurie
288370ea26
Fix tests for ssleay -> openssl.
1999-01-02 19:01:41 +00:00
Ralf S. Engelschall
2ec077d87e
A few train of thoughts about the build procedure mess
1999-01-02 16:28:51 +00:00
Paul C. Sutton
c142bdf725
Update scripts to use "openssl" instead of "ssleay"
1999-01-02 16:02:24 +00:00
Paul C. Sutton
c9f06e7f9f
Reflect change from "ssleay" to "openssl" as the main binary name.
...
Also document "sh config" as an easier alternative to "./Configure
system".
1999-01-02 15:53:22 +00:00
Paul C. Sutton
724e095e76
Various ssleay to openssl fixups
1999-01-02 15:52:11 +00:00
Paul C. Sutton
794b9c8f50
Binary is now apps/openssl not apps/ssleay so use the new name when
...
rehashing the test certs
1999-01-02 15:08:29 +00:00
Paul C. Sutton
251f25e0b5
A couple more ssleay.cnf to openssl.cnf changes
1999-01-02 15:05:08 +00:00
Paul C. Sutton
e170a5c050
Some more changes for renaming the binary from ssleay to openssl.
...
I wonder what eay.c is?
1999-01-02 14:42:23 +00:00
Ralf S. Engelschall
06d5b16225
First cut of a cleanup for apps/. First the `ssleay' program is now named
...
`openssl' and second, the shortcut symlinks for the `openssl <command>' are no
longer created. This way we have a single and consistent command line
interface `openssl <command>', similar to `cvs <command>'.
Notice, the openssl.cnf, openssl.c and progs.pl files were changed after a
repository copy, i.e. they still contain the complete file history.
1999-01-02 12:59:33 +00:00
Ralf S. Engelschall
0491b70983
Make GCC happy by removing an unused variable defintion.
1999-01-02 12:10:43 +00:00
Dr. Stephen Henson
c35f549e8b
Move DSA test in ca.c inside #ifdef and make pubkey BIT STRING always have
...
zero unused bits.
1999-01-02 01:53:06 +00:00
Dr. Stephen Henson
ebc828cad9
Add extended key usage OID and update STATUS file.
1999-01-01 18:43:44 +00:00
Ralf S. Engelschall
96e479e360
cleanup of apps/ and an answer
1999-01-01 15:58:14 +00:00
Paul C. Sutton
a472dde430
ssldir.pl did not correctly set the directory in utils/mk1mk.pl when
...
perl5 was used.
1999-01-01 14:17:55 +00:00
Paul C. Sutton
68a8a41bef
Add votes
1999-01-01 14:13:59 +00:00
Paul C. Sutton
79e259e3ce
Make the installation documentation easier to follow.
1999-01-01 14:04:07 +00:00
Paul C. Sutton
56ee3117a5
Makefiles updated to exit if an error occurs in a sub-directory make
...
(including if user presses ^C)
1999-01-01 12:51:11 +00:00
stephen
8f3e97bac3
This is a quick hack conversion of the 'CA.sh' script to perl. It fixes one
...
bug in the original but is otherwise just as horrible :-)
1999-01-01 00:54:48 +00:00
Ralf S. Engelschall
f7ceceb518
Remove more old temporary files from CVS
1998-12-31 21:51:27 +00:00
Ben Laurie
6063b27bb6
Document recent changes.
1998-12-31 17:11:46 +00:00
Ben Laurie
c77f1b37fd
Fix name delete problem.
1998-12-31 17:08:34 +00:00
Ben Laurie
c54b4ee16a
Fix pem/err ordering.
1998-12-31 16:50:03 +00:00
Ralf S. Engelschall
c1374a7dc0
A hint about the license
1998-12-31 12:52:23 +00:00
Ralf S. Engelschall
a6f20a1e01
Some issues for voting
1998-12-31 12:14:27 +00:00
Ralf S. Engelschall
9f28c57cea
More structuring and sorting of the SSL API documentation.
...
And the first steps to descriptions in prosa.
1998-12-31 11:18:15 +00:00
Ralf S. Engelschall
fcc6c7199b
Puhhh... now we've documented the prototypes of all 214 API "functions". This
...
is a pain to do, because of the various macro definitions which I had to
expand manually to get their prototype :-(
What's now needed is a volunteer who wants to write down one or two sentences
per API function to document it a little bit...
1998-12-31 10:33:17 +00:00
Ralf S. Engelschall
9cb0969f65
Fix version stuff:
...
1. The already released version was 0.9.1c and not 0.9.1b
2. The next release should be 0.9.2 and not 0.9.1d, because
first the changes are already too large, second we should avoid any more
0.9.1x confusions and third, the Apache version semantics of
VERSION.REVISION.PATCHLEVEL for the version string is reasonable (and here
.2 is already just a patchlevel and not major change).
tVS: ----------------------------------------------------------------------
1998-12-31 09:36:40 +00:00
stephen
792a90020f
Update CHANGES file for latest additions
1998-12-31 01:35:07 +00:00
stephen
e9b8eb3155
Fix for sk_insert bug: it never worked properly.
...
Allow explicit tag asn macros to handle indefinite length constructed stuff:
without this certain "certificates" can't be read in.
1998-12-31 00:59:02 +00:00
Ralf S. Engelschall
88fce97953
MIME encoding and ISO chars at the same time messes up the stuff
1998-12-30 23:09:13 +00:00
Ralf S. Engelschall
ce72df1c6a
Ops, forgot to commit the changes entry in recent commit...
1998-12-30 23:07:32 +00:00
Ralf S. Engelschall
db1842132f
Cleanup of doc/ directory: The old/obsolete SSLeay files are now assembled
...
together in a ssleay.txt file.
1998-12-30 22:58:47 +00:00
stephen
0c106d75e3
fix pk7_doit.c for new i2d_ASN1_SET argument
1998-12-30 20:34:50 +00:00
stephen
d97b4dd866
external error lib number now global and allow error lib to have a name
1998-12-30 18:42:02 +00:00
Ralf S. Engelschall
75b8dfc068
Create a STATUS file to coordinate us. Feel free to edit
1998-12-30 09:08:05 +00:00
Ralf S. Engelschall
1b4559977e
Replace AUTHOR with a better HISTORY as in FreeBSD's manpages
1998-12-30 07:21:32 +00:00
Ralf S. Engelschall
9b21f59103
Fix an error message
1998-12-30 07:12:35 +00:00
Ben Laurie
4098e89cbf
Fix incorrect DER encoding of SETs and all knock-ons from that.
1998-12-29 21:43:55 +00:00
Ben Laurie
03f8b04277
Add prototypes. Make Montgomery stuff explicitly for that purpose.
1998-12-29 17:22:31 +00:00
Ralf S. Engelschall
cb496082f8
Import the first cut for manual pages.
...
They are written in Perl's POD format for two reasons: First Perl is already
needed for SSLeay and second, POD is easy to write and maintain _AND_ created
nice looking NRoff manpages.
The idea is to have three manual pages:
openssl(1) ... The manpage for the `openssl' program (formerly ssleay)
crypto(3) .... The manpage for crypto.h/libcrypto.a
ssl(3) ....... The manpage for ssl.h/libssl.a
The openssl(1) should be very similar to cvs(1), i.e. it should document all
commands in a compact way. And I've even created the first cut for an
overview of all 243 functions of the SSL API for ssl.pod. More to come...
1998-12-29 17:12:34 +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
9228157c07
Typo.
1998-12-28 17:15:43 +00:00
Ben Laurie
5dcdcd475c
Autodetect FreeBSD 3.
1998-12-28 17:14:28 +00:00
Ben Laurie
1641cb6043
Add strictness, fix variable substition bugs.
1998-12-28 17:08:48 +00:00
Ralf S. Engelschall
bb258c1c5e
Test remote CVS commit...
1998-12-28 09:36:31 +00:00
Ralf S. Engelschall
ae82b46ffb
Test for new CVS repository
1998-12-26 12:42:56 +00:00
Ralf S. Engelschall
320a14cb5b
*** empty log message ***
1998-12-23 12:09:47 +00:00
Ralf S. Engelschall
f10a5c2a96
*** empty log message ***
1998-12-23 08:18:47 +00:00
Ralf S. Engelschall
9ce5db45be
*** empty log message ***
1998-12-23 07:58:53 +00:00
Ralf S. Engelschall
457c8a3965
Add include dir
1998-12-23 07:55:37 +00:00
Ralf S. Engelschall
5f32680329
Switch version string to SSLeay/OpenSSL
1998-12-23 07:53:55 +00:00
Ralf S. Engelschall
9acc2aa6d1
*** empty log message ***
1998-12-23 07:42:26 +00:00
Ralf S. Engelschall
f1c236f849
Switch to OpenSSL name
1998-12-23 07:38:54 +00:00
Ralf S. Engelschall
f92e687e17
Fix unused variable warning of GCC
1998-12-22 16:20:18 +00:00
Ralf S. Engelschall
305f402e75
*** empty log message ***
1998-12-22 16:04:08 +00:00
Ralf S. Engelschall
c537fb08cd
OpenTLS ready
1998-12-22 16:01:06 +00:00
Ralf S. Engelschall
13e91dd365
Incorporation of RSEs assembled patches
1998-12-22 15:59:57 +00:00
Ralf S. Engelschall
8c6c8d80b7
*** empty log message ***
1998-12-22 15:08:48 +00:00
Ralf S. Engelschall
651d0aff98
Various cleanups and fixed by Marc and Ralf to start the OpenTLS project
1998-12-22 15:04:48 +00:00
Ralf S. Engelschall
31b8d86844
This commit was generated by cvs2svn to track changes on a CVS vendor
...
branch.
1998-12-21 11:00:56 +00:00
Ralf S. Engelschall
15403de6ca
Import of old SSLeay release: SSLeay 0.9.1b (unreleased)
1998-12-21 11:00:43 +00:00
Ralf S. Engelschall
7dfb0b774e
This commit was generated by cvs2svn to track changes on a CVS vendor
...
branch.
1998-12-21 11:00:43 +00:00
Ralf S. Engelschall
78414a6a89
This commit was generated by cvs2svn to track changes on a CVS vendor
...
branch.
1998-12-21 10:56:39 +00:00
Ralf S. Engelschall
c7e9169997
Import of old SSLeay release: SSLeay 0.9.0b
1998-12-21 10:56:30 +00:00
Ralf S. Engelschall
eda1f21f1a
This commit was generated by cvs2svn to track changes on a CVS vendor
...
branch.
1998-12-21 10:56:30 +00:00
Ralf S. Engelschall
b7896b3cb8
This commit was generated by cvs2svn to track changes on a CVS vendor
...
branch.
1998-12-21 10:52:47 +00:00
Ralf S. Engelschall
ec96f926b9
Import of old SSLeay release: SSLeay 0.8.1b
1998-12-21 10:52:45 +00:00
Ralf S. Engelschall
90718ac527
This commit was generated by cvs2svn to track changes on a CVS vendor
...
branch.
1998-12-21 10:52:45 +00:00