Skip to content

Commit 50cd476

Browse files
committed
Reorganize public header files (part 1)
Rename <openssl/ossl_typ.h> to <openssl/types.h>. Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#9333)
1 parent 706457b commit 50cd476

39 files changed

+38
-38
lines changed

apps/include/apps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# endif
2222

2323
# include <openssl/e_os2.h>
24-
# include <openssl/ossl_typ.h>
24+
# include <openssl/types.h>
2525
# include <openssl/bio.h>
2626
# include <openssl/x509.h>
2727
# include <openssl/conf.h>

apps/include/opt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include <sys/types.h>
1313
#include <openssl/e_os2.h>
14-
#include <openssl/ossl_typ.h>
14+
#include <openssl/types.h>
1515
#include <stdarg.h>
1616

1717
/*

crypto/cmp/cmp_local.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/* explicit #includes not strictly needed since implied by the above: */
2121
# include <openssl/crmf.h>
22-
# include <openssl/ossl_typ.h>
22+
# include <openssl/types.h>
2323
# include <openssl/safestack.h>
2424
# include <openssl/x509.h>
2525
# include <openssl/x509v3.h>

crypto/crmf/crmf_local.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# include <openssl/err.h>
1919

2020
/* explicit #includes not strictly needed since implied by the above: */
21-
# include <openssl/ossl_typ.h>
21+
# include <openssl/types.h>
2222
# include <openssl/safestack.h>
2323
# include <openssl/x509.h>
2424
# include <openssl/x509v3.h>

crypto/evp/evp_fetch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
#include <stddef.h>
11-
#include <openssl/ossl_typ.h>
11+
#include <openssl/types.h>
1212
#include <openssl/evp.h>
1313
#include <openssl/core.h>
1414
#include "internal/cryptlib.h"

crypto/evp/evp_local.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ DEFINE_STACK_OF(EVP_PBE_CTL)
163163

164164
int is_partially_overlapping(const void *ptr1, const void *ptr2, int len);
165165

166-
#include <openssl/ossl_typ.h>
166+
#include <openssl/types.h>
167167
#include <openssl/core.h>
168168

