Type-checked (and modern C compliant) OBJ_bsearch.
[openssl.git] / crypto / objects / objxref.pl
index 0dd360b5b0cda7e9bb1da8153284c228ff9efc61..4a42924c56a6b112795c5842c04914cedc84e748 100644 (file)
@@ -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[] =
        {