Richard Levitte
a69e8ea1a1
Try to avoid double declaration of ERR_load_PEM_strings().
...
PR 71
2002-06-27 17:06:41 +00:00
Richard Levitte
47f3eafb8d
Try to avoid double declaration of ERR_load_PEM_strings().
...
PR 71
2002-06-27 17:06:28 +00:00
Richard Levitte
ca55c617e5
Pass CFLAG to dependency makers, so non-standard system include paths are
...
handled properly.
Part of PR 75
2002-06-27 16:44:52 +00:00
Richard Levitte
17085b022c
Pass CFLAG to dependency makers, so non-standard system include paths are
...
handled properly.
Part of PR 75
2002-06-27 16:39:25 +00:00
Richard Levitte
9063e375e8
DJGPP has some needed header files that other MSDOS/Windows compilers don't have.
...
Part of PR 75
2002-06-27 16:32:15 +00:00
Richard Levitte
4367eb8706
DJGPP has some needed header files that other MSDOS/Windows compilers don't have.
...
Part of PR 75
2002-06-27 16:32:04 +00:00
Richard Levitte
00e608c89d
When compiling for Windows, make sure we have the windows definitions declared.
...
Part of PR 123
2002-06-27 14:56:02 +00:00
Richard Levitte
fb96d9d90d
When compiling for Windows, make sure we have the windows definitions declared.
...
Part of PR 123
2002-06-27 14:55:52 +00:00
Richard Levitte
b4dfd76a4c
Use 32-bit sections instead of the default, 16-bit ones.
...
Part of PR 123
2002-06-27 14:54:39 +00:00
Richard Levitte
e1a32c1807
Use 32-bit sections instead of the default, 16-bit ones.
...
Part of PR 123
2002-06-27 14:54:34 +00:00
Richard Levitte
84ae14d754
Use bg instead of bag as argument to macros, to avoid clashes with
...
structure field names.
PR: 112
2002-06-27 09:54:14 +00:00
Richard Levitte
0df748e7e2
Use bg instead of bag as argument to macros, to avoid clashes with
...
structure field names.
PR: 112
2002-06-27 09:54:07 +00:00
Richard Levitte
a1fbe27123
A number of includes were removed from evp.h some time ago. The reason
...
was that they weren't really needed any more for EVP itself. However,
it seems like soma applications (I know about OpenSSH, but there may
be more) used evp.h as the 'load all' header file, which makes sense
since we try our best to promote the use of EVP instead of the lower
level crypto algorithms. Therefore, I put the inclusions back so
the application authors don't get too shocked by all the errors they
would otherwise get.
Thanks to Theo de Raadt for making us aware of this.
2002-06-27 05:03:12 +00:00
Richard Levitte
4942ef6f0e
A number of includes were removed from evp.h some time ago. The reason
...
was that they weren't really needed any more for EVP itself. However,
it seems like soma applications (I know about OpenSSH, but there may
be more) used evp.h as the 'load all' header file, which makes sense
since we try our best to promote the use of EVP instead of the lower
level crypto algorithms. Therefore, I put the inclusions back so
the application authors don't get too shocked by all the errors they
would otherwise get.
Thanks to Theo de Raadt for making us aware of this.
2002-06-27 05:03:00 +00:00
Bodo Möller
1c45b1fef3
Make sure buffers are large enough even for weird parameters
...
Submitted by: Nils Larsch
2002-06-26 14:29:10 +00:00
Bodo Möller
9ae08a9c04
Make sure buffers are large enough even for weird parameters
...
Submitted by: Nils Larsch
2002-06-26 14:28:41 +00:00
Geoff Thorpe
a2ffad81c8
Make sure any ENGINE control commands make local copies of string
...
pointers passed to them whenever necessary. Otherwise it is possible the
caller may have overwritten (or deallocated) the original string data
when a later ENGINE operation tries to use the stored values.
Submitted by: Götz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by: Geoff Thorpe
PR: 98
2002-06-21 02:48:57 +00:00
Geoff Thorpe
a6c6874a1a
Make sure any ENGINE control commands make local copies of string
...
pointers passed to them whenever necessary. Otherwise it is possible the
caller may have overwritten (or deallocated) the original string data
when a later ENGINE operation tries to use the stored values.
Submitted by: Götz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by: Geoff Thorpe
PR: 98
2002-06-21 02:38:08 +00:00
Lutz Jänicke
a947f2d2b6
<sys/select.h> is included for AIX, when USE_SOCKETS is defined.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:
2002-06-20 20:49:27 +00:00
Lutz Jänicke
081cdf3f63
<sys/select.h> is included for AIX, when USE_SOCKETS is defined.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:
2002-06-20 20:13:12 +00:00
Lutz Jänicke
da0616cd13
AIX (V3) requires <sys/select.h> (included via e_os.h) for fd_set.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:
2002-06-20 17:32:04 +00:00
Lutz Jänicke
d6e8f6ae2b
AIX (V3) requires <sys/select.h> (included via e_os.h) for fd_set.
...
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:
2002-06-20 17:31:12 +00:00
Bodo Möller
3f2f3d4264
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
2002-06-18 09:36:02 +00:00
Bodo Möller
c4c2c61e8c
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
PR: 102
2002-06-18 09:35:43 +00:00
Bodo Möller
7a68e6aad1
always include <string.h> (we do this in various other header files,
...
so it can't be bad)
PR: 102
2002-06-18 09:35:29 +00:00
Bodo Möller
5f3d6f70f6
Implement handling of EC parameter seeds (new functions
...
EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()).
New functions ECPKParameters_print(), ECPKParameters_print_fp().
Submitted by: Nils Larsch
2002-06-18 08:38:59 +00:00
Lutz Jänicke
48acb9e08a
Roll OpenSSL-0.9.7-beta2
...
Submitted by:
Reviewed by:
PR:
2002-06-16 11:27:44 +00:00
Lutz Jänicke
bdb6171334
OpenSSL_add_all_algorithms has been replaced by configuration dependent
...
functions and is redirected by macros. Switch it off now, possible removal
later.
2002-06-16 10:18:25 +00:00
Lutz Jänicke
9a82ef5255
OpenSSL_add_all_algorithms has been replaced by configuration dependent
...
functions and is redirected by macros. Switch it off now, possible removal
later.
Submitted by:
Reviewed by:
PR:
2002-06-16 10:16:42 +00:00
Lutz Jänicke
65ee74fbc7
Some more prototype fixes.
...
Use DECLARE macros in asn1* instead of direct declaration.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by:
PR: 89
2002-06-14 19:01:52 +00:00
Lutz Jänicke
4673461789
Some more prototype fixes.
...
Use DECLARE macros in asn1* instead of direct declaration.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by:
PR: 89
2002-06-14 18:59:53 +00:00
Richard Levitte
d7227da9a8
Merge from HEAD.
2002-06-13 23:37:26 +00:00
Richard Levitte
451dc18f10
Add support for DJGPP.
...
PR: 75
2002-06-13 20:42:35 +00:00
Richard Levitte
573a568dd0
Add support for DJGPP.
...
PR: 75
2002-06-13 20:40:49 +00:00
Richard Levitte
1ef5026ef9
Making a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
...
strictly necessary, so let's not do that.
2002-06-13 19:42:37 +00:00
Richard Levitte
fd8766b67e
Making a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
...
strictly necessary, so let's not do that.
2002-06-13 19:42:06 +00:00
Lutz Jänicke
40889b9cd3
Add missing prototypes.
...
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
PR: 89
2002-06-13 17:40:27 +00:00
Lutz Jänicke
7d210e5194
Add missing prototypes.
...
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by:
PR: 89
2002-06-13 17:38:58 +00:00
Dr. Stephen Henson
99889b46c9
Fix ext_dat.h extension ordering.
...
Reinstate -reqout code.
Avoid coredump in ocsp if setup_verify
fails.
Fix typo in ocsp usage message.
2002-06-13 12:56:27 +00:00
Dr. Stephen Henson
2e674fc611
Fix ext_dat.h extension ordering.
...
Reinstate -reqout code.
Avoid coredump in ocsp if setup_verify
fails.
Fix typo in ocsp usage message.
2002-06-13 12:54:52 +00:00
Lutz Jänicke
82869b3c8d
Add OIDs for Secure Electronic Transactions (SET)
...
Submitted by: Vadim Fedukovich <vf@unity.net>
Reviewed by: Lutz Jaenicke
PR: 80
2002-06-13 11:52:56 +00:00
Lutz Jänicke
5cfd3419c6
Add OIDs for Secure Electronic Transactions (SET)
...
Submitted by: Vadim Fedukovich <vf@unity.net>
Reviewed by: Lutz Jaenicke
PR: 80
2002-06-13 11:51:31 +00:00
Dr. Stephen Henson
b2e85f9d93
The new ASN1 code automatically allocates
...
structures for fields that are not OPTIONAL.
However in the AUTHORITY_INFO_ACCESS case
the 'location' field was set to NULL in
the old code.
So in 0.9.7+ we should free up the field before
overwriting it in v2i_AUTHORITY_INFO_ACCESS.
2002-06-13 00:43:59 +00:00
Dr. Stephen Henson
04cc76660a
The new ASN1 code automatically allocates
...
structures for fields that are not OPTIONAL.
However in the AUTHORITY_INFO_ACCESS case
the 'location' field was set to NULL in
the old code.
So in 0.9.7+ we should free up the field before
overwriting it in v2i_AUTHORITY_INFO_ACCESS.
2002-06-13 00:43:27 +00:00
Bodo Möller
254ef80db1
simplify asn1_flag
...
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2002-06-12 14:01:17 +00:00
Ben Laurie
d15711efc6
Handle read errors.
2002-06-11 12:41:37 +00:00
Ben Laurie
25ace3ed25
Fix warnings.
2002-06-11 12:03:51 +00:00
Ben Laurie
461f00dd53
Handle read failures better.
2002-06-11 11:41:26 +00:00
Bodo Möller
012c86ab74
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:41:18 +00:00
Bodo Möller
458c29175e
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:18:21 +00:00
Bodo Möller
8a5dbb0a2e
fix for 'make update'
2002-06-10 11:46:32 +00:00
Bodo Möller
22f03eaedf
fix for 'make update'
2002-06-10 11:45:21 +00:00
Bodo Möller
532203cdb0
remove unnecessary calls to EC_POINT_copy()
2002-06-10 11:02:55 +00:00
Bodo Möller
c6c0e4cb32
fix memory leak
...
Submitted by: Nils Larsch
2002-06-06 10:33:05 +00:00
Lutz Jänicke
0f7b63c834
Make sure that settings are passed back and forth when walking around
...
in the tree during build.
Reinstall default PERL settings in Makefiles, as the real reason for the
failure was that the settings were not passed.
2002-06-06 10:16:59 +00:00
Lutz Jänicke
3b66e34e74
Make sure that settings are passed back and forth when walking around
...
in the tree during build.
Reinstall default PERL settings in Makefiles, as the real reason for the
failure was that the settings were not passed.
Submitted by:
Reviewed by:
PR:
2002-06-06 10:14:16 +00:00
Lutz Jänicke
345731731a
New OID for X509 usage: pseudonym
...
Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de>
Reviewed by: Lutz Jaenicke
PR: 83
2002-06-06 07:33:00 +00:00
Lutz Jänicke
2250f475fc
New OID for X509 usage: pseudonym
...
Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de>
Reviewed by: Lutz Jaenicke
PR: 83
2002-06-06 07:30:45 +00:00
Richard Levitte
b6fc2386f0
It's not good to have a pointer point at something in an inner block.
...
PR: 66
2002-06-05 13:47:29 +00:00
Richard Levitte
2cddcd1dbb
It's not good to have a pointer point at something in an inner block.
...
PR: 66
2002-06-05 13:47:15 +00:00
Richard Levitte
9f353dd662
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
...
PR: 77
2002-06-05 11:58:29 +00:00
Richard Levitte
231360a3b7
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
...
PR: 77
2002-06-05 11:58:23 +00:00
Richard Levitte
778252741e
Since there's no continuation, the ; can go as well :-)
2002-06-05 09:08:49 +00:00
Richard Levitte
c8062c3a5e
Since there's no continuation, the ; can go as well :-)
2002-06-05 09:08:41 +00:00
Lutz Jänicke
05c08fc708
There is no continuation at this point.
2002-06-05 08:00:36 +00:00
Lutz Jänicke
96e40d97cc
There is no continuation at this point.
...
Submitted by:
Reviewed by:
PR:
2002-06-05 07:56:14 +00:00
Lutz Jänicke
bb0db9c491
The correct PERL interpreter is passed via commandline.
2002-06-05 07:03:17 +00:00
Lutz Jänicke
5795665a7d
The correct PERL interpreter is passed via commandline.
...
Submitted by:
Reviewed by:
PR:
2002-06-05 07:01:39 +00:00
Richard Levitte
3c204aaf50
use sstrsep() to get the proper type to aoti().
...
Remove unneeded cast in ustrsep().
PR: 69
2002-06-03 15:27:52 +00:00
Richard Levitte
6631a7e7f1
use sstrsep() to get the proper type to aoti().
...
Remove unneeded cast in ustrsep().
PR: 69
2002-06-03 15:27:46 +00:00
Lutz Jänicke
3ae184d31f
Ok, we are rolling 0.9.7-beta1 now.
...
Submitted by:
Reviewed by:
PR:
2002-06-01 15:21:55 +00:00
Ben Laurie
3e975124f3
Fix a warning.
2002-05-31 14:34:15 +00:00
Ben Laurie
74c467f9f2
Fix warnings.
2002-05-31 14:28:30 +00:00
Richard Levitte
b3e2acac4e
Add the AES test vectors from NIST document SP800-38A.
2002-05-31 13:13:51 +00:00
Richard Levitte
78055aa6a5
Add the AES test vectors from NIST document SP800-38A.
2002-05-31 13:13:43 +00:00
Richard Levitte
403fa0dc53
Make it possible to give vectors only for decryption or encryption.
2002-05-31 13:12:54 +00:00
Richard Levitte
e6bd5e8a6d
Make it possible to give vectors only for decryption or encryption.
2002-05-31 13:12:49 +00:00
Richard Levitte
f918c330a9
For CFB and OFB modes, always create the encryption key.
2002-05-31 13:11:48 +00:00
Richard Levitte
94f1b50c0f
For CFB and OFB modes, always create the encryption key.
2002-05-31 13:11:44 +00:00
Richard Levitte
7f52f77efe
Declare the CFB and OFB modes for AES, and prepare for a declaration
...
of CTR mode.
2002-05-31 13:10:24 +00:00
Richard Levitte
bd54d55c1d
Declare the CFB and OFB modes for AES, and prepare for a declaration
...
of CTR mode.
2002-05-31 13:08:53 +00:00
Richard Levitte
90b480f2af
In CFB mode, the iv is always encrypted.
2002-05-31 13:07:45 +00:00
Richard Levitte
09c70c3261
In CFB mode, the iv is always encrypted.
2002-05-31 13:07:39 +00:00
Richard Levitte
578c33c010
Reformat the CFLAG string so it can be made part of a C string.
...
Incidently, this works pretty well on the command line as well.
PR: 52
2002-05-30 18:06:52 +00:00
Richard Levitte
1ed0c6621b
Reformat the CFLAG string so it can be made part of a C string.
...
Incidently, this works pretty well on the command line as well.
PR: 52
2002-05-30 18:06:35 +00:00
Richard Levitte
c4ac954c59
Check the return values where memory allocation failures may happen.
...
PR: 49
2002-05-30 16:50:38 +00:00
Richard Levitte
9cdf87f194
Check the return values where memory allocation failures may happen.
...
PR: 49
2002-05-30 16:47:45 +00:00
Richard Levitte
6c98ed520d
Correct AES counter mode, which incorrectly incremented the counter before
...
using it.
PR: 56
2002-05-30 14:06:17 +00:00
Richard Levitte
dbdc5d14d3
Correct AES counter mode, which incorrectly incremented the counter before
...
using it.
PR: 56
2002-05-30 14:06:06 +00:00
Bodo Möller
6cbe638294
New functions EC_POINT_point2bn(), EC_POINT_bn2point(), EC_POINT_point2hex(), EC_POINT_hex2point()
...
Submitted by: Nils Larsch
2002-05-30 13:16:03 +00:00
Dr. Stephen Henson
08241a5814
Make i2c_ASN1_BIT_STRING return the correct length.
2002-05-29 23:14:01 +00:00
Dr. Stephen Henson
3a4b0bed49
Make i2c_ASN1_BIT_STRING return the correct length.
2002-05-29 23:11:55 +00:00
Richard Levitte
84f4e33ea3
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
...
PR: 58, submitted by andrew@cis.uoguelph.ca
2002-05-29 21:00:33 +00:00
Richard Levitte
3d27b1fa85
Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
...
PR: 58, submitted by andrew@cis.uoguelph.ca
2002-05-29 21:00:08 +00:00
Richard Levitte
156516ce44
Avoid loops when linking doesn't work
2002-05-23 15:27:21 +00:00
Richard Levitte
02cbedc387
Make sure short aliases are used where required.
2002-05-23 13:52:36 +00:00
Richard Levitte
e5d814d040
Define a short alias for another long EC symbol.
2002-05-23 13:34:38 +00:00
Richard Levitte
b09f4fb271
Make sure ECDSA is built and tested on VMS.
...
Avoid loops if linking an application fails.
2002-05-23 13:33:55 +00:00
Richard Levitte
1f4eada3b4
Make sure ECDSA is built and tested on VMS.
2002-05-23 13:33:08 +00:00
Richard Levitte
b935754cb0
Allow the use of the TCP/IP stack keyword TCPIP and NONE
2002-05-22 11:37:20 +00:00
Richard Levitte
7d2ff3f081
Allow the use of the TCP/IP stack keyword TCPIP and NONE
2002-05-22 11:37:02 +00:00
Richard Levitte
396bc53593
Use OPENSSL_SYS_VMS instead of just VMS
2002-05-22 11:35:45 +00:00
Richard Levitte
25a87e82d4
Use OPENSSL_SYS_VMS instead of just VMS
2002-05-22 11:35:41 +00:00
Richard Levitte
0984fcf118
Use 0 instead of NULL when casting to function pointers, to avoid
...
warnings from compilers when NULL is defined as '((void *)0)'.
This has already been applied in the main branch.
2002-05-22 07:56:38 +00:00
Richard Levitte
18cc99ac17
Remove warnings about uninitialised variables.
...
This has already been applied in the main branch.
2002-05-22 07:55:03 +00:00
Richard Levitte
2341e303da
This file was removed long ago. Why it's still in this branch is a
...
mystery to me.
2002-05-22 07:49:37 +00:00
Bodo Möller
dca142029c
accept NULL in 'free' functions
2002-05-21 09:00:54 +00:00
Bodo Möller
7711de24f9
accept NULL in 'free' functions
2002-05-21 08:59:57 +00:00
Dr. Stephen Henson
0fccb00b5b
Add missing EVP_CIPHER_CTX_init call.
2002-05-18 23:43:10 +00:00
Dr. Stephen Henson
ace2ca484b
Add missing EVP_CIPHER_CTX_init call.
2002-05-18 23:42:20 +00:00
Bodo Möller
855f0b4f2f
fix EVP_dsa_sha macro
...
Submitted by: Nils Larsch
2002-05-16 12:53:34 +00:00
Bodo Möller
46ffee4792
fix EVP_dsa_sha macro
...
Submitted by: Nils Larsch
2002-05-16 12:51:18 +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
Dr. Stephen Henson
bb3a69f801
Zero cipher_data in EVP_CIPHER_CTX_cleanup
...
Add cleanup calls to evp_test.c
2002-05-15 17:52:19 +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
Bodo Möller
55db40d3e0
make b_print.c consistent with the rest of OpenSSL:
...
disable assert() except for debug builds
2002-05-14 19:03:12 +00:00
Dr. Stephen Henson
e9ba69631b
EVP_SealFinal should return a value.
2002-05-11 17:37:08 +00:00
Dr. Stephen Henson
d0e3726ca4
EVP_SealFinal should return a value.
2002-05-11 17:33:01 +00:00
Dr. Stephen Henson
1c511bdb7c
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:22:55 +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
f9bd76e4f7
Avoid gcc warning: BN_DEC_CONV when SIXTY_FOUR_BIT is defined is unsigned.
2002-05-10 22:08:22 +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
7d2980f09e
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:50 +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
f1fe6fa6e4
One place where VMS wasn't changed to OPENSSL_SYS_VMS...
2002-05-09 18:27:56 +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
ecb7a9c73a
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:45 +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
Ben Laurie
4e9a77cf26
Fix warning.
2002-05-08 15:13:24 +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
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
2c8d0dccfc
improve wNAF generation
2002-05-05 23:45:09 +00:00
Richard Levitte
08130eb158
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:52 +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
Richard Levitte
d4294c8984
Synchronise with 0.9.7-stable.
2002-04-29 10:19:19 +00:00
Bodo Möller
dfc5336975
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:29:18 +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
Lutz Jänicke
4cea95a547
Added generationQualifier OID (proposed by Fiel Cabral).
...
Submitted by:
Reviewed by:
PR:
2002-04-25 18:00:13 +00:00
Richard Levitte
69a305d434
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:27 +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
ab5b1cf86b
ERR_file_name is no longer being used.
...
Submitted by:
Reviewed by:
PR:
2002-04-22 13:55:37 +00:00
Lutz Jänicke
af9675e75a
ERR_file_name is no longer being used.
2002-04-22 13:54:50 +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
Lutz Jänicke
d5d007abe3
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
2002-04-18 11:54:06 +00:00
Lutz Jänicke
365c6e4661
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
...
Submitted by:
Reviewed by:
PR:
2002-04-18 11:53:35 +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
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
e9caaa4ad9
Use the "mail" short name according to RFC2798 (Michael Bell
...
<michael.bell@rz.hu-berlin.de>).
Submitted by:
Reviewed by:
PR:
2002-04-15 13:28:53 +00:00
Lutz Jänicke
30911232c1
Some more OID enhancements.
2002-04-15 10:41:38 +00:00
Lutz Jänicke
a6198b9ed1
Some more OID enhancements.
...
Submitted by:
Reviewed by:
PR:
2002-04-15 10:38:37 +00:00
Lutz Jänicke
2940a1298e
Fix CRLF problem in BASE64 decode.
2002-04-15 09:55:40 +00:00
Lutz Jänicke
a7be294ed7
Fix CRLF problem in BASE64 decode.
...
Submitted by:
Reviewed by:
PR:
2002-04-15 09:53:47 +00:00
Bodo Möller
617f461c9d
remove disabled code
2002-04-14 13:28:41 +00:00
Bodo Möller
f916052eab
remove disabled code
2002-04-14 13:28:17 +00:00
Bodo Möller
b975183c41
ECDSA representation bugfixes
...
Submitted by: Nils Larsch
2002-04-12 08:57:01 +00:00
Richard Levitte
7b907f0bb5
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:14:10 +00:00
Richard Levitte
083100e2ab
Check error code from a2d_ASN1_OBJECT().
2002-04-11 22:13:58 +00:00
Richard Levitte
9dfcad117c
Change the date to XX xxx XXXX in development versions.
2002-04-11 21:53:57 +00:00
Richard Levitte
241d2ba1da
Change the date to XX xxx XXXX in development versions.
2002-04-11 21:51:40 +00:00
Bodo Möller
d0561b5c2d
fix ECDSA handling
...
Submitted by: Nils Larsch
2002-04-09 12:01:21 +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
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
248252682c
make update
2002-04-06 19:15:27 +00:00
Lutz Jänicke
ce34d0ac09
Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).
...
Submitted by:
Reviewed by:
PR:
2002-04-04 17:49:39 +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
4e9dd6b0f5
Forgot one of the casts
2002-04-03 15:02:00 +00:00
Richard Levitte
bbd79bdf03
Forgot one of the casts
2002-04-03 15:01:28 +00:00
Richard Levitte
b6ccbffe2b
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:50 +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
Richard Levitte
1aecc34e9e
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:43 +00:00
Lutz Jänicke
ffbe98b763
Make short names of objects RFC2256-compliant.
2002-03-26 17:18:48 +00:00
Lutz Jänicke
75b9c0044c
Make short names of objects RFC2256-compliant.
...
Submitted by:
Reviewed by:
PR:
2002-03-26 17:15:32 +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
600b77a93f
Add the possibility to enable olde des support, not just disable it, for future support. Redocument
2002-03-26 14:26:08 +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
39335c356b
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:58:30 +00:00
Richard Levitte
c7b41e67f0
Correct the mapping for des_read_pw()
2002-03-26 13:54:15 +00:00
Richard Levitte
a3c62bb737
Correct the mapping for des_read_pw()
2002-03-26 13:54:04 +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
2f6263a696
fix memory leak
...
Submitted by: Nils Larsch
2002-03-25 23:17:35 +00:00
Bodo Möller
d5c21afd4b
add missing declaration
...
Submitted by: Nils Larsch
2002-03-25 23:15:21 +00:00
Bodo Möller
35748f40d6
add missing declaration
...
Submitted by: Nils Larsch
2002-03-25 23:14:50 +00:00
Bodo Möller
9e7733a743
fix conditational compilation for OPENSSL_NO_...
2002-03-22 11:02:45 +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
fc0bdd1aa8
Key schedules are given as arguments a bit differently in 0.9.6 and
...
earlier. Also, it was an error to define crypt() at all times.
2002-03-22 10:46:13 +00:00
Richard Levitte
90453438ff
Merge changes from 0.9.7-stable
2002-03-22 10:32:23 +00:00
Richard Levitte
e9dad4048f
Key schedules are given as arguments a bit differently in 0.9.6 and
...
earlier. Also, a few 0.9.6 functions were missing their mappings.
2002-03-22 10:29:56 +00:00
Richard Levitte
2e63f3b733
Merge in DES changed from 0.9.7-stable.
2002-03-22 02:49:46 +00:00
Richard Levitte
e9f970891d
Change des_old.h so OpenSSL 0.9.6 compatibility is default. One must
...
define OPENSSL_DES_LIBDES_COMPATIBILITY to get libdes compatibility.
At the same time, correct a couple of argument errors for the cfb
encryption routines.
Make destest use as much of the old API as possible, to make sure it
works properly. Other tests will use the new API...
2002-03-22 02:33:24 +00:00
Lutz Jänicke
f90c544039
Remove superflous statement <justin.fletcher@ntlworld.com>.
...
Submitted by:
Reviewed by:
PR:
2002-03-21 19:10:07 +00:00
Lutz Jänicke
be3d90de02
Remove superflous (and buggy) statement <justin.fletcher@ntlworld.com>.
2002-03-21 19:08:35 +00:00