| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
unicode strings. Certain PKCS#12 files contain these
in BMPStrings and it used to crash on them.
|
|
|
|
|
| |
didn't even give a warning for this yet HPUX cc considered it an error.
Reported by Lutz(@openssl.org).
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
correctly, but RAND_add(..,n) counts the increasing n several times.
Only RAND_add(..,n) once entropy collection is finished.
|
|
|
|
|
|
|
| |
"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).
|
|
|
|
|
| |
to LHASH usage. NB: The callback type used as been suctioned off into
crypto.h as CRYPTO_MEM_LEAK_CB to improve clarity.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
build system...
|
|
|
|
| |
Fix bug in OCSP_find_status().
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
and subject to addition, modifcation or deletion.
Add two OCSP nonce utility functions.
Fix typo in status code name.
|
| |
|
|
|
|
|
|
| |
application needs.
Add OCSP library name to error code.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
uses the new ASN1 code.
|
| |
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
zap some evil function pointers casts along the way...
|
| |
|
| |
|
|
|
|
| |
something more efficient later...
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The old function pointer versions will eventually go
away.
|
| |
|
|
|
|
|
|
|
| |
functions and signed/unsigned mismatch.
This will of course change if some of the unused functions
suddenly get used...
|
|
|
|
|
|
|
| |
STACK_OF(X509_EXTENSION) so it should be passed
STACK_OF(X509_EXTENSION) ** in the first argument.
Modify wrappers appropriately.
|
|
|
|
|
|
|
| |
encoding, replacing and deleting extensions.
Fix X509V3_get_d2i() so it uses takes note of
new critical behaviour.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: draslar <draslar@elray.ch>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
structures and setting rsa->_method_mod_{n,p,q}.
Submitted by: "Reddie, Steven" <Steven.Reddie@ca.com>
|
|
|
|
| |
obsolete code. Delete some redundant files.
|
| |
|
| |
|
|
|
|
| |
Spotted by "David Schwartz" <davids@webmaster.com>.
|
|
|
|
| |
just a NULL and appears in a certificate.
|
| |
|
|
|
|
| |
are all raw print only extensions at present.
|
|
|
|
| |
in NO_ASM configurations
|