summaryrefslogtreecommitdiffstats
path: root/crypto/objects/objxref.pl
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-10-12 14:32:47 +0000
committerBen Laurie <ben@openssl.org>2008-10-12 14:32:47 +0000
commitbabb379849ffb4112792f266f92e9ebb2bd35332 (patch)
treed401aa7a4af8cc1180fe602711897a50d8feb74f /crypto/objects/objxref.pl
parent6665ef303e837ed45654d1b5dd42123e7a51b0f4 (diff)
Type-checked (and modern C compliant) OBJ_bsearch.
Diffstat (limited to 'crypto/objects/objxref.pl')
-rw-r--r--crypto/objects/objxref.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/objects/objxref.pl b/crypto/objects/objxref.pl
index 0dd360b5b0..4a42924c56 100644
--- a/crypto/objects/objxref.pl
+++ b/crypto/objects/objxref.pl
@@ -50,8 +50,14 @@ my @srt2 = sort
print <<EOF;
+/* AUTOGENERATED BY $0, DO NOT EDIT */
-typedef int nid_triple[3];
+typedef struct
+ {
+ int sign_id;
+ int hash_id;
+ int pkey_id;
+ } nid_triple;
static const nid_triple sigoid_srt[] =
{