diff options
| author | beck <> | 2024-04-09 13:55:02 +0000 |
|---|---|---|
| committer | beck <> | 2024-04-09 13:55:02 +0000 |
| commit | d0fa5fd25f085379a12d27f262978b3251c3dbf1 (patch) | |
| tree | 1736883c9fc4f8aef245eb802f635ff161db7acb /src/lib/libcrypto/asn1/t_x509.c | |
| parent | 9835bb3c82adc630df1f3aaa7dfbf7f0506b0bc4 (diff) | |
| download | openbsd-d0fa5fd25f085379a12d27f262978b3251c3dbf1.tar.gz openbsd-d0fa5fd25f085379a12d27f262978b3251c3dbf1.tar.bz2 openbsd-d0fa5fd25f085379a12d27f262978b3251c3dbf1.zip | |
Hide public symbols in x509.h
This picks up most of the remaining public symbols in
x509.h
ok tb@
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/t_x509.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index 6f7bdc79fe..5e753f3278 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t_x509.c,v 1.44 2023/12/29 10:59:00 tb Exp $ */ | 1 | /* $OpenBSD: t_x509.c,v 1.45 2024/04/09 13:55:02 beck 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 | * |
| @@ -85,6 +85,7 @@ X509_print_fp(FILE *fp, X509 *x) | |||
| 85 | { | 85 | { |
| 86 | return X509_print_ex_fp(fp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); | 86 | return X509_print_ex_fp(fp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); |
| 87 | } | 87 | } |
| 88 | LCRYPTO_ALIAS(X509_print_fp); | ||
| 88 | 89 | ||
| 89 | int | 90 | int |
| 90 | X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag) | 91 | X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag) |
| @@ -101,12 +102,14 @@ X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag) | |||
| 101 | BIO_free(b); | 102 | BIO_free(b); |
| 102 | return (ret); | 103 | return (ret); |
| 103 | } | 104 | } |
| 105 | LCRYPTO_ALIAS(X509_print_ex_fp); | ||
| 104 | 106 | ||
| 105 | int | 107 | int |
| 106 | X509_print(BIO *bp, X509 *x) | 108 | X509_print(BIO *bp, X509 *x) |
| 107 | { | 109 | { |
| 108 | return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); | 110 | return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); |
| 109 | } | 111 | } |
| 112 | LCRYPTO_ALIAS(X509_print); | ||
| 110 | 113 | ||
| 111 | int | 114 | int |
| 112 | X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag) | 115 | X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag) |
| @@ -250,6 +253,7 @@ X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag) | |||
| 250 | free(m); | 253 | free(m); |
| 251 | return (ret); | 254 | return (ret); |
| 252 | } | 255 | } |
| 256 | LCRYPTO_ALIAS(X509_print_ex); | ||
| 253 | 257 | ||
| 254 | int | 258 | int |
| 255 | X509_ocspid_print(BIO *bp, X509 *x) | 259 | X509_ocspid_print(BIO *bp, X509 *x) |
| @@ -301,6 +305,7 @@ X509_ocspid_print(BIO *bp, X509 *x) | |||
| 301 | free(der); | 305 | free(der); |
| 302 | return (0); | 306 | return (0); |
| 303 | } | 307 | } |
| 308 | LCRYPTO_ALIAS(X509_ocspid_print); | ||
| 304 | 309 | ||
| 305 | int | 310 | int |
| 306 | X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) | 311 | X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) |
| @@ -326,6 +331,7 @@ X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) | |||
| 326 | 331 | ||
| 327 | return 1; | 332 | return 1; |
| 328 | } | 333 | } |
| 334 | LCRYPTO_ALIAS(X509_signature_dump); | ||
| 329 | 335 | ||
| 330 | int | 336 | int |
| 331 | X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig) | 337 | X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig) |
| @@ -352,6 +358,7 @@ X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig) | |||
| 352 | return 0; | 358 | return 0; |
| 353 | return 1; | 359 | return 1; |
| 354 | } | 360 | } |
| 361 | LCRYPTO_ALIAS(X509_signature_print); | ||
| 355 | 362 | ||
| 356 | int | 363 | int |
| 357 | ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm) | 364 | ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm) |
| @@ -513,3 +520,4 @@ X509_NAME_print(BIO *bp, const X509_NAME *name, int obase) | |||
| 513 | free(b); | 520 | free(b); |
| 514 | return (ret); | 521 | return (ret); |
| 515 | } | 522 | } |
| 523 | LCRYPTO_ALIAS(X509_NAME_print); | ||
