diff options
author | tb <> | 2022-01-14 08:53:53 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 08:53:53 +0000 |
commit | 1a06a078976a3bdd85f1457f17c06357e6a94edf (patch) | |
tree | 20525d38d6c46bf99425911a903e89e0a3305318 /src/lib/libcrypto/asn1/asn1_locl.h | |
parent | 96279762aaeb88be0927fae5ee7c985dfa9246c2 (diff) | |
download | openbsd-1a06a078976a3bdd85f1457f17c06357e6a94edf.tar.gz openbsd-1a06a078976a3bdd85f1457f17c06357e6a94edf.tar.bz2 openbsd-1a06a078976a3bdd85f1457f17c06357e6a94edf.zip |
Move ASN1_BOOLEAN to internal only.
This moves {d2i,i2d}_ASN1_BOOLEAN() to internal only. They are unused,
but help us testing the encoding.
ok jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_locl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_locl.h index b9b4f6196b..7d34d7c17a 100644 --- a/src/lib/libcrypto/asn1/asn1_locl.h +++ b/src/lib/libcrypto/asn1/asn1_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_locl.h,v 1.19 2022/01/14 08:43:06 tb Exp $ */ | 1 | /* $OpenBSD: asn1_locl.h,v 1.20 2022/01/14 08:53:53 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 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -177,6 +177,9 @@ void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); | |||
177 | int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it); | 177 | int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it); |
178 | int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it); | 178 | int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it); |
179 | 179 | ||
180 | int i2d_ASN1_BOOLEAN(int a, unsigned char **pp); | ||
181 | int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp, long length); | ||
182 | |||
180 | /* | 183 | /* |
181 | * Unicode codepoint constants | 184 | * Unicode codepoint constants |
182 | */ | 185 | */ |