Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  94         kssl_getinfo,           /* devo_getinfo */
  95         nulldev,                /* devo_identify */
  96         nulldev,                /* devo_probe */
  97         kssl_attach,            /* devo_attach */
  98         kssl_detach,            /* devo_detach */
  99         nodev,                  /* devo_reset */
 100         &cbops,                     /* devo_cb_ops */
 101         NULL,                   /* devo_bus_ops */
 102         NULL,                   /* devo_power */
 103         ddi_quiesce_not_needed,         /* devo_quiesce */
 104 };
 105 
 106 static struct modldrv modldrv = {
 107         &mod_driverops,             /* drv_modops */
 108         "Kernel SSL Interface", /* drv_linkinfo */
 109         &devops,
 110 };
 111 
 112 static struct modlinkage modlinkage = {
 113         MODREV_1,               /* ml_rev */
 114         &modldrv,           /* ml_linkage */
 115         NULL
 116 };
 117 
 118 static dev_info_t *kssl_dip = NULL;
 119 
 120 crypto_mechanism_t rsa_x509_mech = {CRYPTO_MECH_INVALID, NULL, 0};
 121 crypto_mechanism_t hmac_md5_mech = {CRYPTO_MECH_INVALID, NULL, 0};
 122 crypto_mechanism_t hmac_sha1_mech = {CRYPTO_MECH_INVALID, NULL, 0};
 123 crypto_call_flag_t kssl_call_flag = CRYPTO_ALWAYS_QUEUE;
 124 
 125 KSSLCipherDef cipher_defs[] = { /* indexed by SSL3BulkCipher */
 126         /* type bsize keysz crypto_mech_type_t */
 127 
 128         {type_stream, 0, 0, CRYPTO_MECH_INVALID},
 129 
 130         /* mech_type to be initialized with CKM_RC4's */
 131         {type_stream, 0, 16, CRYPTO_MECH_INVALID},
 132 
 133         /* mech_type to be initialized with CKM_DES_CBC's */
 134         {type_block, 8, 8, CRYPTO_MECH_INVALID},
 135 




  94         kssl_getinfo,           /* devo_getinfo */
  95         nulldev,                /* devo_identify */
  96         nulldev,                /* devo_probe */
  97         kssl_attach,            /* devo_attach */
  98         kssl_detach,            /* devo_detach */
  99         nodev,                  /* devo_reset */
 100         &cbops,                     /* devo_cb_ops */
 101         NULL,                   /* devo_bus_ops */
 102         NULL,                   /* devo_power */
 103         ddi_quiesce_not_needed,         /* devo_quiesce */
 104 };
 105 
 106 static struct modldrv modldrv = {
 107         &mod_driverops,             /* drv_modops */
 108         "Kernel SSL Interface", /* drv_linkinfo */
 109         &devops,
 110 };
 111 
 112 static struct modlinkage modlinkage = {
 113         MODREV_1,               /* ml_rev */
 114         { &modldrv, NULL }  /* ml_linkage */

 115 };
 116 
 117 static dev_info_t *kssl_dip = NULL;
 118 
 119 crypto_mechanism_t rsa_x509_mech = {CRYPTO_MECH_INVALID, NULL, 0};
 120 crypto_mechanism_t hmac_md5_mech = {CRYPTO_MECH_INVALID, NULL, 0};
 121 crypto_mechanism_t hmac_sha1_mech = {CRYPTO_MECH_INVALID, NULL, 0};
 122 crypto_call_flag_t kssl_call_flag = CRYPTO_ALWAYS_QUEUE;
 123 
 124 KSSLCipherDef cipher_defs[] = { /* indexed by SSL3BulkCipher */
 125         /* type bsize keysz crypto_mech_type_t */
 126 
 127         {type_stream, 0, 0, CRYPTO_MECH_INVALID},
 128 
 129         /* mech_type to be initialized with CKM_RC4's */
 130         {type_stream, 0, 16, CRYPTO_MECH_INVALID},
 131 
 132         /* mech_type to be initialized with CKM_DES_CBC's */
 133         {type_block, 8, 8, CRYPTO_MECH_INVALID},
 134