Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed Apr 5, 2024
1 parent e13df52 commit fb7932f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ static int openssl_asn1type_new(lua_State*L)
else if ((s = GET_GROUP(1, ASN1_STRING, "openssl.asn1group")) != NULL)
{
ret = ASN1_TYPE_set1(at, ASN1_STRING_type(s), s);
ASN1_STRING_free(s);
}

if (ret == 1) PUSH_OBJECT(at, "openssl.asn1_type"); else ASN1_TYPE_free(at);
Expand Down

0 comments on commit fb7932f

Please sign in to comment.