aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/asn1/oid.pl
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-24 10:40:10 +0000
committerMartin Willi <martin@strongswan.org>2006-04-24 10:40:10 +0000
commita8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0 (patch)
tree91b37f9344855204233631622d5b13a7056084b1 /Source/lib/asn1/oid.pl
parentfcfeb3220fbd4e25b0ac63c541c18e8ae1f30766 (diff)
downloadstrongswan-a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0.tar.bz2
strongswan-a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0.tar.xz
- identification_t supports now almost all id types
- x509 certificates work with identification_t now - fixes here, fixes there
Diffstat (limited to 'Source/lib/asn1/oid.pl')
-rw-r--r--Source/lib/asn1/oid.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/lib/asn1/oid.pl b/Source/lib/asn1/oid.pl
index 52ac8eae0..a3725e57d 100644
--- a/Source/lib/asn1/oid.pl
+++ b/Source/lib/asn1/oid.pl
@@ -30,6 +30,8 @@ print OID_H "/* Object identifiers (OIDs) used by FreeS/WAN\n",
" * ", $automatic, "\n",
" * ", $warning, "\n",
" */\n\n",
+ "#ifndef OID_H_\n",
+ "#define OID_H_\n\n",
"typedef struct {\n",
" u_char octet;\n",
" u_int next;\n",
@@ -73,6 +75,8 @@ while ($line = <SRC>)
$counter++;
}
+print OID_H "\n#endif /* OID_H_ */\n";
+
close SRC;
close OID_H;