Skip to content

Commit ddfd2c2

Browse files
committed
Fix issue with threaded perl requiring context
1 parent 9b57abd commit ddfd2c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SignCSR.xs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void croakSsl(char* p_file, int p_line)
195195
croak("%s:%d: OpenSSL error: %s", p_file, p_line, errorReason);
196196
}
197197

198-
SV* extractBioString(BIO* p_stringBio)
198+
SV* extractBioString(pTHX_ BIO* p_stringBio)
199199
{
200200
SV* sv;
201201
BUF_MEM* bptr;
@@ -744,7 +744,7 @@ SV * sign(self, request_SV, sigopts)
744744
if (!i)
745745
croak("unable to output certificate data\n");
746746

747-
RETVAL = extractBioString(out);
747+
RETVAL = extractBioString(aTHX_ out);
748748

749749
OUTPUT:
750750

0 commit comments

Comments
 (0)