Skip to content

Commit 5392b79

Browse files
committed
asn1: make ossl_asn1_get_asn1type() private
The function is not used anywhere outside of ossl_asn1.c.
1 parent 35a1574 commit 5392b79

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ext/openssl/ossl_asn1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ static VALUE class_tag_map;
497497

498498
static int ossl_asn1_default_tag(VALUE obj);
499499

500-
ASN1_TYPE*
500+
static ASN1_TYPE *
501501
ossl_asn1_get_asn1type(VALUE obj)
502502
{
503503
ASN1_TYPE *ret;

ext/openssl/ossl_asn1.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ extern VALUE cASN1Sequence, cASN1Set; /* CONSTRUCTIVE */
5757

5858
extern VALUE cASN1EndOfContent; /* END OF CONTENT */
5959

60-
ASN1_TYPE *ossl_asn1_get_asn1type(VALUE);
61-
6260
void Init_ossl_asn1(void);
6361

6462
#endif

0 commit comments

Comments
 (0)