changeset 52134:a35cc060f251

8212165: JGSS: Fix cut/paste error in NativeUtil.c Reviewed-by: alanb, weijun Contributed-by: Viktor Dukhovni <viktor@twosigma.com>
author weijun
date Tue, 16 Oct 2018 09:19:32 +0800
parents 1f4d86a504f2
children 6a297371a9b4
files src/java.security.jgss/share/native/libj2gss/NativeUtil.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.security.jgss/share/native/libj2gss/NativeUtil.c	Mon Oct 15 21:02:17 2018 -0400
+++ b/src/java.security.jgss/share/native/libj2gss/NativeUtil.c	Tue Oct 16 09:19:32 2018 +0800
@@ -145,7 +145,7 @@
     return JNI_ERR;
   }
   CLS_GSSNameElement = (*env)->NewGlobalRef(env, cls);
-  if (CLS_GSSException == NULL) {
+  if (CLS_GSSNameElement == NULL) {
     return JNI_ERR;
   }
   cls = (*env)->FindClass(env, "sun/security/jgss/wrapper/GSSCredElement");