diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_locl.h | 14 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/asn1.h | 3 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/asn1_locl.h | 14 |
4 files changed, 16 insertions, 18 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 78705da909..7e0ee8eab0 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h | |||
@@ -856,9 +856,6 @@ DECLARE_ASN1_FUNCTIONS(ASN1_UTF8STRING) | |||
856 | DECLARE_ASN1_FUNCTIONS(ASN1_NULL) | 856 | DECLARE_ASN1_FUNCTIONS(ASN1_NULL) |
857 | DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING) | 857 | DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING) |
858 | 858 | ||
859 | int UTF8_getc(const unsigned char *str, int len, unsigned long *val); | ||
860 | int UTF8_putc(unsigned char *str, int len, unsigned long value); | ||
861 | |||
862 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE) | 859 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE) |
863 | 860 | ||
864 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING) | 861 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING) |
diff --git a/src/lib/libcrypto/asn1/asn1_locl.h b/src/lib/libcrypto/asn1/asn1_locl.h index 2c6087bf02..64bf8ec2fa 100644 --- a/src/lib/libcrypto/asn1/asn1_locl.h +++ b/src/lib/libcrypto/asn1/asn1_locl.h | |||
@@ -61,18 +61,18 @@ | |||
61 | /* ASN1 print context structure */ | 61 | /* ASN1 print context structure */ |
62 | 62 | ||
63 | struct asn1_pctx_st | 63 | struct asn1_pctx_st |
64 | { | 64 | { |
65 | unsigned long flags; | 65 | unsigned long flags; |
66 | unsigned long nm_flags; | 66 | unsigned long nm_flags; |
67 | unsigned long cert_flags; | 67 | unsigned long cert_flags; |
68 | unsigned long oid_flags; | 68 | unsigned long oid_flags; |
69 | unsigned long str_flags; | 69 | unsigned long str_flags; |
70 | } /* ASN1_PCTX */; | 70 | } /* ASN1_PCTX */; |
71 | 71 | ||
72 | /* ASN1 public key method structure */ | 72 | /* ASN1 public key method structure */ |
73 | 73 | ||
74 | struct evp_pkey_asn1_method_st | 74 | struct evp_pkey_asn1_method_st |
75 | { | 75 | { |
76 | int pkey_id; | 76 | int pkey_id; |
77 | int pkey_base_id; | 77 | int pkey_base_id; |
78 | unsigned long pkey_flags; | 78 | unsigned long pkey_flags; |
@@ -123,7 +123,7 @@ struct evp_pkey_asn1_method_st | |||
123 | X509_ALGOR *alg1, X509_ALGOR *alg2, | 123 | X509_ALGOR *alg1, X509_ALGOR *alg2, |
124 | ASN1_BIT_STRING *sig); | 124 | ASN1_BIT_STRING *sig); |
125 | 125 | ||
126 | } /* EVP_PKEY_ASN1_METHOD */; | 126 | } /* EVP_PKEY_ASN1_METHOD */; |
127 | 127 | ||
128 | /* Method to handle CRL access. | 128 | /* Method to handle CRL access. |
129 | * In general a CRL could be very large (several Mb) and can consume large | 129 | * In general a CRL could be very large (several Mb) and can consume large |
@@ -135,14 +135,14 @@ struct evp_pkey_asn1_method_st | |||
135 | #define X509_CRL_METHOD_DYNAMIC 1 | 135 | #define X509_CRL_METHOD_DYNAMIC 1 |
136 | 136 | ||
137 | struct x509_crl_method_st | 137 | struct x509_crl_method_st |
138 | { | 138 | { |
139 | int flags; | 139 | int flags; |
140 | int (*crl_init)(X509_CRL *crl); | 140 | int (*crl_init)(X509_CRL *crl); |
141 | int (*crl_free)(X509_CRL *crl); | 141 | int (*crl_free)(X509_CRL *crl); |
142 | int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, | 142 | int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, |
143 | ASN1_INTEGER *ser, X509_NAME *issuer); | 143 | ASN1_INTEGER *ser, X509_NAME *issuer); |
144 | int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk); | 144 | int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk); |
145 | }; | 145 | }; |
146 | 146 | ||
147 | /* | 147 | /* |
148 | * Unicode codepoint constants | 148 | * Unicode codepoint constants |
@@ -154,3 +154,5 @@ struct x509_crl_method_st | |||
154 | #define UNICODE_IS_SURROGATE(x) \ | 154 | #define UNICODE_IS_SURROGATE(x) \ |
155 | ((x) >= UNICODE_SURROGATE_MIN && (x) <= UNICODE_SURROGATE_MAX) | 155 | ((x) >= UNICODE_SURROGATE_MIN && (x) <= UNICODE_SURROGATE_MAX) |
156 | 156 | ||
157 | int UTF8_getc(const unsigned char *str, int len, unsigned long *val); | ||
158 | int UTF8_putc(unsigned char *str, int len, unsigned long value); | ||
diff --git a/src/lib/libssl/src/crypto/asn1/asn1.h b/src/lib/libssl/src/crypto/asn1/asn1.h index 78705da909..7e0ee8eab0 100644 --- a/src/lib/libssl/src/crypto/asn1/asn1.h +++ b/src/lib/libssl/src/crypto/asn1/asn1.h | |||
@@ -856,9 +856,6 @@ DECLARE_ASN1_FUNCTIONS(ASN1_UTF8STRING) | |||
856 | DECLARE_ASN1_FUNCTIONS(ASN1_NULL) | 856 | DECLARE_ASN1_FUNCTIONS(ASN1_NULL) |
857 | DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING) | 857 | DECLARE_ASN1_FUNCTIONS(ASN1_BMPSTRING) |
858 | 858 | ||
859 | int UTF8_getc(const unsigned char *str, int len, unsigned long *val); | ||
860 | int UTF8_putc(unsigned char *str, int len, unsigned long value); | ||
861 | |||
862 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE) | 859 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE) |
863 | 860 | ||
864 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING) | 861 | DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING) |
diff --git a/src/lib/libssl/src/crypto/asn1/asn1_locl.h b/src/lib/libssl/src/crypto/asn1/asn1_locl.h index 2c6087bf02..64bf8ec2fa 100644 --- a/src/lib/libssl/src/crypto/asn1/asn1_locl.h +++ b/src/lib/libssl/src/crypto/asn1/asn1_locl.h | |||
@@ -61,18 +61,18 @@ | |||
61 | /* ASN1 print context structure */ | 61 | /* ASN1 print context structure */ |
62 | 62 | ||
63 | struct asn1_pctx_st | 63 | struct asn1_pctx_st |
64 | { | 64 | { |
65 | unsigned long flags; | 65 | unsigned long flags; |
66 | unsigned long nm_flags; | 66 | unsigned long nm_flags; |
67 | unsigned long cert_flags; | 67 | unsigned long cert_flags; |
68 | unsigned long oid_flags; | 68 | unsigned long oid_flags; |
69 | unsigned long str_flags; | 69 | unsigned long str_flags; |
70 | } /* ASN1_PCTX */; | 70 | } /* ASN1_PCTX */; |
71 | 71 | ||
72 | /* ASN1 public key method structure */ | 72 | /* ASN1 public key method structure */ |
73 | 73 | ||
74 | struct evp_pkey_asn1_method_st | 74 | struct evp_pkey_asn1_method_st |
75 | { | 75 | { |
76 | int pkey_id; | 76 | int pkey_id; |
77 | int pkey_base_id; | 77 | int pkey_base_id; |
78 | unsigned long pkey_flags; | 78 | unsigned long pkey_flags; |
@@ -123,7 +123,7 @@ struct evp_pkey_asn1_method_st | |||
123 | X509_ALGOR *alg1, X509_ALGOR *alg2, | 123 | X509_ALGOR *alg1, X509_ALGOR *alg2, |
124 | ASN1_BIT_STRING *sig); | 124 | ASN1_BIT_STRING *sig); |
125 | 125 | ||
126 | } /* EVP_PKEY_ASN1_METHOD */; | 126 | } /* EVP_PKEY_ASN1_METHOD */; |
127 | 127 | ||
128 | /* Method to handle CRL access. | 128 | /* Method to handle CRL access. |
129 | * In general a CRL could be very large (several Mb) and can consume large | 129 | * In general a CRL could be very large (several Mb) and can consume large |
@@ -135,14 +135,14 @@ struct evp_pkey_asn1_method_st | |||
135 | #define X509_CRL_METHOD_DYNAMIC 1 | 135 | #define X509_CRL_METHOD_DYNAMIC 1 |
136 | 136 | ||
137 | struct x509_crl_method_st | 137 | struct x509_crl_method_st |
138 | { | 138 | { |
139 | int flags; | 139 | int flags; |
140 | int (*crl_init)(X509_CRL *crl); | 140 | int (*crl_init)(X509_CRL *crl); |
141 | int (*crl_free)(X509_CRL *crl); | 141 | int (*crl_free)(X509_CRL *crl); |
142 | int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, | 142 | int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, |
143 | ASN1_INTEGER *ser, X509_NAME *issuer); | 143 | ASN1_INTEGER *ser, X509_NAME *issuer); |
144 | int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk); | 144 | int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk); |
145 | }; | 145 | }; |
146 | 146 | ||
147 | /* | 147 | /* |
148 | * Unicode codepoint constants | 148 | * Unicode codepoint constants |
@@ -154,3 +154,5 @@ struct x509_crl_method_st | |||
154 | #define UNICODE_IS_SURROGATE(x) \ | 154 | #define UNICODE_IS_SURROGATE(x) \ |
155 | ((x) >= UNICODE_SURROGATE_MIN && (x) <= UNICODE_SURROGATE_MAX) | 155 | ((x) >= UNICODE_SURROGATE_MIN && (x) <= UNICODE_SURROGATE_MAX) |
156 | 156 | ||
157 | int UTF8_getc(const unsigned char *str, int len, unsigned long *val); | ||
158 | int UTF8_putc(unsigned char *str, int len, unsigned long value); | ||