Skip to content

Commit e155568

Browse files
committed
Return after RsaSignCb exception
1 parent 1fb730d commit e155568

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

native/com_wolfssl_WolfSSLContext.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,6 +4165,7 @@ int NativeRsaSignCb(WOLFSSL* ssl, const unsigned char* in, unsigned int inSz,
41654165
(*jenv)->DeleteLocalRef(jenv, j_outSz);
41664166
if (needsDetach)
41674167
(*g_vm)->DetachCurrentThread(g_vm);
4168+
return -1;
41684169
}
41694170

41704171
if (retval == 0) {

0 commit comments

Comments
 (0)