Richard Levitte
8de7587e02
Merge from main trunk.
2000-09-17 00:10:29 +00:00
Richard Levitte
f30839ecaa
Merged in the main trunk, did a 'make update', added a couple of
...
warnings in appropriate places about building a shared library from
the ENGINE source.
2000-09-15 22:36:49 +00:00
cvs2svn
eb31944f81
This commit was manufactured by cvs2svn to create branch 'BRANCH_engine'.
2000-09-15 22:12:54 +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
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
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
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
Richard Levitte
0dcf7fd543
Merge of main trunk, conflicts resolved.
2000-09-13 21:20:49 +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
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
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
Richard Levitte
2be9694116
Merge of main trunk, conflicts resolved.
2000-09-12 08:37:51 +00:00
Richard Levitte
8e1ec9fb37
Actually, that was perfectly correct. The fault is in the checking
...
elsewhere.
2000-09-11 22:17:31 +00:00
Richard Levitte
dc005a7367
cswift_dsa_verify() incorrectly return -1 on error.
2000-09-11 22:15:53 +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
da867a51a0
Time to build the beta of the engine branch. Change version number
...
texts accordingly.
2000-09-11 13:28:35 +00:00
Richard Levitte
25814b9690
Merge of main trunk, no conflicts this time.
...
make update
2000-09-11 13:23:47 +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
25a73f2690
A cast is needed or Borland C will complain.
2000-09-11 11:43:35 +00:00
Richard Levitte
0fc7c5010d
Merge of main trunk, no conflicts this time
2000-09-11 10:18:56 +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
Richard Levitte
ef413a7ee8
Merge of main trunk, no conflicts this time
2000-09-09 18:10:35 +00:00
Richard Levitte
0baed24c1b
More VMS synchronisation
2000-09-09 18:05:27 +00:00
Richard Levitte
dcd4d341e1
Since C compilers on VMS (perhaps with gcc being the great exception)
...
do not quite follow the same rules as on Unix, we need to use the
FLAT_INC tweak to include the vendor-specific header files.
2000-09-09 07:14:43 +00:00
Richard Levitte
61b337bd22
Synchronise VMS with Unix.
2000-09-09 07:07:54 +00:00
Richard Levitte
06b71aec85
Merge of main trunk, no conflicts this time
2000-09-09 07:03:02 +00:00
Ulf Möller
4f7068c165
Fix some CygWin problems.
2000-09-09 04:45:18 +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
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
192295a094
Merge main trunk to engine branch, all conflicts resolved.
2000-09-07 10:59:04 +00:00
Richard Levitte
62ab514e98
'make update'
2000-09-07 08:46:51 +00:00
cvs2svn
7dfded5c26
This commit was manufactured by cvs2svn to create branch 'BRANCH_engine'.
2000-09-07 08:18:06 +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
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
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
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
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
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
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
29dc25e88a
Increase print buffer (10K instead of just 2K).
2000-09-05 12:43:39 +00:00