Skip to content

Commit

Permalink
asn1: make ossl_asn1_get_asn1type() private
Browse files Browse the repository at this point in the history
The function is not used anywhere outside of ossl_asn1.c.
  • Loading branch information
rhenium committed Jul 3, 2024
1 parent 35a1574 commit 5392b79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ext/openssl/ossl_asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions ext/openssl/ossl_asn1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5392b79

Please sign in to comment.