summaryrefslogtreecommitdiffstats
path: root/lib/libkrb5/generated/asn1_AuthorizationData.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2010-08-05 07:45:31 +0000
committerguenther <guenther@openbsd.org>2010-08-05 07:45:31 +0000
commitf11d5283365dccbb90ae951a772eeed2f4081c75 (patch)
tree2002dab121d685e8b8162e0591ac08650b6675db /lib/libkrb5/generated/asn1_AuthorizationData.c
parentre-post all ATI and all PowerVR (with an annoying message) (diff)
downloadwireguard-openbsd-f11d5283365dccbb90ae951a772eeed2f4081c75.tar.xz
wireguard-openbsd-f11d5283365dccbb90ae951a772eeed2f4081c75.zip
Regenerate files that were affected by changes to asn1_compile that were
made years ago. ok deraadt@
Diffstat (limited to 'lib/libkrb5/generated/asn1_AuthorizationData.c')
-rw-r--r--lib/libkrb5/generated/asn1_AuthorizationData.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkrb5/generated/asn1_AuthorizationData.c b/lib/libkrb5/generated/asn1_AuthorizationData.c
index 3f84d48cb4e..b4685d0786e 100644
--- a/lib/libkrb5/generated/asn1_AuthorizationData.c
+++ b/lib/libkrb5/generated/asn1_AuthorizationData.c
@@ -1,4 +1,4 @@
-/* Generated from /home/biorn/src/lib/libkrb5/../../kerberosV/src/lib/asn1/k5.asn1 */
+/* Generated from /home/src/src/lib/libkrb5/../../kerberosV/src/lib/asn1/k5.asn1 */
/* Do not edit */
#include <stdio.h>
@@ -196,7 +196,7 @@ return ret;
int
copy_AuthorizationData(const AuthorizationData *from, AuthorizationData *to)
{
-if(((to)->val = malloc((from)->len * sizeof(*(to)->val))) == NULL && (from)->len != 0)
+if(((to)->val = calloc((from)->len, sizeof(*(to)->val))) == NULL && (from)->len != 0)
return ENOMEM;
for((to)->len = 0; (to)->len < (from)->len; (to)->len++){
*(&(&(to)->val[(to)->len])->ad_type) = *(&(&(from)->val[(to)->len])->ad_type);