1

I'm trying to build this Service in Ubuntu: http://openscep.othello.ch/download/openscep-0.4.2.tar.gz .

I called: ./configure and it worked as expected.

Next I called make all -j4 there it says:

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -I../include -I/usr/local/ssl/include -DOPENSCEPDIR=\"/usr/local/lib/openscep\" -g -O2 -c init.c  -fPIC -DPIC -o .libs/init.lo
In file included from ../include/init.h:13:0,
                 from init.c:9:
../include/scep.h:84:2: error: unknown type name 'LHASH'
  LHASH  *conf;
  ^

I found the solution: just replaced LHASH with _LHASH and I got further. Now I have the problem that this code relies on #include <openssl/asn1_mac.h> which is obsolete.

I miss many function with prefix: M_ASN1_I2D_ can some one tell me if they have just moved, or are there new methods which have the same functionality?

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
maxbit89
  • 748
  • 1
  • 11
  • 31
  • 1
    If I am not mistaken... Use OpenSSL 1.0.2 rather than OpenSSL 1.1.0. You might also consider filing a bug report against OpenSCEP for lack of 1.1.0 support. If you do, then please point them towards [OpenSSL 1.1.0 Changes | Compatibility Layer](https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes#Compatibility_Layer) on the OpenSSL wiki. – jww Jun 19 '17 at 14:39
  • Just saw this question is open. can you post it as an answer it worked :) – maxbit89 May 08 '18 at 07:57

1 Answers1

0

As Suggested by @jww i installed OpenSSL 1.0.2 rather than OpenSSL 1.1.0.

maxbit89
  • 748
  • 1
  • 11
  • 31