diff options
-rw-r--r-- | src/kdc/kdc_authdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdc/kdc_authdata.c b/src/kdc/kdc_authdata.c index 175fbec..03bfe29 100644 --- a/src/kdc/kdc_authdata.c +++ b/src/kdc/kdc_authdata.c @@ -828,7 +828,7 @@ make_ad_signedpath_data(krb5_context context, if (i != 0) { sign_authdata = k5alloc((i + 1) * sizeof(krb5_authdata *), &code); - if (code != 0) + if (sign_authdata == NULL) return code; for (i = 0, j = 0; authdata[i] != NULL; i++) { |