Module Name:    src
Committed By:   christos
Date:           Mon Jan 30 18:59:04 UTC 2017

Modified Files:
        src/crypto/external/bsd/heimdal/dist/lib/krb5: context.c

Log Message:
fix deleted line.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c
diff -u src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c:1.5 src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c:1.6
--- src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c:1.5	Sat Jan 28 16:31:49 2017
+++ src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c	Mon Jan 30 13:59:04 2017
@@ -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 @@ copy_etypes (krb5_context context,
 
     *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;
 }

Reply via email to