File tree Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,10 @@ add_library(bssl-compat STATIC
196
196
source /stack.c
197
197
source /TLS_VERSION_to_string.cc
198
198
source /TLS_with_buffers_method.cc
199
+ source /X509_EXTENSION_get_object.cc
199
200
source /X509_EXTENSION_get_data.cc
201
+ source /X509_alias_get0.cc
202
+ source /X509_get_pubkey.cc
200
203
source /X509_sign.cc
201
204
source /X509_STORE_CTX_get0_untrusted.cc
202
205
source /X509_STORE_CTX_init.cc
@@ -601,7 +604,6 @@ target_add_bssl_function(bssl-compat
601
604
TLS_method
602
605
TLS_server_method
603
606
X509_add1_ext_i2d
604
- X509_alias_get0
605
607
X509_check_purpose
606
608
X509_cmp
607
609
X509_CRL_cmp
@@ -614,7 +616,6 @@ target_add_bssl_function(bssl-compat
614
616
X509_CRL_up_ref
615
617
X509_CRL_verify
616
618
X509_digest
617
- X509_EXTENSION_get_object
618
619
X509_free
619
620
X509_get_ext
620
621
X509_get_ext_by_NID
@@ -625,7 +626,6 @@ target_add_bssl_function(bssl-compat
625
626
X509_get_issuer_name
626
627
X509_get_key_usage
627
628
X509_get_pathlen
628
- X509_get_pubkey
629
629
X509_get_serialNumber
630
630
X509_get_subject_name
631
631
X509_get_X509_PUBKEY
Original file line number Diff line number Diff line change
1
+ #include < openssl/x509.h>
2
+ #include < ossl.h>
3
+
4
+
5
+ ASN1_OBJECT *X509_EXTENSION_get_object (const X509_EXTENSION *ex) {
6
+ return ossl.ossl_X509_EXTENSION_get_object (const_cast <X509_EXTENSION*>(ex));
7
+ }
Original file line number Diff line number Diff line change
1
+ #include < openssl/x509.h>
2
+ #include < ossl.h>
3
+
4
+
5
+ const uint8_t *X509_alias_get0 (const X509 *x509, int *out_len) {
6
+ return ossl.ossl_X509_alias_get0 (const_cast <X509*>(x509), out_len);
7
+ }
Original file line number Diff line number Diff line change
1
+ #include < openssl/x509.h>
2
+ #include < ossl.h>
3
+
4
+
5
+ EVP_PKEY *X509_get_pubkey (const X509 *x509) {
6
+ return ossl.ossl_X509_get_pubkey (const_cast <X509*>(x509));
7
+ }
You can’t perform that action at this time.
0 commit comments