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
623bb80b77
In some of the Makefiles CPP was not defined.
2000-03-20 18:16:52 +00:00
Ulf Möller
71b4d8971b
Problems with the Windows build.
2000-03-20 13:40:16 +00:00
Richard Levitte
c81ccaddad
Tagging done, we move to the next possible.
2000-03-20 07:47:37 +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
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
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
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
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
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
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
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
Dr. Stephen Henson
80870566cf
Make V_ASN1_APP_CHOOSE work again.
2000-03-14 03:29:57 +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
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
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
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
153a59f46d
Repair bss_log.
...
Curiously enough, void functions don't return a value.
2000-03-10 17:01:23 +00:00
Ulf Möller
837174dd63
bug fix.
...
Submitted by: "Yoram Meroz" <yoram@mail.idrive.com>
2000-03-09 17:07:19 +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
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
068fdce877
New compatability trust and purpose settings.
2000-03-07 14:04:29 +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
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
Ben Laurie
e45b3305b7
Get definition of ssize_t.
2000-03-04 11:42:40 +00:00
Bodo Möller
0a150c5c9f
Generate correct error reasons strings for SYSerr.
2000-03-04 01:36:53 +00:00
Ulf Möller
938d90db71
gcc warnings
2000-03-04 00:21:45 +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
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
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
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
f1a617edc9
check for WIN32 (needed by Mingw32)
2000-03-01 01:46:34 +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
Ulf Möller
96723a3a68
Bug fix.
...
Pointed out by: Gisle Vanem <gvanem@eunet.no>
2000-02-29 14:47:29 +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
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
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
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
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
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
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
Ulf Möller
688938fbb4
Bug fix!
2000-02-27 02:05:39 +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
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