diff options
author | Kazuki Yamaguchi <[email protected]> | 2024-07-03 18:32:28 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-07-24 16:50:01 +0000 |
commit | 1388945f0d2f625d1c87eaf177eac6df15c80082 (patch) | |
tree | 833d537a59f4d71411ef97763c6ea1997aede030 | |
parent | a1cf39bd366f843bc9fd1534aa8e7d301fc77252 (diff) |
[ruby/openssl] asn1: make ossl_asn1_get_asn1type() private
The function is not used anywhere outside of ossl_asn1.c.
https://github.com/ruby/openssl/commit/5392b79941
-rw-r--r-- | ext/openssl/ossl_asn1.c | 2 | ||||
-rw-r--r-- | ext/openssl/ossl_asn1.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c index 502be1019f..1676defd0e 100644 --- a/ext/openssl/ossl_asn1.c +++ b/ext/openssl/ossl_asn1.c @@ -497,7 +497,7 @@ static VALUE class_tag_map; static int ossl_asn1_default_tag(VALUE obj); -ASN1_TYPE* +static ASN1_TYPE * ossl_asn1_get_asn1type(VALUE obj) { ASN1_TYPE *ret; diff --git a/ext/openssl/ossl_asn1.h b/ext/openssl/ossl_asn1.h index fae8762200..3a99400e18 100644 --- a/ext/openssl/ossl_asn1.h +++ b/ext/openssl/ossl_asn1.h @@ -57,8 +57,6 @@ extern VALUE cASN1Sequence, cASN1Set; /* CONSTRUCTIVE */ extern VALUE cASN1EndOfContent; /* END OF CONTENT */ -ASN1_TYPE *ossl_asn1_get_asn1type(VALUE); - void Init_ossl_asn1(void); #endif |