Skip to content

Commit

Permalink
Return correct value from cert callback when no tasks are used (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer authored Feb 18, 2024
1 parent baf2c74 commit 7bb550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl-dynamic/src/main/c/sslcontext.c
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ static int certificate_cb(SSL* ssl, void* arg) {
// Check if java threw an exception and if so signal back that we should not continue with the handshake.
if ((*e)->ExceptionCheck(e) != JNI_TRUE) {
// Everything good...
ret = -1;
ret = 1;
}
}

Expand Down

0 comments on commit 7bb550c

Please sign in to comment.