summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_prn.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert X509_CRL* functions to use const gettersMatt Caswell2016-08-171-2/+2
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org>
* Add ASN1_STRING_get0_data(), deprecate ASN1_STRING_data().Dr. Stephen Henson2016-08-161-1/+1
| | | | | | | | Deprecate the function ASN1_STRING_data() and replace with a new function ASN1_STRING_get0_data() which returns a constant pointer. Update library to use new function. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Enforce and explicit some const castingFdaSilvaYY2016-07-251-1/+1
| | | | | Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1300)
* Copyright consolidation 07/10Rich Salz2016-05-171-54/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove /* foo.c */ commentsRich Salz2016-01-261-1/+0
| | | | | | | | | | | | This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Continue standardising malloc style for libcryptoMatt Caswell2015-11-091-2/+2
| | | | | | | Continuing from previous commit ensure our style is consistent for malloc return checks. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Identify and move common internal libcrypto header filesRichard Levitte2015-05-141-1/+1
| | | | | | | | | | | | | There are header files in crypto/ that are used by a number of crypto/ submodules. Move those to crypto/include/internal and adapt the affected source code and Makefiles. The header files that got moved are: crypto/cryptolib.h crypto/md32_common.h Reviewed-by: Rich Salz <rsalz@openssl.org>
* Use p==NULL not !p (in if statements, mainly)Rich Salz2015-05-111-4/+5
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* free null cleanup finaleRich Salz2015-05-011-2/+1
| | | | | | Don't check for NULL before calling OPENSSL_free Reviewed-by: Richard Levitte <levitte@openssl.org>
* make X509_EXTENSION opaqueDr. Stephen Henson2015-03-231-15/+15
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove old ASN.1 code.Dr. Stephen Henson2015-03-231-1/+1
| | | | | | | | | Remove old M_ASN1_ macros and replace any occurences with the corresponding function. Remove d2i_ASN1_bytes, d2i_ASN1_SET, i2d_ASN1_SET: no longer used internally. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-143/+168
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Cleanup OPENSSL_NO_xxx, part 1master-pre-reformatRich Salz2015-01-141-1/+1
| | | | | | | | | | OPENSSL_NO_RIPEMD160, OPENSSL_NO_RIPEMD merged into OPENSSL_NO_RMD160 OPENSSL_NO_FP_API merged into OPENSSL_NO_STDIO Two typo's on #endif comments fixed: OPENSSL_NO_ECB fixed to OPENSSL_NO_OCB OPENSSL_NO_HW_SureWare fixed to OPENSSL_NO_HW_SUREWARE Reviewed-by: Richard Levitte <levitte@openssl.org>
* Update obsolete email address...Dr. Stephen Henson2008-11-051-1/+1
|
* Type-checked (and modern C compliant) OBJ_bsearch.Ben Laurie2008-10-121-1/+1
|
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-161-1/+2
| | | | | | | | functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
* Change the indentation from 12 to indent+4.Richard Levitte2003-09-281-1/+1
| | | | PR: 657
* Correct a lot of printing calls. Remove extra arguments...Richard Levitte2003-04-041-1/+1
|
* Don't feil when indent is 0.Richard Levitte2003-03-311-1/+1
| | | | PR: 559
* Initial support for ASN1_ITEM_FUNCTION option toDr. Stephen Henson2001-02-231-2/+2
| | | | | | | | 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.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-1/+1
| | | | | | | | | | | | 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.
* Fix potential buffer overrun for EBCDIC.Ulf Möller2001-02-061-6/+20
|
* Fixes to OCSP print code.Dr. Stephen Henson2000-12-201-1/+1
| | | | | | | | | | | | | | 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.
* New function X509V3_extensions_print() this removes extension duplicationDr. Stephen Henson2000-12-141-0/+33
| | | | | | | | | from the print routines. Reorganisation of OCSP code: initial print routines in ocsp_prn.c. Doesn't work fully because OCSP extensions aren't reimplemented yet. Implement some ASN1 functions needed to compile OCSP code.
* Rewrite the extension code to use an ASN1_ITEM structureDr. Stephen Henson2000-12-131-4/+9
| | | | | | | | for its ASN1 operations as well as the old style function pointers (i2d, d2i, new, free). Change standard extensions to support this. Fix a warning in BN_mul(), bn_mul.c about uninitialised 'j'.
* More code for X509_print_ex() support.Dr. Stephen Henson2000-10-061-3/+33
|
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-021-1/+1
| | | | | | | | | 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.
* EBCDIC support.Ulf Möller2000-02-011-0/+16
| | | | Submitted by: Martin Kraemer <martin.kraemer@mch.sni.de>
* A few more ``#ifndef NO_FP_API / #endif'' pairs for consistency.Ralf S. Engelschall1999-08-081-0/+2
| | | | Hint from: Andrija Antonijevic <TheAntony2@bigfoot.com>
* Convert the CONF library to use a typesafe stack: a STACK_OF(CONF_VALUE). ItDr. Stephen Henson1999-06-211-7/+7
| | | | | | seemed like a good idea at the time... several hours later it was rather obvious that these are used all over the place making the changes rather extensive.
* Add PKCS#12 documentation and new option in x509 to add certificate extensions.Dr. Stephen Henson1999-04-271-3/+6
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-241-2/+2
| | | | | | Submitted by: Reviewed by: PR:
* Fix lots of warnings.Ulf Möller1999-04-211-1/+2
| | | | Submitted by: Richard Levitte <levitte@stacken.kth.se>
* Change functions to ANSI C.Ulf Möller1999-04-191-15/+3
|
* Add initial support for Thawte strong extranet certificate extensions andDr. Stephen Henson1999-03-271-8/+16
| | | | include an 'indent' option to V3 stuff.
* Various changes to make this stuff compile under Win32 and VC++ with andDr. Stephen Henson1999-02-221-4/+3
| | | | | | | | without -debug option to mk1mf.pl. Change _export to is_export (_export is a reserved word under VC++). Add yucky function prototype function pointer casts. Sanitise the included files in crypto/x509v3. Also changed ssleay.exe target to openssl.exe
* More extension code. Incomplete support for subject and issuer altDr. Stephen Henson1999-02-101-1/+1
| | | | | | | name, issuer and authority key id. Change the i2v function parameters and add an extra 'crl' parameter in the X509V3_CTX structure: guess what that's for :-) Fix to ASN1 macro which messed up IMPLICIT tag and add f_enum.c which adds a2i, i2a for ENUMERATED.
* Initial addition of new X509 V3 files, tidy of old files.Dr. Stephen Henson1999-01-241-0/+134