summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-03-08un-revert tls_init pthread_once change, now that stub is added so that ↵Bob Beck
builds work
2018-03-07backout. diff was not tested comprehensively, resulting in a broken tree.Theo de Raadt
2018-03-07Make tls_init() concurrently callable using pthread_once().Bob Beck
ok jsing@ This brings pthread_once usage into libressl, which will need to get dealt with correctly in portable. This sets us up to autoinit libtls, and we will also be using pthread_once to deal with autoinit stuff in libssl and libcrypto
2018-03-06use _ALIGN() which is uhm a bit OpenBSD-specific, but it means weTheo de Raadt
don't need to use sys/param.h at all, guess which one i believe is greater namespace polution ok otto
2018-03-05typo in kern.maxlocksperuidOtto Moerbeek
2018-03-05Use _MAX_PAGE_SHIFT, rather than #ifdef mips64Theo de Raadt
ok guenther kettenis
2018-03-04various tweaks, in part to try and clean up the amount of verticalJason McIntyre
whitespace in this page; ok deraadt
2018-03-03Provide macro versions of SSL_CTX_set_min/max_proto_version and friendsJeremie Courreges-Anglas
Needed at least by openvpn-2.4.5, which detects availability of this interface using #ifdefs... Discussed with & ok jsing@
2018-03-02Return monotonically increasing values.cheloha
The latest POSIX description of times(3) (and all others I can find) suggests that times(3) should return monotonically increasing values and that these values are only useful for real time interval measurement. All extant uses of times(3) confirm that this expectation is shared by application programmers. So, change gettimeofday(2) to clock_gettime(2)/CLOCK_MONOTONIC to ensure the return value increases monotonically, even if the system clock is changed by the superuser. Then update the manpage accordingly. While we're updating the manpage, move the information about the return values to a new RETURN VALUES section to bring times.3 up to speed with other library man pages. Manpage changes kicked around on tech@ with millert@ and jmc@. times.3 ok millert@ tb@ jmc@ times.c ok millert@ tb@
2018-03-01Two new manual pages OPENSSL_sk_new(3) and STACK_OF(3), written fromIngo Schwarze
scratch, tweaks and OK jsing@ and jmc@.
2018-02-28Remove CFLAGS+=-mfloat-abi=softfp that I accidentally committed.Mark Kettenis
2018-02-28Change floating-point mode/environment control functions to operate onMark Kettenis
both the hardfloat (FPU registers) and softfloat (software) state. This makes these functions work correctly when mixing hardfloat and softfloat code. Disable trapping for softfloat since most (if not all) ARMv7 and ARMv8 hardware that is on the market doesn't support trapping of floating-point exceptions. ok patrick@
2018-02-27Garbage collect RC5 documentation.Ingo Schwarze
We have no code implementing it, tedu@ took care of the rc5/ directory in 2014, the related files are commented out in arch/*/Makefile.inc, and opensslfeatures.h contains an explicit #define OPENSSL_NO_RC5.
2018-02-27Garbage collect MD2 documentation.Ingo Schwarze
We have no code implementing those functions.
2018-02-27fix a wrong preposition; from Daniel Bevenius at gmail dot comIngo Schwarze
via OpenSSL commit cbade361 Dec 12 13:14:45 2017 +0100
2018-02-27Add a cross reference to SSL_get_ex_data_X509_STORE_CTX_idx(3);Ingo Schwarze
from Rich Salz <rsalz@openssl.org> via OpenSSL commit 9e183d22 Mar 11 08:56:44 2017 -0500.
2018-02-27Import SSL_CTX_set_tlsext_use_srtp(3) from OpenSSL, slightly tweaked by me.Ingo Schwarze
2018-02-27Add four options that exist in our tree and are documented in OpenSSL.Ingo Schwarze
2018-02-27sort option list alphabetically in preparation for adding missing options;Ingo Schwarze
no text change
2018-02-27Mention that SSL_OP_TLSEXT_PADDING no longer has any effect,Ingo Schwarze
and correct the description of SSL_OP_ALL. Found by inspecting <openssl/ssl.h>.
2018-02-27Merge the documentation of SSL_CIPHER_get_id(3) andIngo Schwarze
the new RETURN VALUES section from OpenSSL, tweaked by me. While here, correct the description of SSL_CIPHER_description(3).
2018-02-27improve lining up of tabs inside .Fd macros for terminal output;Ingo Schwarze
from <Edgar at Pettijohn dash web dot com> on tech@
2018-02-27In ssl.h rev. 1.145 2018/02/22 17:30:25, jsing@ provided SSL_is_server(3).Ingo Schwarze
Merge the documentation from OpenSSL, slightliy tweaking the wording for precision. The connection is not necessarily "working" yet.
2018-02-27In ssl.h rev. 1.144 2018/02/22 17:29:24, jsing@ provided SSL_up_ref(3).Ingo Schwarze
Merge the documentation from OpenSSL.
2018-02-26In ssl.h rev. 1.143 2018/02/22 17:27:07, jsing@ providedIngo Schwarze
SSL_CTX_get_ciphers(3). Merge the documentation from OpenSSL.
2018-02-26In ssl.h rev. 1.142 2018/02/22 17:25:18, jsing@ providedIngo Schwarze
SSL_SESSION_up_ref(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-26In x509.h rev. 1.41 2018/02/22 17:22:02, jsing@ providedIngo Schwarze
X509_chain_up_ref(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-25In x509_vfy.h rev. 1.24 2018/02/22 17:19:31, jsing@ providedIngo Schwarze
X509_STORE_set_ex_data(3) and X509_STORE_get_ex_data(3). Document them.
2018-02-25In x509_vfy.h rev. 1.24 2018/02/22 17:19:31, jsing providedIngo Schwarze
X509_STORE_get0_objects(3). Merge the documenteation from OpenSSL, heavily tweaked by me. While here, document six additional public functions closely related to X509_STORE_set1_param(3) that OpenSSL lacks documentation for. No Copyright-worthy amount of text remains in X509_STORE_set1_param.3, so switch to my Copyright and license.
2018-02-25In x509_vfy.h rev. 1.23 2018/02/22 17:17:09, jsing@ providedIngo Schwarze
X509_OBJECT_get0_X509(3) and X509_OBJECT_get0_X509_CRL(3). Since they are undocumented in OpenSSL, write a new manual page from scratch, also documenting five closely related public functions that have already been available before.
2018-02-25In x509_vfy.h rev. 1.22 2018/02/22 17:15:09, jsing@ providedIngo Schwarze
X509_STORE_up_ref(3). X509_STORE_new(3) and X509_STORE_free(3) have already been available earlier. Import the documentation from OpenSSL, adding some precision.
2018-02-25In x509_vfy.h rev. 1.21 2018/02/22 17:11:30, jsing@ providedIngo Schwarze
X509_STORE_CTX_get0_store(3). It is undocumented in OpenSSL, so write some documentation from scratch.
2018-02-25In x509_vfy.h rev. 1.21 2018/02/22 17:11:30, jsing@ providedIngo Schwarze
X509_STORE_CTX_get0_chain(3). Adapt the documentation. It is absurd that OpenSSL documents the two almost identical functions X509_STORE_CTX_get0_chain(3) and X509_STORE_CTX_get1_chain(3) in two different manual pages, with quite different wordings, and without even referencing each other. It is very obvious that they have lost their way in their own mire of functions.
2018-02-25In x509.h rev. 1.37 2018/02/22 17:01:44, jsing@ providedIngo Schwarze
X509_CRL_set1_lastUpdate(3) and X509_CRL_set1_nextUpdate(3) and in rev. 1.39 2018/02/22 17:06:42 X509_set1_notBefore(3) and X509_set1_notAfter(3). Document them, again from scratch because what OpenSSL provides is slightly confusing.
2018-02-25Correct the description of ASN1_item_free(3) with respect toIngo Schwarze
optional reference counting. ETOOMUCHMAGIC. By the way, this public hellhole is still undocumented in OpenSSL.
2018-02-25In x509.h rev. 1.35 2018/02/22 16:53:42, jsing@ providedIngo Schwarze
X509_CRL_up_ref(3). Since it is undocumented in OpenSSL, write some documentation from scratch. While here, also correct the description of X509_CRL_free(3) and mention X509_CRL_dup(3), too.
2018-02-24In x509.h rev. 1.34 2018/02/22 16:50:30, jsing@ providedIngo Schwarze
X509_REQ_get_signature_nid(3), in rev. 1.36 2018/02/22 16:58:45 X509_CRL_get_signature_nid(3), and in rev. 1.40 2018/02/22 17:09:28 X509_get0_tbs_sigalg(3). Merge the documentation from OpenSSL.
2018-02-24In x509.h rev. 1.33 2018/02/22 16:47:50, jsing@ providedIngo Schwarze
X509_REVOKED_get0_serialNumber(3) and X509_REVOKED_get0_revocationDate(3). Merge the documentation from OpenSSL, but put it into X509_REVOKED_new(3) rather than into X509_CRL_get0_by_serial(3) because it fits better there.
2018-02-24In x509.h rev. 1.33 2018/02/22 16:47:50, jsing@ providedIngo Schwarze
X509_REVOKED_get0_extensions(3) and in rev. 1.36 2018/02/22 16:58:45 X509_CRL_get0_extensions(3). Merge the documentation from OpenSSL and fix a few minor typos while here.
2018-02-24In ssl.h rev. 1.141 2018/02/20 18:07:11, tb@ providedIngo Schwarze
SSL_SESSION_get_protocol_version(3). Import the documentation form OpenSSL, tweaked by me, OK tb@.
2018-02-24In bio.h rev. 1.39 2018/02/22 16:38:43, jsing@ provided BIO_up_ref(3).Ingo Schwarze
Merge the documentation from OpenSSL, tweaked by me. While here, fix the in parts imprecise, in parts incorrect descriptions of BIO_new(3), BIO_set(3), BIO_free(3), and BIO_free_all(3).
2018-02-24In evp.h rev. 1.58 2018/02/20 18:05:28, tb@ providedIngo Schwarze
EVP_PKEY_get0_EC_KEY(3). Merge the documentation from OpenSSL.
2018-02-24In dh.h rev. 1.23 2018/02/20 17:59:31, tb@ provided DH_bits(3).Ingo Schwarze
Merge the documentation from OpenSSL, tweaked by me.
2018-02-24In bio.h rev. 1.35 2018/02/20 17:55:26, tb@ provided BIO_set_shutdown(3)Ingo Schwarze
and BIO_get_shutdown(3). Write the documentation from scratch because what OpenSSL provides doesn't explain the difference to BIO_set_close(3) and is also worded in a rather confusing way.
2018-02-24In dsa.h rev. 1.28 2018/02/20 17:48:35, tb@ providedIngo Schwarze
DSA_SIG_get0(3) and DSA_SIG_set0(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-24In dsa.h rev. 1.27 2018/02/20 17:45:44, tb@ providedIngo Schwarze
DSA_clear_flags(3), DSA_test_flags(3), and DSA_set_flags(3), and in rev. 1.29 2018/02/20 17:52:27 DSA_get0_engine(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-24In rsa.h rev. 1.37 2018/02/20 17:42:32, tb@ providedIngo Schwarze
RSA_clear_flags(3), RSA_test_flags(3), and RSA_set_flags(3). Merge the documentation, tweaked by me.
2018-02-23In bio.h rev. 1.34 2018/02/20 17:15:27, jsing@ providedIngo Schwarze
BIO_get_new_index(3), in rev. 1.37 2018/02/20 18:13:31, tb@ provided BIO_meth_get_read(3), BIO_meth_get_puts(3), BIO_meth_get_gets(3), BIO_meth_get_ctrl(3), BIO_meth_get_create(3), and BIO_meth_get_destroy(3), and in rev. 1.38 2018/02/20 18:17:17 BIO_meth_get_callback_ctrl(3) and BIO_meth_set_callback_ctrl(3). BIO_meth_get_write(3) will become public with the next minor bump. Merge the documentation from OpenSSL, tweaked by me, OK tb@.
2018-02-23In dh.h rev. 1.22 2018/02/20 17:38:15, tb@ providedIngo Schwarze
DH_clear_flags(3), DH_test_flags(3), and DH_set_flags(3), in rev. 1.24 2018/02/20 18:01:42 DH_set_length(3), and in rev. 1.25 2018/02/22 16:41:04, jsing@ provided DH_get0_engine(3). Merge the documentation from OpenSSL, tweaked by me.
2018-02-23In bn.h rev. 1.38 2018/02/20 17:13:14, jsing@ providedIngo Schwarze
BN_GENCB_new(3), BN_GENCB_free(3), and BN_GENCB_get_arg(3). Merge the documentation from OpenSSL, verbatim.