Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid signed vs. unsigned warnings (which are treated like errors on | Richard Levitte | 2004-01-27 | 2 | -2/+2 |
| | | | | Windows). | ||||
* | Use sh explicitely to run point.sh | Richard Levitte | 2003-12-27 | 1 | -1/+1 |
| | | | | This is part of a large change submitted by Markus Friedl <markus@openbsd.org> | ||||
* | Use BUF_strlcpy() instead of strcpy(). | Richard Levitte | 2003-12-27 | 8 | -22/+33 |
| | | | | | | | Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org> | ||||
* | Avoid possible memory leaks in error-handling. | Geoff Thorpe | 2003-11-10 | 2 | -5/+5 |
| | | | | | Submitted by: Nils Larsch Reviewed by: Geoff Thorpe | ||||
* | Print out GeneralizedTime and UTCTime in ASN1_STRING_print_ex(). | Dr. Stephen Henson | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Remove a line that was causing redundant declarations. | Geoff Thorpe | 2003-10-29 | 1 | -1/+0 |
| | | | | Obtained from: Stephen Henson <steve@openssl.org> | ||||
* | A general spring-cleaning (in autumn) to fix up signed/unsigned warnings. | Geoff Thorpe | 2003-10-29 | 6 | -10/+12 |
| | | | | | | | | | | I have tried to convert 'len' type variable declarations to unsigned as a means to address these warnings when appropriate, but when in doubt I have used casts in the comparisons instead. The better solution (that would get us all lynched by API users) would be to go through and convert all the function prototypes and structure definitions to use unsigned variables except when signed is necessary. The proliferation of (signed) "int" for strictly non-negative uses is unfortunate. | ||||
* | ASN1 parse fix and release file changes. | Dr. Stephen Henson | 2003-09-30 | 2 | -1/+10 |
| | |||||
* | outlen should be int * in out_utf8. | Dr. Stephen Henson | 2003-08-21 | 1 | -1/+1 |
| | |||||
* | Fix sign bugs. | Richard Levitte | 2003-05-21 | 1 | -1/+1 |
| | | | | PR: 621 | ||||
* | Add correct DN entry for serialNumber. | Dr. Stephen Henson | 2003-05-07 | 1 | -1/+4 |
| | |||||
* | Typo. | Dr. Stephen Henson | 2003-04-10 | 1 | -1/+1 |
| | |||||
* | Correct a lot of printing calls. Remove extra arguments... | Richard Levitte | 2003-04-03 | 2 | -2/+2 |
| | |||||
* | Make sure we get the definition of OPENSSL_NO_BIO and OPENSSL_NO_RSA. | Richard Levitte | 2003-03-20 | 2 | -2/+2 |
| | |||||
* | New ASN1 macros to just implement and declare the new and free functions | Dr. Stephen Henson | 2003-03-20 | 2 | -4/+11 |
| | | | | | | and changes to mkdef.pl so it recognises them. Use these in policyMappings extension. | ||||
* | Add entry for domainComponent so it is treated correctly. | Dr. Stephen Henson | 2003-03-14 | 1 | -0/+35 |
| | | | | Add table order test to end of a_strnid.c | ||||
* | Fix indefinite length encoding so EOC correctly updates | Dr. Stephen Henson | 2003-02-25 | 1 | -2/+4 |
| | | | | | | | | the buffer pointer. Rename PKCS7_PARTSIGN to PKCS7_STREAM. Guess what that's for :-) | ||||
* | ECPublicKey_set_octet_string and ECPublicKey_get_octet_string | Bodo Möller | 2003-02-21 | 2 | -4/+3 |
| | | | | | | | | | | | | behaviour was not quite consistent with the conventions for d2i and i2d functions as far as handling of the 'out' or 'in' pointer is concerned. This patch changes this behaviour, and renames the functions to o2i_ECPublicKey and i2o_ECPublicKey (not 'd2i' and 'i2d' because the external encoding is just a raw object string without any DER icing). Submitted by: Nils Larsch | ||||
* | Ooops forgot to recognise V_ASN1_GENERALSTRING. | Dr. Stephen Henson | 2003-02-20 | 1 | -0/+1 |
| | |||||
* | Typo. | Dr. Stephen Henson | 2003-02-18 | 1 | -1/+1 |
| | |||||
* | GeneralString support in mini-ASN1 compiler | Dr. Stephen Henson | 2003-02-11 | 1 | -0/+2 |
| | |||||
* | For ecdsa-with-SHA1, as for id-dsa-with-sha1, omit 'parameters' | Bodo Möller | 2003-01-24 | 1 | -4/+5 |
| | | | | | | in AlgorithmIdentifier Submitted by: Nils Larsch | ||||
* | Check return value of gmtime() and add error codes | Dr. Stephen Henson | 2003-01-24 | 3 | -31/+36 |
| | | | | | | | | | where it fails in ASN1_TIME_set(). Edit asn1.h so the new error code is the same in 0.9.7 and 0.9.8, rebuild new error codes. Clear error queue in req.c if *_min or *_max is absent. | ||||
* | Make sure the last character of the ASN.1 time string (the 'Z') is copied. | Richard Levitte | 2003-01-01 | 1 | -1/+1 |
| | | | | PR: 429 | ||||
* | make update | Richard Levitte | 2002-12-29 | 1 | -597/+315 |
| | |||||
* | Workaround for GCC-ia64 compiler bug. | Andy Polyakov | 2002-12-06 | 1 | -0/+5 |
| | | | | | | Submitted by: <appro> Reviewed by: PR: | ||||
* | In ECPKParameters_print, output the private key length correctly | Bodo Möller | 2002-12-04 | 1 | -2/+8 |
| | | | | | | | (length of the order of the group, not length of the actual key, which will be shorter in some cases). Submitted by: Nils Larsch | ||||
* | Make ASN1_TYPE_get() work for V_ASN1_NULL type. | Dr. Stephen Henson | 2002-12-04 | 1 | -1/+1 |
| | |||||
* | In asn1_d2i_read_bio, don't assume BIO_read will | Dr. Stephen Henson | 2002-12-03 | 1 | -5/+10 |
| | | | | | return the requested number of bytes when reading content. | ||||
* | Cleanse memory using the new OPENSSL_cleanse() function. | Richard Levitte | 2002-11-28 | 4 | -11/+11 |
| | | | | I've covered all the memset()s I felt safe modifying, but may have missed some. | ||||
* | Extra ; removed. | Richard Levitte | 2002-11-27 | 1 | -1/+1 |
| | |||||
* | Add the ASN.1 structures and functions for CertificatePair, which is | Richard Levitte | 2002-11-18 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | defined as follows (according to X.509_4thEditionDraftV6.pdf): CertificatePair ::= SEQUENCE { forward [0] Certificate OPTIONAL, reverse [1] Certificate OPTIONAL, -- at least one of the pair shall be present -- } The only thing I'm not sure about is if it's implicit or explicit tags that I should count on. For now, I'm thinking explicit, but will gladly stand corrected. Also implement the PEM functions to read and write certificate pairs, and defined the PEM tag as "CERTIFICATE PAIR". This needed to be defined, mostly for the sake of the LDAP attribute crossCertificatePair, but may prove useful elsewhere as well. | ||||
* | Add SETWRAP modifier to ASN1 generate. | Dr. Stephen Henson | 2002-11-15 | 1 | -1/+9 |
| | |||||
* | use new BIO_indent() function here as well | Bodo Möller | 2002-11-14 | 1 | -30/+11 |
| | | | | Submitted by: Nils Larsch | ||||
* | free() -> OPENSSL_free() | Richard Levitte | 2002-11-13 | 1 | -2/+2 |
| | |||||
* | This didn't get to the 0.9.8-dev thread... | Richard Levitte | 2002-11-13 | 2 | -9/+3 |
| | |||||
* | Security fixes brought forward from 0.9.7. | Ben Laurie | 2002-11-13 | 15 | -64/+84 |
| | |||||
* | Fix warnings, makefile cockup. | Ben Laurie | 2002-11-13 | 1 | -2/+2 |
| | |||||
* | Only accept exact match for modifier or tag name | Dr. Stephen Henson | 2002-11-13 | 1 | -1/+1 |
| | |||||
* | Initial ASN1 generation code. This can construct | Dr. Stephen Henson | 2002-11-12 | 4 | -2/+894 |
| | | | | | | arbitrary encodings from strings and config files. Documentation to follow... | ||||
* | Check for NULL ASN1_ITEM when initializeing | Dr. Stephen Henson | 2002-11-05 | 2 | -2/+8 |
| | | | | boolean option in ASN1_TYPE. | ||||
* | implement and use new macros BN_get_sign(), BN_set_sign() | Bodo Möller | 2002-11-04 | 3 | -5/+7 |
| | | | | Submitted by: Nils Larsch | ||||
* | In my extreme debug mode, gcc complains that 'static' doesn't come | Richard Levitte | 2002-10-20 | 1 | -13/+13 |
| | | | | first. | ||||
* | makedepend complains when a header file is included more than once in | Richard Levitte | 2002-10-14 | 1 | -1/+0 |
| | | | | the same source file. | ||||
* | Use double dashes so makedepend doesn't misunderstand the flags we | Richard Levitte | 2002-10-09 | 1 | -1/+1 |
| | | | | | | | give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies. | ||||
* | Various Win32 fixes. | Dr. Stephen Henson | 2002-10-06 | 1 | -1/+1 |
| | | | | | | Resolve signed/unsigned conflicts Make dso_win32.c compile. | ||||
* | Oops, remove old comment out debugging printf... | Dr. Stephen Henson | 2002-10-06 | 1 | -3/+5 |
| | |||||
* | Please do not use C++ comments in C code. | Richard Levitte | 2002-10-06 | 1 | -1/+3 |
| | |||||
* | Various enhancements to PKCS#12 code, new | Dr. Stephen Henson | 2002-10-03 | 1 | -0/+23 |
| | | | | | | medium level API, improved PKCS12_create and additional functionality in pkcs12 utility. | ||||
* | Preliminary streaming ASN1 encode support. | Dr. Stephen Henson | 2002-10-03 | 9 | -74/+255 |
| |