[botan-devel] Botan 1.10.6 and 1.11.7 released

Uri Blumenthal uri at MIT.EDU
Mon Dec 30 00:50:12 EST 2013


Help is appreciated on the following.

Botan-1.11.6, doc/examples:

clang++ -maes -mpclmul -msse2 -mssse3 -msse4.2 -mtune=native -m64 -O2 -ansi -std=c++11 -W -Wall -I../../build/include passhash.cpp -L../.. -lbotan-1.11  -o passhash
ocsp.cpp:17:62: error: no viable conversion from
      'Botan::Certificate_Store_In_Memory' to 'const Botan::Certificate_Store *'
   OCSP::Response resp = OCSP::online_check(issuer, subject, cas);
                                                             ^~~
../../build/include/botan/ocsp.h:55:58: note: passing argument to parameter
      'trusted_roots' here
                                const Certificate_Store* trusted_roots);
                                                         ^
ocsp.cpp:19:12: error: no member named 'affirmative_response_for' in
      'Botan::OCSP::Response'
   if(resp.affirmative_response_for(issuer, subject))
      ~~~~ ^
ocsp.cpp:10:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char* argv[])
             ^
1 warning and 2 errors generated.
make: *** [ocsp] Error 1


clang++ -maes -mpclmul -msse2 -mssse3 -msse4.2 -mtune=native -m64 -o eax_test -O2 -ansi -std=c++11 -W -Wall -I../../build/include -I/opt/local/include eax_test.cpp -L../.. -lbotan-1.11  -L/opt/local/lib -lboost_regex -lboost_system -lstdc++
eax_test.cpp:64:9: error: no matching constructor for initialization of
      'Botan::Pipe'
   Pipe pipe(new Hex_Decoder,
        ^    ~~~~~~~~~~~~~~~~
../../build/include/botan/pipe.h:290:7: note: candidate constructor not viable: no
      known conversion from 'Botan::EAX_Encryption *' to 'Botan::Filter *' for 2nd
      argument
      Pipe(Filter* = nullptr, Filter* = nullptr,
      ^
../../build/include/botan/pipe.h:297:7: note: candidate constructor not viable:
      requires single argument 'filters', but 3 arguments were provided
      Pipe(std::initializer_list<Filter*> filters);
      ^
../../build/include/botan/pipe.h:299:7: note: candidate constructor not viable:
      requires 1 argument, but 3 were provided
      Pipe(const Pipe&) = delete;
      ^
eax_test.cpp:69:9: error: no member named 'set_iv' in 'Botan::EAX_Encryption'
   enc->set_iv(iv);
   ~~~  ^
eax_test.cpp:73:9: error: no member named 'set_header' in 'Botan::EAX_Encryption'
   enc->set_header(header.begin(), header.length());
   ~~~  ^
eax_test.cpp:92:12: error: no matching constructor for initialization of
      'Botan::Pipe'
      Pipe pipe2(new Hex_Decoder,
           ^     ~~~~~~~~~~~~~~~~
../../build/include/botan/pipe.h:290:7: note: candidate constructor not viable: no
      known conversion from 'Botan::EAX_Decryption *' to 'Botan::Filter *' for 2nd
      argument
      Pipe(Filter* = nullptr, Filter* = nullptr,
      ^
../../build/include/botan/pipe.h:297:7: note: candidate constructor not viable:
      requires single argument 'filters', but 3 arguments were provided
      Pipe(std::initializer_list<Filter*> filters);
      ^
../../build/include/botan/pipe.h:299:7: note: candidate constructor not viable:
      requires 1 argument, but 3 were provided
      Pipe(const Pipe&) = delete;
      ^
eax_test.cpp:97:12: error: no member named 'set_iv' in 'Botan::EAX_Decryption'
      dec->set_iv(iv);
      ~~~  ^
eax_test.cpp:99:12: error: no member named 'set_header' in 'Botan::EAX_Decryption'
      dec->set_header(header.begin(), header.length());
      ~~~  ^
6 errors generated.
make: *** [eax_test] Error 1

These examples compile fine on 1.10.7.

$ clang++ -v
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-apple-darwin13.0.0
Thread model: posix


Python, on the other hand, seems to work on 1.11.6. rsa.py, cryptobox.py, and nisttest.py produce expected results. rng_test.py does not work, probably because it cannot find data files.


On Dec 29, 2013, at 20:15 , Uri Blumenthal <uri at MIT.EDU> wrote:

> On Dec 29, 2013, at 15:29 , Jack Lloyd <lloyd at randombit.net> wrote:
>> Good morning,
>> 
>> I've released Botan 1.10.7 and 1.11.6 today.
> 
> Botan-1.10.7 seems to build fine on Mavericks 10.9.1 with gcc-4.8.2 (see the attached benchmark report for MacBook Air).
> 
> The python part of Botan however appears 100% dead (unless I’m doing something wrong? In which case I’d appreciate some guidance). See attached output of “make -f Makefile.python”. Boost-1.55.0 is installed through MacPorts, and seems to be fully functional (at least, passes the validation tests, whatever those are :).
> 
> TNX!
> 
> <Botan-1.10.7.python.out><botan-1.10.7.out>_______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel



More information about the botan-devel mailing list