summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/apps
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-01-26 15:22:42 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-01-26 15:22:42 +0000
commite6957af14fd83aafb24a78fef3fdc134e287aca6 (patch)
treec7706b4db079c1a317275fe7d2f7a73703fd659c /sbin/isakmpd/apps
parentf24a28e2feda70ed44eec11f5e4195a929cab8bd (diff)
Merge with EOM 1.5
date: 2000/01/10 22:02:00; author: angelos; state: Exp; lines: +2 -2 Fix wrong memcpy()
Diffstat (limited to 'sbin/isakmpd/apps')
-rw-r--r--sbin/isakmpd/apps/certpatch/certpatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/apps/certpatch/certpatch.c b/sbin/isakmpd/apps/certpatch/certpatch.c
index 1aafbc64e21..5b54a71fe09 100644
--- a/sbin/isakmpd/apps/certpatch/certpatch.c
+++ b/sbin/isakmpd/apps/certpatch/certpatch.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: certpatch.c,v 1.5 2000/01/10 21:58:19 angelos Exp $ */
-/* $EOM: certpatch.c,v 1.4 1999/09/28 21:26:47 angelos Exp $ */
+/* $OpenBSD: certpatch.c,v 1.6 2000/01/26 15:22:41 niklas Exp $ */
+/* $EOM: certpatch.c,v 1.5 2000/01/10 22:02:00 angelos Exp $ */
/*
* Copyright (c) 1999 Niels Provos. All rights reserved.
@@ -223,8 +223,8 @@ main (int argc, char **argv)
else
new_id[0] = 0x81; /* IDTYPE_UFQDN */
- new_id[1] = strlen (id);
memcpy (new_id + 2, id, strlen(id));
+ new_id[1] = strlen (id);
#if SSLEAY_VERSION_NUMBER >= 0x00904100L
str.length = strlen (id) + 2;
str.type = V_ASN1_OCTET_STRING;