Print this page
9156 Remove openssl dependency from pkcs11_tpm

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pkcs11/pkcs11_tpm/common/tpmtok_int.h
          +++ new/usr/src/lib/pkcs11/pkcs11_tpm/common/tpmtok_int.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   *
  17   17   * You should have received a copy of the Common Public License
  18   18   * along with this program; if not, a copy can be viewed at
  19   19   * http://www.opensource.org/licenses/cpl1.0.php.
  20   20   */
  21   21  
  22   22  /* (C) COPYRIGHT International Business Machines Corp. 2001, 2002, 2005 */
  23   23  /*
  24   24   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25   25   * Use is subject to license terms.
       26 + * Copyright 2018 Jason King
  26   27   */
  27   28  
  28   29  #ifndef _TPMTOK_INT_H
  29   30  #define _TPMTOK_INT_H
  30   31  
  31   32  #include <stdio.h>
  32   33  #include <pthread.h>
  33   34  #include <string.h>
  34   35  #include <strings.h>
  35      -#include <md5.h>
  36      -#include <sha1.h>
       36 +#include <sys/md5.h>
       37 +#include <sys/sha1.h>
  37   38  #include <limits.h>
  38   39  #include <syslog.h>
  39   40  #include <errno.h>
  40   41  #include <sys/types.h>
  41   42  #include <sys/stat.h>
  42   43  #include <sys/param.h>
  43   44  #include <sys/byteorder.h>
  44   45  #include <security/cryptoki.h>
  45   46  
  46   47  #include <tss/platform.h>
↓ open down ↓ 1588 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX