From fbf2ba949e9a8593bfac40125b23645ec041759f Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 25 Apr 2023 18:48:32 +0000 Subject: Remove SXNET Unused and no authorative information was found online in 2016 --- src/lib/libcrypto/man/Makefile | 3 +- src/lib/libcrypto/man/SXNET_new.3 | 139 ---------------------- src/lib/libcrypto/man/X509_EXTENSION_set_object.3 | 5 +- 3 files changed, 3 insertions(+), 144 deletions(-) delete mode 100644 src/lib/libcrypto/man/SXNET_new.3 (limited to 'src/lib/libcrypto/man') diff --git a/src/lib/libcrypto/man/Makefile b/src/lib/libcrypto/man/Makefile index b3fa34fe12..029c9473e1 100644 --- a/src/lib/libcrypto/man/Makefile +++ b/src/lib/libcrypto/man/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.244 2023/04/20 16:19:43 tb Exp $ +# $OpenBSD: Makefile,v 1.245 2023/04/25 18:48:32 tb Exp $ .include @@ -304,7 +304,6 @@ MAN= \ SMIME_write_CMS.3 \ SMIME_write_PKCS7.3 \ STACK_OF.3 \ - SXNET_new.3 \ TS_REQ_new.3 \ UI_UTIL_read_pw.3 \ UI_create_method.3 \ diff --git a/src/lib/libcrypto/man/SXNET_new.3 b/src/lib/libcrypto/man/SXNET_new.3 deleted file mode 100644 index 9a723be203..0000000000 --- a/src/lib/libcrypto/man/SXNET_new.3 +++ /dev/null @@ -1,139 +0,0 @@ -.\" $OpenBSD: SXNET_new.3,v 1.3 2018/03/21 17:57:48 schwarze Exp $ -.\" -.\" Copyright (c) 2016 Ingo Schwarze -.\" -.\" Permission to use, copy, modify, and distribute this software for any -.\" purpose with or without fee is hereby granted, provided that the above -.\" copyright notice and this permission notice appear in all copies. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.\" -.Dd $Mdocdate: March 21 2018 $ -.Dt SXNET_NEW 3 -.Os -.Sh NAME -.Nm SXNET_new , -.Nm SXNET_free , -.Nm SXNETID_new , -.Nm SXNETID_free , -.Nm d2i_SXNET , -.Nm i2d_SXNET , -.Nm d2i_SXNETID , -.Nm i2d_SXNETID -.Nd Thawte strong extranet X.509 extension -.Sh SYNOPSIS -.In openssl/x509v3.h -.Ft SXNET * -.Fn SXNET_new void -.Ft void -.Fn SXNET_free "SXNET *sxnet" -.Ft SXNETID * -.Fn SXNETID_new void -.Ft void -.Fn SXNETID_free "SXNETID *sxnetid" -.Ft SXNET * -.Fo d2i_SXNET -.Fa "SXNET **val_out" -.Fa "const unsigned char **der_in" -.Fa "long length" -.Fc -.Ft int -.Fo i2d_SXNET -.Fa "SXNET *val_in" -.Fa "unsigned char **der_out" -.Fc -.Ft SXNETID * -.Fo d2i_SXNETID -.Fa "SXNETID **val_out" -.Fa "const unsigned char **der_in" -.Fa "long length" -.Fc -.Ft int -.Fo i2d_SXNETID -.Fa "SXNETID *val_in" -.Fa "unsigned char **der_out" -.Fc -.Sh DESCRIPTION -.Fn SXNET_new -allocates and initializes an empty -.Vt SXNET -object representing a non-standard proprietary Thawte strong extranet -X.509 extension. -.Fn SXNET_free -frees -.Fa sxnet . -.Pp -.Fn SXNETID_new -allocates and initializes an empty -.Vt SXNETID -object. -It is used inside -.Vt SXNET . -.Fn SXNETID_free -frees -.Fa sxnetid . -.Pp -The remaining functions decode and encode these objects -using DER format. -For details about the semantics, examples, caveats, and bugs, see -.Xr ASN1_item_d2i 3 . -.Sh RETURN VALUES -.Fn SXNET_new -and -.Fn d2i_SXNET -return an -.Vt SXNET -object or -.Dv NULL -if an error occurs. -.Pp -.Fn SXNETID_new -and -.Fn d2i_SXNETID -return an -.Vt SXNETID -object or -.Dv NULL -if an error occurs. -.Pp -.Fn i2d_SXNET -and -.Fn i2d_SXNETID -return the number of bytes successfully encoded or a negative value -if an error occurs. -.Sh SEE ALSO -.Xr X509_EXTENSION_new 3 , -.Xr X509_new 3 -.Rs -.%A M. Shuttleworth -.%R The Strong Extranet: real-world personal certification -.%Q Thawte Consulting -.%C South Africa -.%D 1998 -.Re -.Sh HISTORY -These functions first appeared in OpenSSL 0.9.3 -and have been available since -.Ox 2.6 . -.Sh BUGS -This manual page does not explain what the extension actually does -because no authoritative information was found online so far. -.Pp -The only hint was found in an ancient white paper "Securing IBM -Applications with Public Key Infrastructure" on the IBM website, -dated June 13, 2001: "Thawte also has a technology called Strong -Extranet that allows institutions to encode customer information -in the extensions to their customer's certificates. -Because multiple institutions can add information, the user needs -only one certificate, making renewal and revocation simpler, although -the issue of modifying an extension to an existing certificate is -not addressed." -.Pp -It is unclear whether that explanation is accurate, but in any case, -it is not very specific. diff --git a/src/lib/libcrypto/man/X509_EXTENSION_set_object.3 b/src/lib/libcrypto/man/X509_EXTENSION_set_object.3 index 6a5b4e09a9..3ade50e4d6 100644 --- a/src/lib/libcrypto/man/X509_EXTENSION_set_object.3 +++ b/src/lib/libcrypto/man/X509_EXTENSION_set_object.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_EXTENSION_set_object.3,v 1.15 2021/10/29 10:22:00 schwarze Exp $ +.\" $OpenBSD: X509_EXTENSION_set_object.3,v 1.16 2023/04/25 18:48:32 tb Exp $ .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" .\" This file is a derived work. @@ -65,7 +65,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: October 29 2021 $ +.Dd $Mdocdate: April 25 2023 $ .Dt X509_EXTENSION_SET_OBJECT 3 .Os .Sh NAME @@ -292,7 +292,6 @@ pointer. .Xr PKEY_USAGE_PERIOD_new 3 , .Xr POLICYINFO_new 3 , .Xr PROXY_POLICY_new 3 , -.Xr SXNET_new 3 , .Xr TS_REQ_new 3 , .Xr X509_check_ca 3 , .Xr X509_check_host 3 , -- cgit v1.2.3-55-g6feb