projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't store count in exported RADIUS attrs
[mech_eap.orig]
/
unwrap.c
diff --git
a/unwrap.c
b/unwrap.c
index
a57a684
..
cd8196f
100644
(file)
--- a/
unwrap.c
+++ b/
unwrap.c
@@
-43,8
+43,12
@@
gss_unwrap(OM_uint32 *minor,
OM_uint32 major, tmpMinor;
gss_iov_buffer_desc iov[2];
- if (ctx == GSS_C_NO_CONTEXT)
+ if (ctx == GSS_C_NO_CONTEXT) {
+ *minor = EINVAL;
return GSS_S_NO_CONTEXT;
+ }
+
+ *minor = 0;
GSSEAP_MUTEX_LOCK(&ctx->mutex);