summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/bio/bio.h11
-rw-r--r--src/lib/libcrypto/cms/cms_local.h7
-rw-r--r--src/lib/libcrypto/conf/conf_api.h3
-rw-r--r--src/lib/libcrypto/idea/idea.h3
-rw-r--r--src/lib/libcrypto/man/BIO_s_bio.314
-rw-r--r--src/lib/libcrypto/rsa/rsa.h4
-rw-r--r--src/lib/libcrypto/x509/x509_internal.h3
-rw-r--r--src/lib/libssl/ssl_local.h3
8 files changed, 9 insertions, 39 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index a50fb16342..8327ffc071 100644
--- a/src/lib/libcrypto/bio/bio.h
+++ b/src/lib/libcrypto/bio/bio.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio.h,v 1.63 2024/03/02 09:22:41 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.64 2024/05/19 07:12:50 jsg Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -364,10 +364,6 @@ int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
364#define BIO_C_GET_WRITE_GUARANTEE 140 364#define BIO_C_GET_WRITE_GUARANTEE 140
365#define BIO_C_GET_READ_REQUEST 141 365#define BIO_C_GET_READ_REQUEST 141
366#define BIO_C_SHUTDOWN_WR 142 366#define BIO_C_SHUTDOWN_WR 142
367#define BIO_C_NREAD0 143
368#define BIO_C_NREAD 144
369#define BIO_C_NWRITE0 145
370#define BIO_C_NWRITE 146
371#define BIO_C_RESET_READ_REQUEST 147 367#define BIO_C_RESET_READ_REQUEST 147
372#define BIO_C_SET_MD_CTX 148 368#define BIO_C_SET_MD_CTX 148
373 369
@@ -566,11 +562,6 @@ int BIO_get_retry_reason(BIO *bio);
566void BIO_set_retry_reason(BIO *bio, int reason); 562void BIO_set_retry_reason(BIO *bio, int reason);
567BIO * BIO_dup_chain(BIO *in); 563BIO * BIO_dup_chain(BIO *in);
568 564
569int BIO_nread0(BIO *bio, char **buf);
570int BIO_nread(BIO *bio, char **buf, int num);
571int BIO_nwrite0(BIO *bio, char **buf);
572int BIO_nwrite(BIO *bio, char **buf, int num);
573
574long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, 565long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi,
575 long argl, long ret); 566 long argl, long ret);
576 567
diff --git a/src/lib/libcrypto/cms/cms_local.h b/src/lib/libcrypto/cms/cms_local.h
index 2e3a3637e8..6be60e9047 100644
--- a/src/lib/libcrypto/cms/cms_local.h
+++ b/src/lib/libcrypto/cms/cms_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cms_local.h,v 1.5 2023/08/24 04:56:36 tb Exp $ */ 1/* $OpenBSD: cms_local.h,v 1.6 2024/05/19 07:12:50 jsg Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -394,8 +394,6 @@ extern const ASN1_ITEM CMS_Attributes_Sign_it;
394extern const ASN1_ITEM CMS_Attributes_Verify_it; 394extern const ASN1_ITEM CMS_Attributes_Verify_it;
395extern const ASN1_ITEM CMS_RecipientInfo_it; 395extern const ASN1_ITEM CMS_RecipientInfo_it;
396extern const ASN1_ITEM CMS_PasswordRecipientInfo_it; 396extern const ASN1_ITEM CMS_PasswordRecipientInfo_it;
397CMS_IssuerAndSerialNumber *CMS_IssuerAndSerialNumber_new(void);
398void CMS_IssuerAndSerialNumber_free(CMS_IssuerAndSerialNumber *a);
399 397
400#define CMS_SIGNERINFO_ISSUER_SERIAL 0 398#define CMS_SIGNERINFO_ISSUER_SERIAL 0
401#define CMS_SIGNERINFO_KEYIDENTIFIER 1 399#define CMS_SIGNERINFO_KEYIDENTIFIER 1
@@ -423,9 +421,6 @@ int cms_SignerIdentifier_get0_signer_id(CMS_SignerIdentifier *sid,
423 ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno); 421 ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno);
424int cms_SignerIdentifier_cert_cmp(CMS_SignerIdentifier *sid, X509 *cert); 422int cms_SignerIdentifier_cert_cmp(CMS_SignerIdentifier *sid, X509 *cert);
425 423
426CMS_ContentInfo *cms_CompressedData_create(int comp_nid);
427BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms);
428
429BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm); 424BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm);
430int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain, 425int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain,
431 X509_ALGOR *mdalg); 426 X509_ALGOR *mdalg);
diff --git a/src/lib/libcrypto/conf/conf_api.h b/src/lib/libcrypto/conf/conf_api.h
index 95f9386226..2793e8413b 100644
--- a/src/lib/libcrypto/conf/conf_api.h
+++ b/src/lib/libcrypto/conf/conf_api.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_api.h,v 1.4 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: conf_api.h,v 1.5 2024/05/19 07:12:50 jsg Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -77,7 +77,6 @@ STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
77int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); 77int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
78char *_CONF_get_string(const CONF *conf, const char *section, 78char *_CONF_get_string(const CONF *conf, const char *section,
79 const char *name); 79 const char *name);
80long _CONF_get_number(const CONF *conf, const char *section, const char *name);
81 80
82int _CONF_new_data(CONF *conf); 81int _CONF_new_data(CONF *conf);
83void _CONF_free_data(CONF *conf); 82void _CONF_free_data(CONF *conf);
diff --git a/src/lib/libcrypto/idea/idea.h b/src/lib/libcrypto/idea/idea.h
index e5ddd3a6f6..81c3453bce 100644
--- a/src/lib/libcrypto/idea/idea.h
+++ b/src/lib/libcrypto/idea/idea.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: idea.h,v 1.11 2023/07/07 12:51:58 beck Exp $ */ 1/* $OpenBSD: idea.h,v 1.12 2024/05/19 07:12:50 jsg Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -79,7 +79,6 @@ typedef struct idea_key_st {
79 IDEA_INT data[9][6]; 79 IDEA_INT data[9][6];
80} IDEA_KEY_SCHEDULE; 80} IDEA_KEY_SCHEDULE;
81 81
82const char *idea_options(void);
83void idea_ecb_encrypt(const unsigned char *in, unsigned char *out, 82void idea_ecb_encrypt(const unsigned char *in, unsigned char *out,
84 IDEA_KEY_SCHEDULE *ks); 83 IDEA_KEY_SCHEDULE *ks);
85void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks); 84void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks);
diff --git a/src/lib/libcrypto/man/BIO_s_bio.3 b/src/lib/libcrypto/man/BIO_s_bio.3
index b3e6c3d32c..efda019df3 100644
--- a/src/lib/libcrypto/man/BIO_s_bio.3
+++ b/src/lib/libcrypto/man/BIO_s_bio.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_s_bio.3,v 1.19 2023/04/29 12:01:53 schwarze Exp $ 1.\" $OpenBSD: BIO_s_bio.3,v 1.20 2024/05/19 07:12:50 jsg Exp $
2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file was written by 4.\" This file was written by
@@ -53,7 +53,7 @@
53.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 53.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
54.\" OF THE POSSIBILITY OF SUCH DAMAGE. 54.\" OF THE POSSIBILITY OF SUCH DAMAGE.
55.\" 55.\"
56.Dd $Mdocdate: April 29 2023 $ 56.Dd $Mdocdate: May 19 2024 $
57.Dt BIO_S_BIO 3 57.Dt BIO_S_BIO 3
58.Os 58.Os
59.Sh NAME 59.Sh NAME
@@ -69,16 +69,6 @@
69.Nm BIO_get_read_request , 69.Nm BIO_get_read_request ,
70.Nm BIO_ctrl_get_read_request , 70.Nm BIO_ctrl_get_read_request ,
71.Nm BIO_ctrl_reset_read_request 71.Nm BIO_ctrl_reset_read_request
72.\" The following non-copying I/O functions are intentionally undocumented
73.\" because they seem fragile and unused by anything:
74.\" .Nm BIO_nread0
75.\" .Nm BIO_nread
76.\" .Nm BIO_nwrite0
77.\" .Nm BIO_nwrite
78.\" .Nm BIO_C_NREAD0
79.\" .Nm BIO_C_NREAD
80.\" .Nm BIO_C_NWRITE0
81.\" .Nm BIO_C_NWRITE
82.Nd BIO pair BIO 72.Nd BIO pair BIO
83.Sh SYNOPSIS 73.Sh SYNOPSIS
84.In openssl/bio.h 74.In openssl/bio.h
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 4fcef3a97c..60512317bd 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.65 2023/07/28 10:05:16 tb Exp $ */ 1/* $OpenBSD: rsa.h,v 1.66 2024/05/19 07:12:50 jsg Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -274,8 +274,6 @@ int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
274const RSA_METHOD *RSA_PKCS1_OpenSSL(void); 274const RSA_METHOD *RSA_PKCS1_OpenSSL(void);
275const RSA_METHOD *RSA_PKCS1_SSLeay(void); 275const RSA_METHOD *RSA_PKCS1_SSLeay(void);
276 276
277const RSA_METHOD *RSA_null_method(void);
278
279int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2); 277int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
280 278
281RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len); 279RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len);
diff --git a/src/lib/libcrypto/x509/x509_internal.h b/src/lib/libcrypto/x509/x509_internal.h
index 280d1ae46c..9b9980ece5 100644
--- a/src/lib/libcrypto/x509/x509_internal.h
+++ b/src/lib/libcrypto/x509/x509_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_internal.h,v 1.27 2023/11/13 10:33:00 tb Exp $ */ 1/* $OpenBSD: x509_internal.h,v 1.28 2024/05/19 07:12:50 jsg Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -134,7 +134,6 @@ int x509_constraints_check(struct x509_constraints_names *names,
134 struct x509_constraints_names *excluded, int *error); 134 struct x509_constraints_names *excluded, int *error);
135int x509_constraints_chain(STACK_OF(X509) *chain, int *error, 135int x509_constraints_chain(STACK_OF(X509) *chain, int *error,
136 int *depth); 136 int *depth);
137int x509_verify_cert_info_populate(X509 *cert);
138int x509_vfy_check_security_level(X509_STORE_CTX *ctx); 137int x509_vfy_check_security_level(X509_STORE_CTX *ctx);
139 138
140__END_HIDDEN_DECLS 139__END_HIDDEN_DECLS
diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h
index 551bdd5766..eeef569fa9 100644
--- a/src/lib/libssl/ssl_local.h
+++ b/src/lib/libssl/ssl_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_local.h,v 1.15 2024/05/10 05:08:05 tb Exp $ */ 1/* $OpenBSD: ssl_local.h,v 1.16 2024/05/19 07:12:50 jsg Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1305,7 +1305,6 @@ int ssl_verify_alarm_type(long type);
1305 1305
1306int SSL_SESSION_ticket(SSL_SESSION *ss, unsigned char **out, size_t *out_len); 1306int SSL_SESSION_ticket(SSL_SESSION *ss, unsigned char **out, size_t *out_len);
1307 1307
1308const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p);
1309int ssl3_do_write(SSL *s, int type); 1308int ssl3_do_write(SSL *s, int type);
1310int ssl3_send_alert(SSL *s, int level, int desc); 1309int ssl3_send_alert(SSL *s, int level, int desc);
1311int ssl3_get_req_cert_types(SSL *s, CBB *cbb); 1310int ssl3_get_req_cert_types(SSL *s, CBB *cbb);