diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-05 11:43:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-05 11:43:10 +0000 |
commit | 241d661528ad757c3f8c2884a71a341dde382358 (patch) | |
tree | a9e7ab3020c48f36936177182172014362c253b7 | |
parent | 0031bd7b7cfcc6c1a40403bcf3a49fe1927a4176 (diff) |
fix cross references to self; found with mandoc -Tlint
-rw-r--r-- | lib/libc/sys/pledge.2 | 6 | ||||
-rw-r--r-- | lib/libcrypto/man/X509V3_get_d2i.3 | 5 | ||||
-rw-r--r-- | lib/libcrypto/man/X509v3_get_ext_by_NID.3 | 8 | ||||
-rw-r--r-- | lib/libkeynote/keynote.3 | 24 | ||||
-rw-r--r-- | lib/libssl/man/SSL_CIPHER_get_name.3 | 6 | ||||
-rw-r--r-- | lib/libssl/man/SSL_num_renegotiations.3 | 6 | ||||
-rw-r--r-- | share/man/man9/socreate.9 | 10 |
7 files changed, 33 insertions, 32 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2 index 47c3a5f2eb2..89884352500 100644 --- a/lib/libc/sys/pledge.2 +++ b/lib/libc/sys/pledge.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pledge.2,v 1.44 2017/06/11 18:56:09 jmc Exp $ +.\" $OpenBSD: pledge.2,v 1.45 2017/07/05 11:43:09 schwarze Exp $ .\" .\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 11 2017 $ +.Dd $Mdocdate: July 5 2017 $ .Dt PLEDGE 2 .Os .Sh NAME @@ -142,7 +142,7 @@ support: .Xr uname 3 , system sensor readings. .Pp -.It Xr pledge 2 +.It Fn pledge Can only reduce permissions; can only set a list of .Pa paths once. diff --git a/lib/libcrypto/man/X509V3_get_d2i.3 b/lib/libcrypto/man/X509V3_get_d2i.3 index a0edc899340..9ba4572a6bd 100644 --- a/lib/libcrypto/man/X509V3_get_d2i.3 +++ b/lib/libcrypto/man/X509V3_get_d2i.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509V3_get_d2i.3,v 1.5 2016/12/28 13:45:30 schwarze Exp $ +.\" $OpenBSD: X509V3_get_d2i.3,v 1.6 2017/07/05 11:43:09 schwarze Exp $ .\" OpenSSL 047dd81e Jul 4 23:03:17 2014 +0100 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 28 2016 $ +.Dd $Mdocdate: July 5 2017 $ .Dt X509V3_GET_D2I 3 .Os .Sh NAME @@ -369,7 +369,6 @@ or -1 due to a fatal error such as a memory allocation failure. .Xr ERR_get_error 3 , .Xr X509_CRL_get0_by_serial 3 , .Xr X509_EXTENSION_new 3 , -.Xr X509_get_ext_d2i 3 , .Xr X509_get_pubkey 3 , .Xr X509_get_subject_name 3 , .Xr X509_get_version 3 , diff --git a/lib/libcrypto/man/X509v3_get_ext_by_NID.3 b/lib/libcrypto/man/X509v3_get_ext_by_NID.3 index 1ff4f739792..b5e1981797e 100644 --- a/lib/libcrypto/man/X509v3_get_ext_by_NID.3 +++ b/lib/libcrypto/man/X509v3_get_ext_by_NID.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509v3_get_ext_by_NID.3,v 1.3 2016/12/15 15:22:17 schwarze Exp $ +.\" $OpenBSD: X509v3_get_ext_by_NID.3,v 1.4 2017/07/05 11:43:09 schwarze Exp $ .\" OpenSSL c952780c Jun 21 07:03:34 2016 -0400 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 15 2016 $ +.Dd $Mdocdate: July 5 2017 $ .Dt X509V3_GET_EXT_BY_NID 3 .Os .Sh NAME @@ -291,7 +291,7 @@ is an invalid index value, .Dv NULL is returned. .Pp -.Xr X509v3_add_ext 3 +.Fn X509v3_add_ext adds the extension .Fa ex to the stack @@ -379,7 +379,7 @@ and .Fn X509v3_get_ext_by_critical return the extension index or -1 if an error occurs. .Pp -.Xr X509v3_add_ext 3 +.Fn X509v3_add_ext returns a stack of extensions or .Dv NULL on error. diff --git a/lib/libkeynote/keynote.3 b/lib/libkeynote/keynote.3 index a01fd076027..0979a22277e 100644 --- a/lib/libkeynote/keynote.3 +++ b/lib/libkeynote/keynote.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.3,v 1.53 2017/06/10 14:15:52 schwarze Exp $ +.\" $OpenBSD: keynote.3,v 1.54 2017/07/05 11:43:09 schwarze Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -20,7 +20,7 @@ .\" MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR .\" PURPOSE. .\" -.Dd $Mdocdate: June 10 2017 $ +.Dd $Mdocdate: July 5 2017 $ .Dt KN_INIT 3 .\" .TH KeyNote 3 local .Os @@ -241,7 +241,7 @@ as the .Fa Authorizer . On success, this function will return an assertion ID which can be used to remove the assertion from the session, by using -.Xr kn_remove_assertion 3 . +.Fn kn_remove_assertion . On failure, \-1 is returned, and .Va keynote_errno is set to @@ -324,7 +324,7 @@ This is particularly useful when the action attribute set is particularly large. .Pp On success, -.Xr kn_add_action 3 +.Fn kn_add_action returns 0. On failure, it returns \-1 and sets .Va keynote_errno @@ -407,12 +407,12 @@ is the .Fa returnvalues from the previous call to -.Xr kn_do_query 3 +.Fn kn_do_query will be used. The programmer SHOULD NOT free .Fa returnvalues after the call to -.Xr kn_do_query 3 +.Fn kn_do_query if this feature is used, as the array is not replicated internally. On success, this function returns an index into the .Fa returnvalues @@ -436,7 +436,7 @@ assertion (starting from zero) in session .Fa sessid that was somehow invalid during evaluation. This function is typically called after -.Xr kn_do_query 3 +.Fn kn_do_query is used to evaluate a request. .Fa type specifies the type of failure the application is interested in. @@ -454,7 +454,7 @@ if the assertion could not be cryptographically verified. .Pp These values are defined in keynote.h. An application can then delete the offending assertion using -.Xr kn_remove_assertion 3 . +.Fn kn_remove_assertion . For example, to remove all assertion whose signature failed, an application could do something like: .Bd -literal @@ -464,7 +464,7 @@ could do something like: .Ed .Pp On success, -.Xr kn_get_failed 3 +.Fn kn_get_failed returns an assertion ID. On failure, or when no assertion matching the given criteria is found, it returns \-1 and set @@ -605,7 +605,7 @@ fields correspond to the and .Fa flags arguments to -.Xr kn_add_assertion 3 +.Fn kn_add_assertion respectively. .Fa env_regex is not used. @@ -615,7 +615,7 @@ indicating the returned value to the query. On failure, it returns \-1 and sets .Va keynote_errno to the same values as -.Xr kn_do_query 3 , +.Fn kn_do_query , or to .Er ERROR_MEMORY if a trusted or untrusted assertion could not be added to the session due @@ -786,7 +786,7 @@ The result is placed in with .Fa dec_algorithm describing the algorithm (see -.Xr kn_encode_key 3 ) , +.Fn kn_encode_key ) , and .Fa dec_key pointing to an algorithm-dependent structure. diff --git a/lib/libssl/man/SSL_CIPHER_get_name.3 b/lib/libssl/man/SSL_CIPHER_get_name.3 index 1cd980af789..b85fdffe8d9 100644 --- a/lib/libssl/man/SSL_CIPHER_get_name.3 +++ b/lib/libssl/man/SSL_CIPHER_get_name.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CIPHER_get_name.3,v 1.2 2016/11/29 19:18:52 schwarze Exp $ +.\" $OpenBSD: SSL_CIPHER_get_name.3,v 1.3 2017/07/05 11:43:09 schwarze Exp $ .\" OpenSSL 45f55f6a Nov 30 15:35:22 2014 +0100 .\" .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 29 2016 $ +.Dd $Mdocdate: July 5 2017 $ .Dt SSL_CIPHER_GET_NAME 3 .Os .Sh NAME @@ -102,7 +102,7 @@ This is currently In some cases it should possibly return .Qq TLSv1.2 but the function does not; use -.Xr SSL_CIPHER_description 3 +.Fn SSL_CIPHER_description instead. If .Fa cipher diff --git a/lib/libssl/man/SSL_num_renegotiations.3 b/lib/libssl/man/SSL_num_renegotiations.3 index 11aadc0e26f..7b380d93de5 100644 --- a/lib/libssl/man/SSL_num_renegotiations.3 +++ b/lib/libssl/man/SSL_num_renegotiations.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_num_renegotiations.3,v 1.2 2017/04/10 14:00:51 schwarze Exp $ +.\" $OpenBSD: SSL_num_renegotiations.3,v 1.3 2017/07/05 11:43:09 schwarze Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 10 2017 $ +.Dd $Mdocdate: July 5 2017 $ .Dt SSL_NUM_RENEGOTIATIONS 3 .Os .Sh NAME @@ -44,7 +44,7 @@ since .Xr SSL_new 3 , .Xr SSL_clear 3 , or -.Xr SSL_clear_num_renegotiations 3 +.Fn SSL_clear_num_renegotiations was last called on that object. .Pp .Fn SSL_clear_num_renegotiations diff --git a/share/man/man9/socreate.9 b/share/man/man9/socreate.9 index 978a924f240..e1738d5e1e5 100644 --- a/share/man/man9/socreate.9 +++ b/share/man/man9/socreate.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socreate.9,v 1.6 2016/07/27 13:02:50 phessler Exp $ +.\" $OpenBSD: socreate.9,v 1.7 2017/07/05 11:43:09 schwarze Exp $ .\" .\" Copyright (c) 2006 Robert N. M. Watson .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/share/man/man9/socket.9,v 1.2 2006/12/16 10:32:10 rwatson Exp $ .\" -.Dd $Mdocdate: July 27 2016 $ +.Dd $Mdocdate: July 5 2017 $ .Dt SOCREATE 9 .Os .Sh NAME @@ -228,8 +228,10 @@ system call. .Pp When the .Fn so_upcall -function pointer is not NULL, it is called when -.Xr soreceive 9 +function pointer is not +.Dv NULL , +it is called when +.Fn soreceive matches an incoming connection. .Pp The |