projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23bbef1
)
use calloc to match with Heimdal (heim_alloc not exported)
author
Luke Howard
<lukeh@padl.com>
Fri, 16 Sep 2011 23:46:06 +0000
(09:46 +1000)
committer
Luke Howard
<lukeh@padl.com>
Sat, 17 Sep 2011 06:18:03 +0000
(16:18 +1000)
mech_eap/util_name.c
patch
|
blob
|
history
diff --git
a/mech_eap/util_name.c
b/mech_eap/util_name.c
index
a014bbe
..
344c287
100644
(file)
--- a/
mech_eap/util_name.c
+++ b/
mech_eap/util_name.c
@@
-265,7
+265,7
@@
importEapNameFlags(OM_uint32 *minor,
#ifdef HAVE_HEIMDAL_VERSION
if (code == 0 && KRB_PRINC_REALM(krbPrinc) == NULL) {
- KRB_PRINC_REALM(krbPrinc) =
GSSEAP_CALLOC(1, sizeof(char));
+ KRB_PRINC_REALM(krbPrinc) =
calloc(1, sizeof(char)); /* XXX */
if (KRB_PRINC_REALM(krbPrinc) == NULL)
code = ENOMEM;
}