aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pem/pem.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop symlinking, move files to intended directoryRichard Levitte2015-03-311-594/+0
| | | | | | | | | | | | | Rather than making include/openssl/foo.h a symlink to crypto/foo/foo.h, this change moves the file to include/openssl/foo.h once and for all. Likewise, move crypto/foo/footest.c to test/footest.c, instead of symlinking it there. Originally-by: Geoff Thorpe <geoff@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove X509_PAIRRich Salz2015-02-061-2/+0
| | | | | | Unused type; a pair X509 certificates. Intended for LDAP support. Reviewed-by: Richard Levitte <levitte@openssl.org>
* OPENSSL_NO_xxx cleanup: many removalsRich Salz2015-01-271-22/+2
| | | | | | | | | | | | The following compile options (#ifdef's) are removed: OPENSSL_NO_BIO OPENSSL_NO_BUFFER OPENSSL_NO_CHAIN_VERIFY OPENSSL_NO_EVP OPENSSL_NO_FIPS_ERR OPENSSL_NO_HASH_COMP OPENSSL_NO_LHASH OPENSSL_NO_OBJECT OPENSSL_NO_SPEED OPENSSL_NO_STACK OPENSSL_NO_X509 OPENSSL_NO_X509_VERIFY This diff is big because of updating the indents on preprocessor lines. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Fix formatting error in pem.hMatt Caswell2015-01-221-6/+12
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* More comment realignmentmaster-post-reformatMatt Caswell2015-01-221-5/+5
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Re-align some comments after running the reformat script.Matt Caswell2015-01-221-6/+6
| | | | | | | This should be a one off operation (subsequent invokation of the script should not move them) Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-483/+444
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Cleanup OPENSSL_NO_xxx, part 1master-pre-reformatRich Salz2015-01-141-2/+2
| | | | | | | | | | 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>
* Further comment amendments to preserve formatting prior to source reformatMatt Caswell2015-01-061-3/+6
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Constification.Ben Laurie2013-09-101-3/+4
|
* transparently handle X9.42 DH parametersDr. Stephen Henson2011-12-071-0/+2
|
* Initial experimental support for X9.42 DH parameter format to handleDr. Stephen Henson2011-12-071-0/+2
| | | | RFC5114 parameters and X9.42 DH public and private keys.
* PR: 2220Dr. Stephen Henson2010-04-061-1/+2
| | | | Fixes to make OpenSSL compile with no-rc4
* Audit libcrypto for unchecked return values: fix all cases enounteredDr. Stephen Henson2009-09-231-3/+3
|
* Update from stable branch.Dr. Stephen Henson2009-03-091-0/+3
|
* Tolerate -----BEGIN PKCS #7 SIGNED DATA----- header lines as used by someDr. Stephen Henson2008-11-111-0/+1
| | | | implementations.
* More type-checking.Ben Laurie2008-06-041-5/+2
|
* And so it begins...Dr. Stephen Henson2008-03-121-0/+1
| | | | | | | | | | Initial support for CMS. Add zlib compression BIO. Add AES key wrap implementation. Generalize S/MIME MIME code to support CMS and/or PKCS7.
* Finish gcc 4.2 changes.Dr. Stephen Henson2007-06-071-4/+0
|
* Avoid use of function pointer casts in pem library. Modify safestack toDr. Stephen Henson2007-06-041-12/+12
| | | | always use inline functions.
* Don't dereference NULL argument. Coverity ID 52.Ben Laurie2007-04-051-0/+1
|
* remove trailing '\'Nils Larsch2006-12-191-1/+1
| | | | PR: 1438
* remove SSLEAY_MACROS codeNils Larsch2006-11-061-135/+0
|
* New utility pkeyparam. Enhance and bugfix algorithm specific parameterDr. Stephen Henson2006-03-281-0/+3
| | | | functions to support it.
* Initial support for generalized public key parameters.Dr. Stephen Henson2006-03-241-0/+2
|
* Add support for legacy PEM format private keys in EVP_PKEY_ASN1_METHOD.Dr. Stephen Henson2006-03-231-0/+1
|
* Keep disclaiming 16-bit platform support. For now remove WIN16 referencesAndy Polyakov2005-12-181-3/+1
| | | | from .h files...
* Integrated support for PVK files.Dr. Stephen Henson2005-08-311-0/+35
|
* make the type parameter const when ID2_OF_const() is usedNils Larsch2005-05-181-8/+22
|
* Some C compilers produce warnings or compilation errors if an attemptDr. Stephen Henson2005-05-121-12/+12
| | | | | | | | | | is made to directly cast a function of one type to what it considers and incompatible type. In particular gcc 3.4.2. Add new openssl_fcast macro to place functions into a form where the compiler will allow them to be cast. The current version achives this by casting to: void function(void).
* Fix more error codes.Bodo Möller2005-05-111-3/+6
| | | | | (Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
* Consistency.Ben Laurie2005-03-311-8/+6
|
* Give everything prototypes (well, everything that's actually used).Ben Laurie2005-03-311-25/+60
|
* Copy a few files from LPlib (a new project of mine), add a wrapper.Richard Levitte2004-07-101-1/+1
| | | | | Now we have directory reading capabilities for VMS as well, and all of it in a fairly general manner.
* Make sure we get the definition of OPENSSL_NO_BIO.Richard Levitte2003-03-201-1/+1
|
* Add the ASN.1 structures and functions for CertificatePair, which isRichard Levitte2002-11-181-0/+3
| | | | | | | | | | | | | | | | | | | 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.
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-3/+5
|
* use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller2002-08-071-5/+2
| | | | Submitted by: Nils Larsch
* Use SEC1 format for EC private keys.Bodo Möller2002-07-261-1/+1
| | | | | | This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc. Submitted by: Nils Larsch <nlarsch@compuserve.de>
* Replace 'ecdsaparam' commandline utility by 'ecparam'Bodo Möller2002-07-141-3/+6
| | | | | | | | | | | | | | (the same keys can be used for ECC schemes other than ECDSA) and add some new options. Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS" in 'PEM' format. Fix ec_asn1.c (take into account the desired conversion form). 'make update'. Submitted by: Nils Larsch
* ECDSA supportBodo Möller2002-02-131-0/+12
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* remove redundant ERR_load_... declarationsBodo Möller2001-12-171-2/+0
|
* make updateRichard Levitte2001-11-151-1/+1
| | | | perl util/mkerr.pl -recurse -write -rebuild
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-301-1/+2
|
* More linker bloat reorganisation:Dr. Stephen Henson2001-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | | Split private key PEM and normal PEM handling. Private key handling needs to link in stuff like PKCS#8. Relocate the ASN1 *_dup() functions, to the relevant ASN1 modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously these were all in crypto/x509/x_all.c along with every ASN1 BIO/fp function which linked in *every* ASN1 function if a single dup was used. Move the authority key id ASN1 structure to a separate file. This is used in the X509 routines and its previous location linked in all the v3 extension code. Also move ASN1_tag2bit to avoid linking in a_bytes.c which is now largely obsolete. So far under Linux stripped binary with single PEM_read_X509 is now 238K compared to 380K before these changes.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-11/+12
| | | | | | | | | | | | 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.
* It's not just VMS that needs some symbols to be hacked. Let'sRichard Levitte2000-09-071-3/+1
| | | | | centralise those hacks in crypto/symhacks.h and use it everywhere it's needed.
* Using checks of the existence of HEADER_{foo}_H in other header filesRichard Levitte2000-06-091-3/+9
| | | | | | | | | | | | | | | | | | | | was a really bad idea. For example, the following: #include <x509.h> #include <bio.h> #include <asn1.h> would make sure that things like ASN1_UTCTIME_print() wasn't defined unless you moved the inclusion of bio.h to above the inclusion of x509.h. The reason is that x509.h includes asn1.h, and the declaration of ASN1_UTCTIME_print() depended on the definition of HEADER_BIO_H. That's what I call an obscure bug. Instead, this change makes sure that whatever header files are needed for the correct process of one header file are included automagically, and that the definitions of, for example, BIO-related things are dependent on the absence of the NO_{foo} macros. This is also consistent with the way parts of OpenSSL can be excluded at will.
* In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte2000-05-021-4/+4
| | | | | | "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.
* New functions and option to use NEW in certificate requests.Dr. Stephen Henson2000-02-181-0/+1
|