Skip to content

Commit

Permalink
add back 2 lines
Browse files Browse the repository at this point in the history
  • Loading branch information
wangweij committed Feb 27, 2024
1 parent 49f881a commit 9f5c744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/java.security.jgss/share/native/libj2gss/GSSLibStub.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ gss_channel_bindings_t newGSSCB(JNIEnv *env, jobject jcb) {

if ((*env)->IsInstanceOf(env, jcb, tlsCBCl)) {
// TLS Channel Binding requires unspecified addrtype=0
cb->initiator_addrtype = GSS_C_AF_UNSPEC;
cb->acceptor_addrtype = GSS_C_AF_UNSPEC;
} else {
cb->initiator_addrtype = GSS_C_AF_NULLADDR;
cb->acceptor_addrtype = GSS_C_AF_NULLADDR;
Expand Down

0 comments on commit 9f5c744

Please sign in to comment.