> > Is there interest in making the library "const correct"?
> Yes.
I have some SSLeay-0.9.0b stuff left. Andy.
*** ./crypto/asn1/asn1.h.orig   Thu Apr  9 14:11:07 1998
--- ./crypto/asn1/asn1.h        Thu Jul 16 18:59:18 1998
***************
*** 242,248 ****
        char *sn,*ln;
        int nid;
        int length;
!       unsigned char *data;
        int flags;      /* Should we free this one */
        } ASN1_OBJECT;
  
--- 242,248 ----
        char *sn,*ln;
        int nid;
        int length;
!       const unsigned char *data;
        int flags;      /* Should we free this one */
        } ASN1_OBJECT;
  
*** ./crypto/asn1/a_bytes.c.orig        Thu Apr  9 13:59:28 1998
--- ./crypto/asn1/a_bytes.c     Thu Jul 16 18:09:49 1998
***************
*** 66,72 ****
   * ASN1err(ASN1_F_ASN1_COLLATE_PRIMATIVE,ASN1_R_WRONG_TAG);
   */
  
! static unsigned long tag2bit[32]={
  0,    0,      0,      B_ASN1_BIT_STRING,      /* tags  0 -  3 */
  B_ASN1_OCTET_STRING,  0,      0,              B_ASN1_UNKNOWN,/* tags  4- 7 */
  B_ASN1_UNKNOWN,       B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN,/* tags  8-11 */
--- 66,72 ----
   * ASN1err(ASN1_F_ASN1_COLLATE_PRIMATIVE,ASN1_R_WRONG_TAG);
   */
  
! static const unsigned long tag2bit[32]={
  0,    0,      0,      B_ASN1_BIT_STRING,      /* tags  0 -  3 */
  B_ASN1_OCTET_STRING,  0,      0,              B_ASN1_UNKNOWN,/* tags  4- 7 */
  B_ASN1_UNKNOWN,       B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN,/* tags  8-11 */
*** ./crypto/bf/bf_pi.h.orig    Thu Apr  9 13:59:28 1998
--- ./crypto/bf/bf_pi.h Thu Jul 16 17:41:50 1998
***************
*** 56,62 ****
   * [including the GNU Public Licence.]
   */
  
! static BF_KEY bf_init= {
        {
        0x243f6a88L, 0x85a308d3L, 0x13198a2eL, 0x03707344L,
        0xa4093822L, 0x299f31d0L, 0x082efa98L, 0xec4e6c89L,
--- 56,62 ----
   * [including the GNU Public Licence.]
   */
  
! static const BF_KEY bf_init= {
        {
        0x243f6a88L, 0x85a308d3L, 0x13198a2eL, 0x03707344L,
        0xa4093822L, 0x299f31d0L, 0x082efa98L, 0xec4e6c89L,
*** ./crypto/bn/bn_prime.h.orig Thu Apr  9 13:59:29 1998
--- ./crypto/bn/bn_prime.h      Thu Jul 16 17:37:34 1998
***************
*** 61,67 ****
  #else
  #define NUMPRIMES 54
  #endif
! static unsigned int primes[NUMPRIMES]=
        {
           2,   3,   5,   7,  11,  13,  17,  19,
          23,  29,  31,  37,  41,  43,  47,  53,
--- 61,67 ----
  #else
  #define NUMPRIMES 54
  #endif
! static const unsigned int primes[NUMPRIMES]=
        {
           2,   3,   5,   7,  11,  13,  17,  19,
          23,  29,  31,  37,  41,  43,  47,  53,
*** ./crypto/bn/bn_lib.c.orig   Sun Jul  5 17:06:19 1998
--- ./crypto/bn/bn_lib.c        Thu Jul 16 17:50:34 1998
***************
*** 92,98 ****
  int BN_num_bits_word(l)
  BN_ULONG l;
        {
!       static char bits[256]={
                0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,
                5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
                6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
--- 92,98 ----
  int BN_num_bits_word(l)
  BN_ULONG l;
        {
!       static const char bits[256]={
                0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,
                5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
                6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
*** ./crypto/bn/bn_prime.pl.orig        Thu Apr  9 06:07:22 1998
--- ./crypto/bn/bn_prime.pl     Thu Jul 16 18:49:12 1998
***************
*** 43,49 ****
  printf "#else\n";
  printf "#define NUMPRIMES %d\n",$eight;
  printf "#endif\n";
! print "static unsigned int primes[NUMPRIMES]=\n\t{\n\t";
  $init=0;
  for ($i=0; $i <= $#primes; $i++)
        {
--- 43,49 ----
  printf "#else\n";
  printf "#define NUMPRIMES %d\n",$eight;
  printf "#endif\n";
! print "static const unsigned int primes[NUMPRIMES]=\n\t{\n\t";
  $init=0;
  for ($i=0; $i <= $#primes; $i++)
        {
*** ./crypto/cast/cast_s.h.orig Thu Apr  9 13:59:29 1998
--- ./crypto/cast/cast_s.h      Thu Jul 16 17:40:18 1998
***************
*** 55,61 ****
   * copied and put under another distribution licence
   * [including the GNU Public Licence.]
   */
! CAST_LONG CAST_S_table0[256]={
        0x30fb40d4,0x9fa0ff0b,0x6beccd2f,0x3f258c7a,
        0x1e213f2f,0x9c004dd3,0x6003e540,0xcf9fc949,
        0xbfd4af27,0x88bbbdb5,0xe2034090,0x98d09675,
--- 55,61 ----
   * copied and put under another distribution licence
   * [including the GNU Public Licence.]
   */
! const CAST_LONG CAST_S_table0[256]={
        0x30fb40d4,0x9fa0ff0b,0x6beccd2f,0x3f258c7a,
        0x1e213f2f,0x9c004dd3,0x6003e540,0xcf9fc949,
        0xbfd4af27,0x88bbbdb5,0xe2034090,0x98d09675,
***************
*** 121,127 ****
        0x1a69e783,0x02cc4843,0xa2f7c579,0x429ef47d,
        0x427b169c,0x5ac9f049,0xdd8f0f00,0x5c8165bf,
        };
! CAST_LONG CAST_S_table1[256]={
        0x1f201094,0xef0ba75b,0x69e3cf7e,0x393f4380,
        0xfe61cf7a,0xeec5207a,0x55889c94,0x72fc0651,
        0xada7ef79,0x4e1d7235,0xd55a63ce,0xde0436ba,
--- 121,127 ----
        0x1a69e783,0x02cc4843,0xa2f7c579,0x429ef47d,
        0x427b169c,0x5ac9f049,0xdd8f0f00,0x5c8165bf,
        };
! const CAST_LONG CAST_S_table1[256]={
        0x1f201094,0xef0ba75b,0x69e3cf7e,0x393f4380,
        0xfe61cf7a,0xeec5207a,0x55889c94,0x72fc0651,
        0xada7ef79,0x4e1d7235,0xd55a63ce,0xde0436ba,
***************
*** 187,193 ****
        0x43d79572,0x7e6dd07c,0x06dfdf1e,0x6c6cc4ef,
        0x7160a539,0x73bfbe70,0x83877605,0x4523ecf1,
        };
! CAST_LONG CAST_S_table2[256]={
        0x8defc240,0x25fa5d9f,0xeb903dbf,0xe810c907,
        0x47607fff,0x369fe44b,0x8c1fc644,0xaececa90,
        0xbeb1f9bf,0xeefbcaea,0xe8cf1950,0x51df07ae,
--- 187,193 ----
        0x43d79572,0x7e6dd07c,0x06dfdf1e,0x6c6cc4ef,
        0x7160a539,0x73bfbe70,0x83877605,0x4523ecf1,
        };
! const CAST_LONG CAST_S_table2[256]={
        0x8defc240,0x25fa5d9f,0xeb903dbf,0xe810c907,
        0x47607fff,0x369fe44b,0x8c1fc644,0xaececa90,
        0xbeb1f9bf,0xeefbcaea,0xe8cf1950,0x51df07ae,
***************
*** 253,259 ****
        0xf7baefd5,0x4142ed9c,0xa4315c11,0x83323ec5,
        0xdfef4636,0xa133c501,0xe9d3531c,0xee353783,
        };
! CAST_LONG CAST_S_table3[256]={
        0x9db30420,0x1fb6e9de,0xa7be7bef,0xd273a298,
        0x4a4f7bdb,0x64ad8c57,0x85510443,0xfa020ed1,
        0x7e287aff,0xe60fb663,0x095f35a1,0x79ebf120,
--- 253,259 ----
        0xf7baefd5,0x4142ed9c,0xa4315c11,0x83323ec5,
        0xdfef4636,0xa133c501,0xe9d3531c,0xee353783,
        };
! const CAST_LONG CAST_S_table3[256]={
        0x9db30420,0x1fb6e9de,0xa7be7bef,0xd273a298,
        0x4a4f7bdb,0x64ad8c57,0x85510443,0xfa020ed1,
        0x7e287aff,0xe60fb663,0x095f35a1,0x79ebf120,
***************
*** 319,325 ****
        0x7ae5290c,0x3cb9536b,0x851e20fe,0x9833557e,
        0x13ecf0b0,0xd3ffb372,0x3f85c5c1,0x0aef7ed2,
        };
! CAST_LONG CAST_S_table4[256]={
        0x7ec90c04,0x2c6e74b9,0x9b0e66df,0xa6337911,
        0xb86a7fff,0x1dd358f5,0x44dd9d44,0x1731167f,
        0x08fbf1fa,0xe7f511cc,0xd2051b00,0x735aba00,
--- 319,325 ----
        0x7ae5290c,0x3cb9536b,0x851e20fe,0x9833557e,
        0x13ecf0b0,0xd3ffb372,0x3f85c5c1,0x0aef7ed2,
        };
! const CAST_LONG CAST_S_table4[256]={
        0x7ec90c04,0x2c6e74b9,0x9b0e66df,0xa6337911,
        0xb86a7fff,0x1dd358f5,0x44dd9d44,0x1731167f,
        0x08fbf1fa,0xe7f511cc,0xd2051b00,0x735aba00,
***************
*** 385,391 ****
        0xe822fe15,0x88570983,0x750e6249,0xda627e55,
        0x5e76ffa8,0xb1534546,0x6d47de08,0xefe9e7d4,
        };
! CAST_LONG CAST_S_table5[256]={
        0xf6fa8f9d,0x2cac6ce1,0x4ca34867,0xe2337f7c,
        0x95db08e7,0x016843b4,0xeced5cbc,0x325553ac,
        0xbf9f0960,0xdfa1e2ed,0x83f0579d,0x63ed86b9,
--- 385,391 ----
        0xe822fe15,0x88570983,0x750e6249,0xda627e55,
        0x5e76ffa8,0xb1534546,0x6d47de08,0xefe9e7d4,
        };
! const CAST_LONG CAST_S_table5[256]={
        0xf6fa8f9d,0x2cac6ce1,0x4ca34867,0xe2337f7c,
        0x95db08e7,0x016843b4,0xeced5cbc,0x325553ac,
        0xbf9f0960,0xdfa1e2ed,0x83f0579d,0x63ed86b9,
***************
*** 451,457 ****
        0xa2d762cf,0x49c92f54,0x38b5f331,0x7128a454,
        0x48392905,0xa65b1db8,0x851c97bd,0xd675cf2f,
        };
! CAST_LONG CAST_S_table6[256]={
        0x85e04019,0x332bf567,0x662dbfff,0xcfc65693,
        0x2a8d7f6f,0xab9bc912,0xde6008a1,0x2028da1f,
        0x0227bce7,0x4d642916,0x18fac300,0x50f18b82,
--- 451,457 ----
        0xa2d762cf,0x49c92f54,0x38b5f331,0x7128a454,
        0x48392905,0xa65b1db8,0x851c97bd,0xd675cf2f,
        };
! const CAST_LONG CAST_S_table6[256]={
        0x85e04019,0x332bf567,0x662dbfff,0xcfc65693,
        0x2a8d7f6f,0xab9bc912,0xde6008a1,0x2028da1f,
        0x0227bce7,0x4d642916,0x18fac300,0x50f18b82,
***************
*** 517,523 ****
        0x518f36b2,0x84b1d370,0x0fedce83,0x878ddada,
        0xf2a279c7,0x94e01be8,0x90716f4b,0x954b8aa3,
        };
! CAST_LONG CAST_S_table7[256]={
        0xe216300d,0xbbddfffc,0xa7ebdabd,0x35648095,
        0x7789f8b7,0xe6c1121b,0x0e241600,0x052ce8b5,
        0x11a9cfb0,0xe5952f11,0xece7990a,0x9386d174,
--- 517,523 ----
        0x518f36b2,0x84b1d370,0x0fedce83,0x878ddada,
        0xf2a279c7,0x94e01be8,0x90716f4b,0x954b8aa3,
        };
! const CAST_LONG CAST_S_table7[256]={
        0xe216300d,0xbbddfffc,0xa7ebdabd,0x35648095,
        0x7789f8b7,0xe6c1121b,0x0e241600,0x052ce8b5,
        0x11a9cfb0,0xe5952f11,0xece7990a,0x9386d174,
*** ./crypto/cast/cast_lcl.h.orig       Thu Apr  9 13:59:29 1998
--- ./crypto/cast/cast_lcl.h    Thu Jul 16 18:11:24 1998
***************
*** 213,224 ****
        }
  #endif
  
! extern CAST_LONG CAST_S_table0[256];
! extern CAST_LONG CAST_S_table1[256];
! extern CAST_LONG CAST_S_table2[256];
! extern CAST_LONG CAST_S_table3[256];
! extern CAST_LONG CAST_S_table4[256];
! extern CAST_LONG CAST_S_table5[256];
! extern CAST_LONG CAST_S_table6[256];
! extern CAST_LONG CAST_S_table7[256];
  
--- 213,224 ----
        }
  #endif
  
! extern const CAST_LONG CAST_S_table0[256];
! extern const CAST_LONG CAST_S_table1[256];
! extern const CAST_LONG CAST_S_table2[256];
! extern const CAST_LONG CAST_S_table3[256];
! extern const CAST_LONG CAST_S_table4[256];
! extern const CAST_LONG CAST_S_table5[256];
! extern const CAST_LONG CAST_S_table6[256];
! extern const CAST_LONG CAST_S_table7[256];
  
*** ./crypto/conf/conf_lcl.h.orig       Thu Apr  9 13:59:29 1998
--- ./crypto/conf/conf_lcl.h    Thu Jul 16 18:04:50 1998
***************
*** 81,87 ****
                                (CONF_type[(a)&0x7f]&CONF_ALPHA_NUMERIC_PUNCT)
  #define IS_QUOTE(a)           (CONF_type[(a)&0x7f]&CONF_QUOTE)
  
! static unsigned short CONF_type[128]={
        0x008,0x000,0x000,0x000,0x000,0x000,0x000,0x000,
        0x000,0x010,0x010,0x000,0x000,0x010,0x000,0x000,
        0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000,
--- 81,87 ----
                                (CONF_type[(a)&0x7f]&CONF_ALPHA_NUMERIC_PUNCT)
  #define IS_QUOTE(a)           (CONF_type[(a)&0x7f]&CONF_QUOTE)
  
! static const unsigned short CONF_type[128]={
        0x008,0x000,0x000,0x000,0x000,0x000,0x000,0x000,
        0x000,0x010,0x010,0x000,0x000,0x010,0x000,0x000,
        0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000,
*** ./crypto/des/xcbc_enc.c.orig        Thu Apr  9 13:59:29 1998
--- ./crypto/des/xcbc_enc.c     Thu Jul 16 17:44:46 1998
***************
*** 60,66 ****
  
  /* RSA's DESX */
  
! static unsigned char desx_white_in2out[256]={
  0xBD,0x56,0xEA,0xF2,0xA2,0xF1,0xAC,0x2A,0xB0,0x93,0xD1,0x9C,0x1B,0x33,0xFD,0xD0,
  0x30,0x04,0xB6,0xDC,0x7D,0xDF,0x32,0x4B,0xF7,0xCB,0x45,0x9B,0x31,0xBB,0x21,0x5A,
  0x41,0x9F,0xE1,0xD9,0x4A,0x4D,0x9E,0xDA,0xA0,0x68,0x2C,0xC3,0x27,0x5F,0x80,0x36,
--- 60,66 ----
  
  /* RSA's DESX */
  
! static const unsigned char desx_white_in2out[256]={
  0xBD,0x56,0xEA,0xF2,0xA2,0xF1,0xAC,0x2A,0xB0,0x93,0xD1,0x9C,0x1B,0x33,0xFD,0xD0,
  0x30,0x04,0xB6,0xDC,0x7D,0xDF,0x32,0x4B,0xF7,0xCB,0x45,0x9B,0x31,0xBB,0x21,0x5A,
  0x41,0x9F,0xE1,0xD9,0x4A,0x4D,0x9E,0xDA,0xA0,0x68,0x2C,0xC3,0x27,0x5F,0x80,0x36,
*** ./crypto/evp/encode.c.orig  Thu Apr  9 13:59:29 1998
--- ./crypto/evp/encode.c       Thu Jul 16 17:59:52 1998
***************
*** 74,80 ****
  #define CHUNKS_PER_LINE (64/4)
  #define CHAR_PER_LINE   (64+1)
  
! static unsigned char data_bin2ascii[65]="ABCDEFGHIJKLMNOPQRSTUVWXYZ\
  abcdefghijklmnopqrstuvwxyz0123456789+/";
  
  /* 0xF0 is a EOLN
--- 74,80 ----
  #define CHUNKS_PER_LINE (64/4)
  #define CHAR_PER_LINE   (64+1)
  
! static const unsigned char data_bin2ascii[65]="ABCDEFGHIJKLMNOPQRSTUVWXYZ\
  abcdefghijklmnopqrstuvwxyz0123456789+/";
  
  /* 0xF0 is a EOLN
***************
*** 91,97 ****
  #define B64_ERROR             0xFF
  #define B64_NOT_BASE64(a)     (((a)|0x13) == 0xF3)
  
! static unsigned char data_ascii2bin[128]={
        0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
        0xFF,0xE0,0xF0,0xFF,0xFF,0xF1,0xFF,0xFF,
        0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
--- 91,97 ----
  #define B64_ERROR             0xFF
  #define B64_NOT_BASE64(a)     (((a)|0x13) == 0xF3)
  
! static const unsigned char data_ascii2bin[128]={
        0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
        0xFF,0xE0,0xF0,0xFF,0xFF,0xF1,0xFF,0xFF,
        0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
*** ./crypto/md2/md2_dgst.c.orig        Sun Jul  5 17:06:21 1998
--- ./crypto/md2/md2_dgst.c     Thu Jul 16 17:43:50 1998
***************
*** 76,82 ****
  
  /* The magic S table - I have converted it to hex since it is
   * basicaly just a random byte string. */
! static MD2_INT S[256]={
        0x29, 0x2E, 0x43, 0xC9, 0xA2, 0xD8, 0x7C, 0x01,
        0x3D, 0x36, 0x54, 0xA1, 0xEC, 0xF0, 0x06, 0x13,
        0x62, 0xA7, 0x05, 0xF3, 0xC0, 0xC7, 0x73, 0x8C,
--- 76,82 ----
  
  /* The magic S table - I have converted it to hex since it is
   * basicaly just a random byte string. */
! static const MD2_INT S[256]={
        0x29, 0x2E, 0x43, 0xC9, 0xA2, 0xD8, 0x7C, 0x01,
        0x3D, 0x36, 0x54, 0xA1, 0xEC, 0xF0, 0x06, 0x13,
        0x62, 0xA7, 0x05, 0xF3, 0xC0, 0xC7, 0x73, 0x8C,
*** ./crypto/objects/obj_dat.h.orig     Thu Apr  9 14:12:21 1998
--- ./crypto/objects/obj_dat.h  Fri Jul 17 11:58:47 1998
***************
*** 66,72 ****
  #define NUM_LN 122
  #define NUM_OBJ 95
  
! static unsigned char lvalues[600]={
  0x2A,0x86,0x48,0x86,0xF7,0x0D,               /* [  0] OBJ_rsadsi */
  0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,          /* [  6] OBJ_pkcs */
  0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02,     /* [ 13] OBJ_md2 */
--- 66,72 ----
  #define NUM_LN 122
  #define NUM_OBJ 95
  
! static const unsigned char lvalues[600]={
  0x2A,0x86,0x48,0x86,0xF7,0x0D,               /* [  0] OBJ_rsadsi */
  0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,          /* [  6] OBJ_pkcs */
  0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02,     /* [ 13] OBJ_md2 */
***************
*** 164,170 ****
  0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x08,     /* [591] OBJ_rc5_cbc */
  };
  
! static ASN1_OBJECT nid_objs[NUM_NID]={
  {"UNDEF","undefined",NID_undef,0,NULL},
  {"rsadsi","rsadsi",NID_rsadsi,6,&(lvalues[0]),0},
  {"pkcs","pkcs",NID_pkcs,7,&(lvalues[6]),0},
--- 164,170 ----
  0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x08,     /* [591] OBJ_rc5_cbc */
  };
  
! static const ASN1_OBJECT nid_objs[NUM_NID]={
  {"UNDEF","undefined",NID_undef,0,NULL},
  {"rsadsi","rsadsi",NID_rsadsi,6,&(lvalues[0]),0},
  {"pkcs","pkcs",NID_pkcs,7,&(lvalues[6]),0},
***************
*** 333,339 ****
  {"RC5-OFB","rc5-ofb",NID_rc5_ofb64,0,NULL},
  };
  
! static ASN1_OBJECT *sn_objs[NUM_SN]={
  &(nid_objs[91]),/* "BF-CBC" */
  &(nid_objs[93]),/* "BF-CFB" */
  &(nid_objs[92]),/* "BF-ECB" */
--- 333,339 ----
  {"RC5-OFB","rc5-ofb",NID_rc5_ofb64,0,NULL},
  };
  
! static const ASN1_OBJECT * const sn_objs[NUM_SN]={
  &(nid_objs[91]),/* "BF-CBC" */
  &(nid_objs[93]),/* "BF-CFB" */
  &(nid_objs[92]),/* "BF-ECB" */
***************
*** 431,437 ****
  &(nid_objs[82]),/* "subjectKeyIdentifier" */
  };
  
! static ASN1_OBJECT *ln_objs[NUM_LN]={
  &(nid_objs[72]),/* "Netscape Base Url" */
  &(nid_objs[76]),/* "Netscape CA Policy Url" */
  &(nid_objs[74]),/* "Netscape CA Revocation Url" */
--- 431,437 ----
  &(nid_objs[82]),/* "subjectKeyIdentifier" */
  };
  
! static const ASN1_OBJECT * const ln_objs[NUM_LN]={
  &(nid_objs[72]),/* "Netscape Base Url" */
  &(nid_objs[76]),/* "Netscape CA Policy Url" */
  &(nid_objs[74]),/* "Netscape CA Revocation Url" */
***************
*** 487,494 ****
  &(nid_objs[116]),/* "dsaEncryption" */
  &(nid_objs[67]),/* "dsaEncryption-old" */
  &(nid_objs[66]),/* "dsaWithSHA" */
- &(nid_objs[70]),/* "dsaWithSHA1" */
  &(nid_objs[113]),/* "dsaWithSHA1" */
  &(nid_objs[48]),/* "emailAddress" */
  &(nid_objs[56]),/* "extendedCertificateAttributes" */
  &(nid_objs[99]),/* "givenName" */
--- 487,494 ----
  &(nid_objs[116]),/* "dsaEncryption" */
  &(nid_objs[67]),/* "dsaEncryption-old" */
  &(nid_objs[66]),/* "dsaWithSHA" */
  &(nid_objs[113]),/* "dsaWithSHA1" */
+ &(nid_objs[70]),/* "dsaWithSHA1" */
  &(nid_objs[48]),/* "emailAddress" */
  &(nid_objs[56]),/* "extendedCertificateAttributes" */
  &(nid_objs[99]),/* "givenName" */
***************
*** 556,562 ****
  &(nid_objs[49]),/* "unstructuredName" */
  };
  
! static ASN1_OBJECT *obj_objs[NUM_OBJ]={
  &(nid_objs[11]),/* OBJ_X500                         2 5 */
  &(nid_objs[12]),/* OBJ_X509                         2 5 4 */
  &(nid_objs[81]),/* OBJ_ld_ce                        2 5 29 */
--- 556,562 ----
  &(nid_objs[49]),/* "unstructuredName" */
  };
  
! static const ASN1_OBJECT * const obj_objs[NUM_OBJ]={
  &(nid_objs[11]),/* OBJ_X500                         2 5 */
  &(nid_objs[12]),/* OBJ_X509                         2 5 4 */
  &(nid_objs[81]),/* OBJ_ld_ce                        2 5 29 */
*** ./crypto/objects/obj_dat.pl.orig    Thu Apr  9 06:07:24 1998
--- ./crypto/objects/obj_dat.pl Fri Jul 17 11:51:31 1998
***************
*** 203,213 ****
  printf "#define NUM_LN %d\n",$#ln+1;
  printf "#define NUM_OBJ %d\n\n",$#ob+1;
  
! printf "static unsigned char lvalues[%d]={\n",$lvalues+1;
  print @lvalues;
  print "};\n\n";
  
! printf "static ASN1_OBJECT nid_objs[NUM_NID]={\n";
  foreach (@out)
        {
        if (length($_) > 75)
--- 203,213 ----
  printf "#define NUM_LN %d\n",$#ln+1;
  printf "#define NUM_OBJ %d\n\n",$#ob+1;
  
! printf "static const unsigned char lvalues[%d]={\n",$lvalues+1;
  print @lvalues;
  print "};\n\n";
  
! printf "static const ASN1_OBJECT nid_objs[NUM_NID]={\n";
  foreach (@out)
        {
        if (length($_) > 75)
***************
*** 231,245 ****
        }
  print  "};\n\n";
  
! printf "static ASN1_OBJECT *sn_objs[NUM_SN]={\n";
  print  @sn;
  print  "};\n\n";
  
! printf "static ASN1_OBJECT *ln_objs[NUM_LN]={\n";
  print  @ln;
  print  "};\n\n";
  
! printf "static ASN1_OBJECT *obj_objs[NUM_OBJ]={\n";
  print  @ob;
  print  "};\n\n";
  
--- 231,245 ----
        }
  print  "};\n\n";
  
! printf "static const ASN1_OBJECT * const sn_objs[NUM_SN]={\n";
  print  @sn;
  print  "};\n\n";
  
! printf "static const ASN1_OBJECT * const ln_objs[NUM_LN]={\n";
  print  @ln;
  print  "};\n\n";
  
! printf "static const ASN1_OBJECT * const obj_objs[NUM_OBJ]={\n";
  print  @ob;
  print  "};\n\n";
  
*** ./crypto/rc2/rc2_skey.c.orig        Thu Apr  9 13:59:29 1998
--- ./crypto/rc2/rc2_skey.c     Thu Jul 16 17:45:40 1998
***************
*** 59,65 ****
  #include "rc2.h"
  #include "rc2_locl.h"
  
! static unsigned char key_table[256]={
        0xd9,0x78,0xf9,0xc4,0x19,0xdd,0xb5,0xed,0x28,0xe9,0xfd,0x79,
        0x4a,0xa0,0xd8,0x9d,0xc6,0x7e,0x37,0x83,0x2b,0x76,0x53,0x8e,
        0x62,0x4c,0x64,0x88,0x44,0x8b,0xfb,0xa2,0x17,0x9a,0x59,0xf5,
--- 59,65 ----
  #include "rc2.h"
  #include "rc2_locl.h"
  
! static const unsigned char key_table[256]={
        0xd9,0x78,0xf9,0xc4,0x19,0xdd,0xb5,0xed,0x28,0xe9,0xfd,0x79,
        0x4a,0xa0,0xd8,0x9d,0xc6,0x7e,0x37,0x83,0x2b,0x76,0x53,0x8e,
        0x62,0x4c,0x64,0x88,0x44,0x8b,0xfb,0xa2,0x17,0x9a,0x59,0xf5,
*** ./crypto/x509/v3_net.c.orig Thu Apr  9 13:59:29 1998
--- ./crypto/x509/v3_net.c      Thu Jul 16 18:03:48 1998
***************
*** 65,71 ****
  
  #define NETSCAPE_X509_EXT_NUM 8
  
! static X509_EXTENSION_METHOD netscape_x509_ext[NETSCAPE_X509_EXT_NUM]={
  {NID_netscape_ca_policy_url,  V_ASN1_IA5STRING,X509_EXT_PACK_STRING},
  {NID_netscape_ssl_server_name,        V_ASN1_IA5STRING,X509_EXT_PACK_STRING},
  {NID_netscape_revocation_url, V_ASN1_IA5STRING,X509_EXT_PACK_STRING},
--- 65,71 ----
  
  #define NETSCAPE_X509_EXT_NUM 8
  
! static const X509_EXTENSION_METHOD netscape_x509_ext[NETSCAPE_X509_EXT_NUM]={
  {NID_netscape_ca_policy_url,  V_ASN1_IA5STRING,X509_EXT_PACK_STRING},
  {NID_netscape_ssl_server_name,        V_ASN1_IA5STRING,X509_EXT_PACK_STRING},
  {NID_netscape_revocation_url, V_ASN1_IA5STRING,X509_EXT_PACK_STRING},
*** ./Configure.orig    Thu Apr  9 14:19:33 1998
--- ./Configure Sat Jul 18 11:50:37 1998
***************
*** 90,96 ****
        -lsocket -lnsl:BN_LLONG RC4_CHAR DES_PTR DES_UNROLL BF_PTR:asm/sparc.o::",
  # SC4.0 is ok, better than gcc, except for the bignum stuff.
  # -fast slows things like DES down quite a lot
! "solaris-sparc-sc4","cc:-xO5 -Xa -DB_ENDIAN:-lsocket -lnsl:\
        BN_LLONG RC4_CHAR DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparc.o::",
  "solaris-usparc-sc4","cc:-xtarget=ultra -xarch=v8plus -Xa -xO5 -DB_ENDIAN:\
        -lsocket -lnsl:\
--- 90,96 ----
        -lsocket -lnsl:BN_LLONG RC4_CHAR DES_PTR DES_UNROLL BF_PTR:asm/sparc.o::",
  # SC4.0 is ok, better than gcc, except for the bignum stuff.
  # -fast slows things like DES down quite a lot
! "solaris-sparc-sc4","cc:-xarch=v8 -xstrconst -xO5 -Xa -DB_ENDIAN:-lsocket -lnsl:\
        BN_LLONG RC4_CHAR DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparc.o::",
  "solaris-usparc-sc4","cc:-xtarget=ultra -xarch=v8plus -Xa -xO5 -DB_ENDIAN:\
        -lsocket -lnsl:\

Reply via email to