Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/heimdal/dist/lib/krb5 fix deleted line.



details:   https://anonhg.NetBSD.org/src/rev/1206b55e2d1f
branches:  trunk
changeset: 821262:1206b55e2d1f
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 30 18:59:04 2017 +0000

description:
fix deleted line.

diffstat:

 crypto/external/bsd/heimdal/dist/lib/krb5/context.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 519b319bd2a3 -r 1206b55e2d1f crypto/external/bsd/heimdal/dist/lib/krb5/context.c
--- a/crypto/external/bsd/heimdal/dist/lib/krb5/context.c       Mon Jan 30 17:15:52 2017 +0000
+++ b/crypto/external/bsd/heimdal/dist/lib/krb5/context.c       Mon Jan 30 18:59:04 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: context.c,v 1.5 2017/01/28 21:31:49 christos Exp $     */
+/*     $NetBSD: context.c,v 1.6 2017/01/30 18:59:04 christos Exp $     */
 
 /*
  * Copyright (c) 1997 - 2010 Kungliga Tekniska Högskolan
@@ -506,6 +506,7 @@
 
     *ret_enctypes = malloc(sizeof(enctypes[0]) * i);
     if (*ret_enctypes == NULL)
+       return krb5_enomem(context);
     memcpy(*ret_enctypes, enctypes, sizeof(enctypes[0]) * i);
     return 0;
 }



Home | Main Index | Thread Index | Old Index