Uploaded image for project: 'SoftHSM'
  1. SoftHSM
  2. SOFTHSM-69

Botan GOST fails to build if ECC is disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0a1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu 13.10
      ./configure --disable-ecc

      Description

      If this can't be fixed the disabling ECC should also disable GOST in configure.

      make[5]: Entering directory `/home/prox/src/ods/SoftHSMv2/build/src/lib/crypto'
      /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../src/lib/crypto -I../../.. -I../../../../src/lib/crypto/../common -I../../../../src/lib/crypto/../cryptoki_compat -I../../../../src/lib/crypto/../data_mgr -I../../../../src/lib/crypto/.. -I/usr/include/botan-1.10 -g -O2 -Wall -Wextra -MT BotanGOST.lo -MD -MP -MF .deps/BotanGOST.Tpo -c -o BotanGOST.lo ../../../../src/lib/crypto/BotanGOST.cpp
      libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/lib/crypto -I../../.. -I../../../../src/lib/crypto/../common -I../../../../src/lib/crypto/../cryptoki_compat -I../../../../src/lib/crypto/../data_mgr -I../../../../src/lib/crypto/.. -I/usr/include/botan-1.10 -g -O2 -Wall -Wextra -MT BotanGOST.lo -MD -MP -MF .deps/BotanGOST.Tpo -c ../../../../src/lib/crypto/BotanGOST.cpp -fPIC -DPIC -o .libs/BotanGOST.o
      ../../../../src/lib/crypto/BotanGOST.cpp: In member function 'virtual bool BotanGOST::generateKeyPair(AsymmetricKeyPair*, AsymmetricParameters, RNG*)':
      ../../../../src/lib/crypto/BotanGOST.cpp:372:58: error: 'byteString2ECGroup' is not a member of 'BotanUtil'
      eckp = new Botan::GOST_3410_PrivateKey(*rng->getRNG(), BotanUtil::byteString2ECGroup(params->getEC()));
      ^
      make[5]: *** [BotanGOST.lo] Error 1

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            jerry Jerry Lundström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: