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