diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_utl.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_utl.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/x509/x509_utl.c b/src/lib/libcrypto/x509/x509_utl.c index e0e5a67386..6f5add482f 100644 --- a/src/lib/libcrypto/x509/x509_utl.c +++ b/src/lib/libcrypto/x509/x509_utl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_utl.c,v 1.20 2024/08/31 09:26:18 tb Exp $ */ | 1 | /* $OpenBSD: x509_utl.c,v 1.21 2024/08/31 10:03:03 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -122,7 +122,6 @@ X509V3_add_value(const char *name, const char *value, | |||
| 122 | } | 122 | } |
| 123 | return 0; | 123 | return 0; |
| 124 | } | 124 | } |
| 125 | LCRYPTO_ALIAS(X509V3_add_value); | ||
| 126 | 125 | ||
| 127 | int | 126 | int |
| 128 | X509V3_add_value_uchar(const char *name, const unsigned char *value, | 127 | X509V3_add_value_uchar(const char *name, const unsigned char *value, |
| @@ -130,7 +129,6 @@ X509V3_add_value_uchar(const char *name, const unsigned char *value, | |||
| 130 | { | 129 | { |
| 131 | return X509V3_add_value(name, (const char *)value, extlist); | 130 | return X509V3_add_value(name, (const char *)value, extlist); |
| 132 | } | 131 | } |
| 133 | LCRYPTO_ALIAS(X509V3_add_value_uchar); | ||
| 134 | 132 | ||
| 135 | /* Free function for STACK_OF(CONF_VALUE) */ | 133 | /* Free function for STACK_OF(CONF_VALUE) */ |
| 136 | 134 | ||
| @@ -154,17 +152,6 @@ X509V3_add_value_bool(const char *name, int asn1_bool, | |||
| 154 | return X509V3_add_value(name, "TRUE", extlist); | 152 | return X509V3_add_value(name, "TRUE", extlist); |
| 155 | return X509V3_add_value(name, "FALSE", extlist); | 153 | return X509V3_add_value(name, "FALSE", extlist); |
| 156 | } | 154 | } |
| 157 | LCRYPTO_ALIAS(X509V3_add_value_bool); | ||
| 158 | |||
| 159 | int | ||
| 160 | X509V3_add_value_bool_nf(const char *name, int asn1_bool, | ||
| 161 | STACK_OF(CONF_VALUE) **extlist) | ||
| 162 | { | ||
| 163 | if (asn1_bool) | ||
| 164 | return X509V3_add_value(name, "TRUE", extlist); | ||
| 165 | return 1; | ||
| 166 | } | ||
| 167 | LCRYPTO_ALIAS(X509V3_add_value_bool_nf); | ||
| 168 | 155 | ||
| 169 | static char * | 156 | static char * |
| 170 | bn_to_string(const BIGNUM *bn) | 157 | bn_to_string(const BIGNUM *bn) |
| @@ -307,7 +294,6 @@ X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint, | |||
| 307 | free(strtmp); | 294 | free(strtmp); |
| 308 | return ret; | 295 | return ret; |
| 309 | } | 296 | } |
| 310 | LCRYPTO_ALIAS(X509V3_add_value_int); | ||
| 311 | 297 | ||
| 312 | int | 298 | int |
| 313 | X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool) | 299 | X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool) |
| @@ -333,7 +319,6 @@ X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool) | |||
| 333 | X509V3_conf_err(value); | 319 | X509V3_conf_err(value); |
| 334 | return 0; | 320 | return 0; |
| 335 | } | 321 | } |
| 336 | LCRYPTO_ALIAS(X509V3_get_value_bool); | ||
| 337 | 322 | ||
| 338 | int | 323 | int |
| 339 | X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint) | 324 | X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint) |
| @@ -347,7 +332,6 @@ X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint) | |||
| 347 | *aint = itmp; | 332 | *aint = itmp; |
| 348 | return 1; | 333 | return 1; |
| 349 | } | 334 | } |
| 350 | LCRYPTO_ALIAS(X509V3_get_value_int); | ||
| 351 | 335 | ||
| 352 | #define HDR_NAME 1 | 336 | #define HDR_NAME 1 |
| 353 | #define HDR_VALUE 2 | 337 | #define HDR_VALUE 2 |