169169
void *evp_generic_fetch(OPENSSL_CTX *ctx, int operation_id,

crypto/evp/mac_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <openssl/err.h>
1414
#include <openssl/core.h>
1515
#include <openssl/core_names.h>
16-
#include <openssl/ossl_typ.h>
16+
#include <openssl/types.h>
1717
#include "internal/nelem.h"
1818
#include "crypto/evp.h"
1919
#include "internal/provider.h"

crypto/x509/v3_admis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <stdio.h>
1010
#include "internal/cryptlib.h"
1111
#include <openssl/conf.h>
12-
#include <openssl/ossl_typ.h>
12+
#include <openssl/types.h>
1313
#include <openssl/asn1.h>
1414
#include <openssl/asn1t.h>
1515

crypto/x509/x509_meth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "internal/cryptlib.h"
1515
#include <openssl/asn1.h>
1616
#include <openssl/x509.h>
17-
#include <openssl/ossl_typ.h>
17+
#include <openssl/types.h>
1818
#include "x509_local.h"
1919

2020
X509_LOOKUP_METHOD *X509_LOOKUP_meth_new(const char *name)

doc/internal/man3/openssl_ctx_get_data.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ openssl_ctx_get_data, openssl_ctx_run_once, openssl_ctx_onfree
77

88
=head1 SYNOPSIS
99

10-
#include <openssl/ossl_typ.h>
10+
#include <openssl/types.h>
1111
#include "internal/cryptlib.h"
1212

1313
typedef struct openssl_ctx_method {

include/internal/param_build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
#include <openssl/params.h>
12-
#include <openssl/ossl_typ.h>
12+
#include <openssl/types.h>
1313

1414
#define OSSL_PARAM_BLD_MAX 10
1515

include/openssl/asn1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# include <openssl/asn1err.h>
1919
# include <openssl/symhacks.h>
2020

21-
# include <openssl/ossl_typ.h>
21+
# include <openssl/types.h>
2222
# if !OPENSSL_API_1_1_0
2323
# include <openssl/bn.h>
2424
# endif

include/openssl/bn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# include <stdio.h>
1717
# endif
1818
# include <openssl/opensslconf.h>
19-
# include <openssl/ossl_typ.h>
19+
# include <openssl/types.h>
2020
# include <openssl/crypto.h>
2121
# include <openssl/bnerr.h>
2222

include/openssl/buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#ifndef HEADER_BUFFER_H
1111
# define HEADER_BUFFER_H
1212

13-
# include <openssl/ossl_typ.h>
13+
# include <openssl/types.h>
1414
# ifndef HEADER_CRYPTO_H
1515
# include <openssl/crypto.h>
1616
# endif

include/openssl/cmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# include <openssl/cmp_util.h>
2121

2222
/* explicit #includes not strictly needed since implied by the above: */
23-
# include <openssl/ossl_typ.h>
23+
# include <openssl/types.h>
2424
# include <openssl/safestack.h>
2525
# include <openssl/x509.h>
2626
# include <openssl/x509v3.h>

include/openssl/conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# include <openssl/lhash.h>
1515
# include <openssl/safestack.h>
1616
# include <openssl/e_os2.h>
17-
# include <openssl/ossl_typ.h>
17+
# include <openssl/types.h>
1818
# include <openssl/conferr.h>
1919

2020
#ifdef __cplusplus

include/openssl/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define OSSL_CORE_H
1212

1313
# include <stddef.h>
14-
# include <openssl/ossl_typ.h>
14+
# include <openssl/types.h>
1515

1616
# ifdef __cplusplus
1717
extern "C" {

include/openssl/crmf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# include <openssl/x509v3.h> /* for GENERAL_NAME etc. */
2424

2525
/* explicit #includes not strictly needed since implied by the above: */
26-
# include <openssl/ossl_typ.h>
26+
# include <openssl/types.h>
2727
# include <openssl/x509.h>
2828

2929
# ifdef __cplusplus

include/openssl/crypto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# include <openssl/safestack.h>
2424
# include <openssl/opensslv.h>
25-
# include <openssl/ossl_typ.h>
25+
# include <openssl/types.h>
2626
# include <openssl/opensslconf.h>
2727
# include <openssl/cryptoerr.h>
2828

include/openssl/ct.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# include <openssl/opensslconf.h>
1414

1515
# ifndef OPENSSL_NO_CT
16-
# include <openssl/ossl_typ.h>
16+
# include <openssl/types.h>
1717
# include <openssl/safestack.h>
1818
# include <openssl/x509.h>
1919
# include <openssl/cterr.h>

include/openssl/dh.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# include <openssl/e_os2.h>
1717
# include <openssl/bio.h>
1818
# include <openssl/asn1.h>
19-
# include <openssl/ossl_typ.h>
19+
# include <openssl/types.h>
2020
# if !OPENSSL_API_1_1_0
2121
# include <openssl/bn.h>
2222
# endif

include/openssl/dsa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extern "C" {
2020
# include <openssl/asn1.h>
2121
# include <openssl/bio.h>
2222
# include <openssl/crypto.h>
23-
# include <openssl/ossl_typ.h>
23+
# include <openssl/types.h>
2424
# include <openssl/bn.h>
2525
# if !OPENSSL_API_1_1_0
2626
# include <openssl/dh.h>

include/openssl/engine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# include <openssl/ui.h>
2525
# include <openssl/err.h>
2626
# endif
27-
# include <openssl/ossl_typ.h>
27+
# include <openssl/types.h>
2828
# include <openssl/symhacks.h>
2929
# include <openssl/x509.h>
3030
# include <openssl/engineerr.h>

include/openssl/err.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# include <stdlib.h>
1818
# endif
1919

20-
# include <openssl/ossl_typ.h>
20+
# include <openssl/types.h>
2121
# include <openssl/bio.h>
2222
# include <openssl/lhash.h>
2323

include/openssl/evp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# include <stdarg.h>
1414

1515
# include <openssl/opensslconf.h>
16-
# include <openssl/ossl_typ.h>
16+
# include <openssl/types.h>
1717
# include <openssl/core.h>
1818
# include <openssl/symhacks.h>
1919
# include <openssl/bio.h>

include/openssl/kdf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# include <stdarg.h>
1414
# include <stddef.h>
15-
# include <openssl/ossl_typ.h>
15+
# include <openssl/types.h>
1616
# include <openssl/core.h>
1717

1818
# ifdef __cplusplus

include/openssl/modes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define HEADER_MODES_H
1212

1313
# include <stddef.h>
14-
# include <openssl/ossl_typ.h>
14+
# include <openssl/types.h>
1515

1616
# ifdef __cplusplus
1717
extern "C" {

include/openssl/ocsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
# ifndef OPENSSL_NO_OCSP
4848

49-
# include <openssl/ossl_typ.h>
49+
# include <openssl/types.h>
5050
# include <openssl/x509.h>
5151
# include <openssl/x509v3.h>
5252
# include <openssl/safestack.h>

include/openssl/pkcs7.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# include <openssl/e_os2.h>
1616

1717
# include <openssl/symhacks.h>
18-
# include <openssl/ossl_typ.h>
18+
# include <openssl/types.h>
1919
# include <openssl/pkcs7err.h>
2020

2121
#ifdef __cplusplus

include/openssl/rand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define HEADER_RAND_H
1212

1313
# include <stdlib.h>
14-
# include <openssl/ossl_typ.h>
14+
# include <openssl/types.h>
1515
# include <openssl/e_os2.h>
1616
# include <openssl/randerr.h>
1717

include/openssl/rand_drbg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define HEADER_DRBG_RAND_H
1212

1313
# include <time.h>
14-
# include <openssl/ossl_typ.h>
14+
# include <openssl/types.h>
1515
# include <openssl/obj_mac.h>
1616

1717
/*

include/openssl/rsa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# include <openssl/asn1.h>
1717
# include <openssl/bio.h>
1818
# include <openssl/crypto.h>
19-
# include <openssl/ossl_typ.h>
19+
# include <openssl/types.h>
2020
# if !OPENSSL_API_1_1_0
2121
# include <openssl/bn.h>
2222
# endif

include/openssl/store.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define HEADER_OSSL_STORE_H
1212

1313
# include <stdarg.h>
14-
# include <openssl/ossl_typ.h>
14+
# include <openssl/types.h>
1515
# include <openssl/pem.h>
1616
# include <openssl/storeerr.h>
1717

File renamed without changes.

include/openssl/ui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# endif
1818
# include <openssl/safestack.h>
1919
# include <openssl/pem.h>
20-
# include <openssl/ossl_typ.h>
20+
# include <openssl/types.h>
2121
# include <openssl/uierr.h>
2222

2323
/* For compatibility reasons, the macro OPENSSL_NO_UI is currently retained */

include/openssl/x509.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# define HEADER_X509_H
1313

1414
# include <openssl/e_os2.h>
15-
# include <openssl/ossl_typ.h>
15+
# include <openssl/types.h>
1616
# include <openssl/symhacks.h>
1717
# include <openssl/buffer.h>
1818
# include <openssl/evp.h>

providers/fips/selftest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
#include <openssl/core_numbers.h>
11-
#include <openssl/ossl_typ.h>
11+
#include <openssl/types.h>
1212

1313
typedef struct self_test_post_params_st {
1414
/* FIPS module integrity check parameters */

test/mdc2test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <string.h>
1111
#include <openssl/provider.h>
1212
#include <openssl/params.h>
13-
#include <openssl/ossl_typ.h>
13+
#include <openssl/types.h>
1414
#include <openssl/core_names.h>
1515
#include "internal/nelem.h"
1616
#include "testutil.h"

test/shlibloadtest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <stdlib.h>
1313
#include <openssl/opensslv.h>
1414
#include <openssl/ssl.h>
15-
#include <openssl/ossl_typ.h>
15+
#include <openssl/types.h>
1616
#include "crypto/dso_conf.h"
1717

1818
typedef void DSO;

0 commit comments

Comments
 (0)