diff options
Diffstat (limited to 'src/krb524/krb524d.c')
-rw-r--r-- | src/krb524/krb524d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/krb524/krb524d.c b/src/krb524/krb524d.c index c33efa3..202cda9 100644 --- a/src/krb524/krb524d.c +++ b/src/krb524/krb524d.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002, 2007 by the Massachusetts Institute of Technology. + * Copyright (C) 2002, 2007, 2008 by the Massachusetts Institute of Technology. * All rights reserved. * * Export of this software from the United States of America may @@ -462,7 +462,7 @@ krb5_error_code lookup_service_key(context, p, ktype, kvno, key, kvnop) memcpy(key->contents, entry.key.contents, key->length); else if (key->length) { /* out of memory? */ - ret = errno; + ret = ENOMEM; memset (key, 0, sizeof (*key)); return ret; } |