aboutsummaryrefslogtreecommitdiff
path: root/crypto/pkcs12
AgeCommit message (Collapse)AuthorFilesLines
2001-04-03Plug a memory leak. Spotted by "Shijin" <shijin@comex.com>Richard Levitte1-0/+1
2001-03-18Fix PKCS#12 key generation bug.Dr. Stephen Henson1-2/+9
2001-03-09Instead of telling both 'make' and the user that ranlibBodo Möller1-2/+1
errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
2001-03-09Change the EVP_somecipher() and EVP_somedigest()Dr. Stephen Henson3-6/+6
functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
2001-02-26make updateRichard Levitte1-32/+31
Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
2001-02-23Get rid of ASN1_ITEM_FUNCTIONS dummy functionDr. Stephen Henson1-6/+6
prototype hack. This unfortunately means that every ASN1_*_END construct cannot have a trailing ;
2001-02-23Initial support for ASN1_ITEM_FUNCTION option toDr. Stephen Henson2-16/+16
change the way ASN1 modules are exported. Still needs a bit of work for example the hack which a dummy function prototype to avoid compilers warning about multiple ;s.
2001-02-22e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte1-79/+79
and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
2001-02-19Make all configuration macros available for application by makingRichard Levitte5-138/+135
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2001-02-04Make depend.Ben Laurie1-137/+144
2001-01-24Add debugging info to new ASN1 code to trace memory leaks.Dr. Stephen Henson1-8/+0
Fix PKCS7 and PKCS12 memory leaks. Initialise encapsulated content type properly.
2001-01-14Change PKCS#12 key derivation routines to cope withDr. Stephen Henson4-9/+13
non null terminated passwords.
2001-01-10Fix uni2asc() so it can properly convert zero lengthDr. Stephen Henson1-1/+1
unicode strings. Certain PKCS#12 files contain these in BMPStrings and it used to crash on them.
2000-12-31Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson8-121/+167
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).
2000-12-30Delete PKCS#12 redundant files.Dr. Stephen Henson4-647/+0
2000-12-08Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson4-112/+150
to main trunk. Lets see if the makes it to openssl-cvs :-)
2000-11-12in some new file names the first 8 characters were not uniqueUlf Möller1-72/+69
2000-10-14The experimental Rijndael code moved to the main trunk.Richard Levitte1-58/+77
make update done.
2000-09-25'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte1-1/+2
acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
2000-09-17Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte4-11/+11
of complaints from the compiler about data pointers and function pointers not being compatible with each other.
2000-09-07Two new PKCS#12 demo programs.Dr. Stephen Henson1-11/+25
Update PKCS12_parse(). Make the keyid in certificate aux info more usable.
2000-09-07'make update'Richard Levitte1-32/+41
2000-08-24New option to CA.pl to sign request using CA extensions.Dr. Stephen Henson1-0/+2
This allows intermediate CAs to be created more easily. PKCS12_create() now checks private key matches certificate. Fix typo in x509 app. Update docs. New function ASN1_STRING_to_UTF8() converts any ASN1_STRING type to UTF8.
2000-08-14MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte1-96/+106
test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-07-05I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte1-74/+80
could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
2000-06-21Fixes for Win32 build.Dr. Stephen Henson2-4/+4
This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-)
2000-06-20Handle ASN1_SET_OF and PKCS12_STACK_OF using functionDr. Stephen Henson2-15/+15
casts in the same way as STACK_OF.
2000-06-16Safe stack reorganisation in terms of function casts.Dr. Stephen Henson1-31/+0
After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
2000-06-13Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe1-94/+105
Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte9-25/+25
like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
2000-06-01"make update" + stripping the type-specific stack functions out ofGeoff Thorpe1-0/+31
libeay.num and ssleay.num.
2000-05-16Typesafety Thought Police part 3.Ben Laurie5-44/+26
2000-05-16Typesafety Thought Police Part 2.Ben Laurie6-46/+92
2000-05-15Get rid of more non-ANSI declarations.Ulf Möller3-14/+14
2000-05-04Make PKCS#12 code handle missing passwords.Dr. Stephen Henson3-14/+31
Add a couple of FAQs.
2000-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte1-3/+3
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
2000-03-22Fix a memory leak in PKCS12_parse.Dr. Stephen Henson3-15/+26
Don't copy private key to X509 etc public key structures. Fix for warning.
2000-03-07Check that a password was actually passed, or the user will just getRichard Levitte1-0/+8
mysterious crashes.
2000-03-05Preserve reason strings in automatically build tables.Bodo Möller1-1/+2
2000-03-04Beautifying. Sorry, but code that's slammed to the far left is notRichard Levitte1-29/+34
very readable in my opinion.
2000-03-03Fix for previous patch: If RAND_pseudo_bytes returns 0, this is not an error.Bodo Möller1-1/+1
2000-03-02Use RAND_pseudo_bytes, not RAND_bytes, for IVs/salts.Bodo Möller1-1/+1
2000-01-30Seek out and destroy another evil cast.Ulf Möller3-3/+3
2000-01-21Check RAND_bytes() return value or use RAND_pseudo_bytes().Ulf Möller1-1/+4
1999-12-29Add OIDs for idea and blowfish. Unfortunately these are inDr. Stephen Henson1-4/+8
the middle of the OID table so the diff is rather large :-(
1999-12-15Delete an unused variable and make the PKCS#12 keygen debugging code workDr. Stephen Henson1-11/+10
again.
1999-12-05Merge in my S/MIME library and utility.Dr. Stephen Henson1-1/+1
1999-12-03New function PKC12_newpass()Dr. Stephen Henson4-2/+234
1999-11-17Missing #ifdef NO_DESUlf Möller1-0/+2
1999-10-30*** empty log message ***Ulf Möller1-1/+1