Public bug reported:

Opencryptoki v3.6 fails to build from source against openssl 1.1.

Please note the old DES api has been removed in openssl 1.1

../common/sw_crypt.c: In function ‘sw_des3_cbc’:
../common/sw_crypt.c:312:2: error: unknown type name ‘des_key_schedule’
  des_key_schedule des_key1;
  ^~~~~~~~~~~~~~~~
../common/sw_crypt.c:313:2: error: unknown type name ‘des_key_schedule’
  des_key_schedule des_key2;
  ^~~~~~~~~~~~~~~~
../common/sw_crypt.c:314:2: error: unknown type name ‘des_key_schedule’
  des_key_schedule des_key3;
  ^~~~~~~~~~~~~~~~
../common/sw_crypt.c:316:2: error: unknown type name ‘const_des_cblock’
  const_des_cblock key_SSL1, key_SSL2, key_SSL3;
  ^~~~~~~~~~~~~~~~
../common/sw_crypt.c:317:2: error: unknown type name ‘des_cblock’
  des_cblock ivec;
  ^~~~~~~~~~
../common/sw_crypt.c:331:2: warning: implicit declaration of function 
‘des_set_key_unchecked’ [-Wimplicit-function-declaration]
  des_set_key_unchecked(&key_SSL1, des_key1);
  ^~~~~~~~~~~~~~~~~~~~~
../common/sw_crypt.c:335:9: warning: passing argument 1 of ‘memcpy’ makes 
pointer from integer without a cast [-Wint-conversion]
  memcpy(ivec, init_v, sizeof(ivec));
         ^~~~
In file included from /usr/include/features.h:364:0,
                 from /usr/include/stdio.h:27,
                 from ../common/sw_crypt.c:287:
/usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected ‘void * 
restrict’ but argument is of type ‘int’
 __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
 ^
../common/sw_crypt.c:339:3: warning: implicit declaration of function 
‘des_ede3_cbc_encrypt’ [-Wimplicit-function-declaration]
   des_ede3_cbc_encrypt(in_data,
   ^~~~~~~~~~~~~~~~~~~~
Makefile:669: recipe for target 
'opencryptoki_stdll_libpkcs11_sw_la-sw_crypt.lo' failed
make[5]: *** [opencryptoki_stdll_libpkcs11_sw_la-sw_crypt.lo] Error 1
make[5]: Leaving directory 
'/<<BUILDDIR>>/opencryptoki-3.6+dfsg/usr/lib/pkcs11/soft_stdll'
Makefile:385: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/opencryptoki-3.6+dfsg/usr/lib/pkcs11'
Makefile:377: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1

** Affects: opencryptoki (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: s390x

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645349

Title:
  v3.6 FTBFS with openssl 1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/1645349/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to