summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-12-25Basic cleanup to prepare for content improvements:schwarze1-171/+172
Use the same parameter names as in ASN1_item_d2i(3). Point to ASN1_item_d2i(3) for details. Delete lots of rendundant text. While here, add ten missing functions found in OpenSSL doc/man3/d2i_X509.pod and fix errors in the prototypes of i2d_ECPKParameters_bio(3) and i2d_ECPKParameters_fp(3).
2016-12-25Clarify what DSAparams_dup(3) does.schwarze1-19/+47
Add STANDARDS references. Add cross references to manual pages documenting conversion functions that are used by the functions documented here. Mark up the names of custom ASN.1 datatypes that are defined in standards with .Vt, allowing to search for them. Do not mark up basic ASN.1 data types. They stand out by being ALL CAPS anyway, and searching for them would be pointless.
2016-12-24First example of how to fix the d2i_*() manuals:schwarze1-98/+123
- add four missing functions found in OpenSSL doc/man3/d2i_X509.pod - simplify .Nd - drop needless extra include line - use the same parameter names as in ASN1_item_d2i(3) - point to ASN1_item_d2i(3) for details - sort the text and simplify the wording More work is needed on STANDARDS references.
2016-12-24Very carefully tweak OpenSSL doc/man3/d2i_X509.pod and create a newschwarze3-1/+514
ASN1_item_d2i(3) manual page from it. Enough text remains to keep Stephen Henson's Copyright. The eight functions documented in this new page are listed in <openssl/asn1.h> and in Symbols.list, so they are public even though OpenSSL does not document them. They are very important because hundreds of documented, much-used public interface functions are trivial wrappers around them, sharing their complicated semantics and their copious CAVEATS and BUGS. The plan is for the many pages documenting the wrappers to become very concise, to focus on the few type-dependent specifics, and to point to this new page for the details of the semantics, for the CAVEATS, and for the BUGS. While here, write a companion page ASN1_item_new(3) from scratch. The user interface described in that page scares the hell out of me, and i think people writing code to handle ASN.1 ought to be aware of that dangerous user interface design, or they will sooner or later get trapped.
2016-12-24minor fixes;jmc1-6/+6
2016-12-24sprinkle some cross references to newly written x509v3 manual pagesschwarze6-12/+32
2016-12-24Write new SXNET_new(3) manual page from scratch. All four functionsschwarze2-1/+93
are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file. I consider the quotation from http://www-03.ibm.com/security/library/wp_pki0730.shtml fair use because (1) it is a very brief extract from a long text, (2) no other source of information is available, (3) it is quoted for the purpose of education and research, (4) republishing happens in a not-for-profit context. I'm not including the URI into the manual page because large corporate websites are notorious for changing URIs during each spring cleaning.
2016-12-23Write new PKEY_USAGE_PERIOD_new(3) manual page from scratch,schwarze2-1/+67
documenting the dubious RFC 3280 PrivateKeyUsagePeriod extension. Both functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Move __BEGIN_HIDDEN_DECLS out of the middle of a function declaration.patrick1-3/+3
ok jca@
2016-12-23Write RFC 3820 manual page PROXY_POLICY_new(3) from scratch.schwarze2-1/+91
These four functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write ACCESS_DESCRIPTION_new(3) manual page from scratch.schwarze2-1/+142
All four functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write new EXTENDED_KEY_USAGE_new(3) manual page from scratch.schwarze2-1/+76
Both functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write new POLICYINFO_new(3) manual page from scratch; i can't say thatschwarze2-1/+189
i particularly like these fourteen functions, but they are all listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write new NAME_CONSTRAINTS_new(3) manual page from scratch.schwarze2-1/+89
These functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write new BASIC_CONSTRAINTS_new(3) manual from scratch, explainingschwarze2-1/+81
the important point of how to distinguish CA certificates from end entity certificates. Both functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write new DIST_POINT_new(3) manual page from scratch.schwarze2-1/+135
All functions documented here are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Write new AUTHORITY_KEYID_new(3) manual page from scratch.schwarze2-1/+67
Both functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-23Link to Peter Gutmann's classic "X.509 Style Guide".schwarze1-2/+11
Thanks to otto@ for making me aware of it. If people know newer documents that are similarly readable and interesting, please speak up. I hate sending people to the STANDARDS only for more information. On the one hand, that's torture, and on the other hand, if i read Gutmann correctly, the standards sometimes provide bad advice, and often none at all.
2016-12-23Write GENERAL_NAME_new(3) manual page from scratch - as if plain X.501schwarze2-1/+138
Name structures weren't already complicated enough, see X509_NAME_new(3). All these functions are listed in <openssl/x509v3.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-22no more bn_dump(3);jmc1-3/+2
2016-12-22OBJ_obj2txt() should return the total amount of space requiredinoguchi1-5/+1
reported by @rhenium on GitHub ok jsing@
2016-12-22Write new manual pages PKCS12_new(3) and PKCS12_SAFEBAG_new(3) fromschwarze4-6/+195
scratch. All these functions are listed in <openssl/pkcs12.h> and in OpenSSL doc/man3/X509_dup.pod. As usual, OpenSSL documentation specifies the wrong header file. Note that PKCS#12 documentation is still scanty at best. For example, out of 19 public functions handling PKCS12 objects, five are now documented, and this commit documents the first two out of 24 public functions handling PKCS12_SAFEBAG objects.
2016-12-22spelling fix;jmc1-2/+2
2016-12-22Write X509_SIG_new(3) manual page from scratch. Both functions areschwarze2-1/+61
listed in <openssl/x509.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-22reference X509_new(3) instead of x509(3)schwarze1-3/+3
2016-12-22Delete the x509(3) manual page and merge what little content remainedschwarze3-136/+27
into X509_new(3). Add information about STANDARDS.
2016-12-22Stop installing the bn_dump(3) manual page.schwarze1-2/+1
The functions documented there are no longer public.
2016-12-22Write new PKCS8_PRIV_KEY_INFO_new(3) manual page from scratch.schwarze3-4/+61
Both functions are listed in <openssl/x509.h> and in OpenSSL doc/man3/X509_dup.pod. Note that OpenSSL documentation specifies the wrong header file.
2016-12-21rewrite OCSP_parse_url to be sligthly less nasty and not have one byte ↵beck1-78/+34
buffer overreads helpful nitpicking and ok tb@ miod@
2016-12-21Pacify compiler warning about an unitialized variable which is obviouslyderaadt1-3/+3
not really being used. ok beck.
2016-12-21Update regress for ECDHE with X25519.jsing1-41/+41
2016-12-21Bump libcrypto/libssl/libtls majors due to libcrypto symbol removal andjsing3-3/+3
changes to libssl non-opaque structs.
2016-12-21Add minimum and maximum version fields to SSL, SSL_CTX and SSL_METHODjsing1-1/+10
for future work. Discussed with beck@
2016-12-21Add support for ECDHE with X25519.jsing7-91/+316
Testing of an earlier revision by naddy@. ok beck@
2016-12-21Update libcrypto regress to handle header and non-exported symbol changes.jsing4-4/+10
2016-12-21Explicitly export a list of symbols from libcrypto.jsing39-184/+3744
Move the "internal" BN functions from bn.h to bn_lcl.h and stop exporting the bn_* symbols. These are documented as only being intended for internal use, so why they were placed in a public header is beyond me... This hides 363 previously exported symbols, most of which exist in headers that are not installed and were never intended to be public. This also removes a few crusty old things that should have died long ago (like _ossl_old_des_read_pw). But don't worry... there are still 3451 symbols exported from the library. With input and testing from inoguchi@. ok beck@ inoguchi@
2016-12-21Remove prototypes from the public header for X509_VERIFY_PARAM functionsjsing2-6/+7
that were recently added but not intended to be made public at this stage. Discussed with beck@
2016-12-21Ensure negative time/timeout are handled appropriately.jsing1-1/+27
2016-12-20Delete completely useless crap and just use getaddrinfo. Fix man pagebeck2-62/+11
while we're at it. Note for the nostalgic, since "wais" is still an alias in /etc/services it will continue to work.. ok deraadt@ millert@ krw@
2016-12-19fix typo, from OpenSSLschwarze1-4/+4
commit 0b742f93ea7882a447f6523ac56a6f847d9f8e92 Author: Finn Hakansson <finn_hakansson@yahoo.com> Date: Thu Dec 15 12:58:19 2016 -0500
2016-12-18Revise regress for changes to ssl_parse_serverhello_tlsext().jsing1-3/+3
Same diff from inoguchi@
2016-12-18Convert ssl3_get_server_hello() to CBS.jsing3-60/+67
ok doug@
2016-12-17Define X25519_KEY_LENGTH and use it so we have fewer magic numbers.jsing2-6/+12
ok beck@
2016-12-17Write new X509_ATTRIBUTE(3) manual page from scratch.schwarze2-1/+101
Both functions are listed in <openssl/x509.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file. The design and use of this data type feels horrific. If you understand PKCS#8 or PKCS#10 and can explain why this was designed as it is, your contribution to this manual page is welcome.
2016-12-17Write a new manual page X509_REQ_new(3) from scratch.schwarze2-1/+84
These four functions are listed in <openssl/x509.h> and in OpenSSL doc/man3/X509_dup.pod. OpenSSL documentation specifies the wrong header file.
2016-12-16Eliminate some gcc warnings about 'unused variables', mostly bykrw1-2/+2
adding appropriate #ifdef's around declarations. ok millert@ (with a tweak I will commit separately)
2016-12-16various minor cleanup;jmc10-34/+34
2016-12-16Document X509_REVOKED_new(3) and X509_REVOKED_free(3) and moveschwarze3-49/+157
X509_REVOKED_set_serialNumber(3) and X509_REVOKED_set_revocationDate(3) into this new page. Replace irrelevant cross references with relevant cross references to X509_CRL* pages.
2016-12-16Write X509_CRL_new(3) manual page from scratch. These four functionsschwarze2-1/+92
are listed in <openssl/x509.h> and in OpenSSL doc/man3/X509_dup.pod. Note that the OpenSSL documentation specifies the wrong header file. Link to all pages dealing with X509_CRL objects.
2016-12-16Write new X509_CINF_new(3) manual page from scratch. These functionsschwarze2-1/+99
are listed in <openssl/x509.h> and in OpenSSL doc/man3/X509_dup.pod. Note that the OpenSSL documentation specifies the wrong header file.