1. 20 Aug, 2015 1 commit
    • Thiago Macieira's avatar
      Fix Botan compilation with ICC · 969274a2
      Thiago Macieira authored
      The __cpuid intrinsic takes int* pointers like MSVC above, not uint*.
      
      botan.cpp(46265): error: argument of type "Botan::u32bit={unsigned int} *" is incompatible with parameter of type "int *"
      
      (whoever thought that a file should have 46k lines needs to have their
      brains examined)
      
      Change-Id: I5128849c354e351ba771215b3290f3af8ba98987
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      969274a2
  2. 05 Dec, 2014 1 commit
  3. 19 Nov, 2014 1 commit
  4. 27 Jun, 2014 1 commit
  5. 17 Jun, 2014 2 commits
  6. 08 Apr, 2013 1 commit
    • Erik Verbruggen's avatar
      Fix use of std::make_pair so it compiles with C++11. · 4b199b06
      Erik Verbruggen authored
      Compiler error:
      
      ../3rdparty/botan/botan.cpp:21912:17: error: no matching function for call to 'make_pair'
               return std::make_pair<struct dirent*, std::string>(dir, m_cur_dir.second);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/bin/../lib/c++/v1/utility:444:1: note: candidate function [with _T1 = dirent *, _T2 = std::__1::basic_string<char>] not viable: no known conversion from
            'struct dirent *' to 'dirent *&&' for 1st argument
      make_pair(_T1&& __t1, _T2&& __t2)
      ^
      
      Change-Id: I1a8782956cf0a105fe2f12bf6f8470242a54a3a5
      Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
      4b199b06
  7. 08 Jan, 2013 1 commit
  8. 05 Oct, 2012 1 commit
    • Christian Kandeler's avatar
      SSH: Work around issue with dynamic_cast. · 6f7ce3f4
      Christian Kandeler authored
      It has been observed that on MacOs, a dynamic_cast from
      Botan::Public_Key to Botan::RSA_PublicKey reproducibly fails even though
      it should definitely succeed. This happens with both gcc and clang on
      different Macs, but on no other platform. The problem could not be
      reproduced with an example project.
      The workaround is to move the allocation of the respective object from
      the client side to the Botan library itself. In addition, the following
      actions were taken to guard against similar problems in the future:
          - Also move to Botan the allocations of all other objects that are
      potentially dynamically cast.
          - Use shared pointers for these objects, so the deallocation also
      happens inside Botan.
      
      Change-Id: Ie595a56a239a41e2629b6ff631de59910b8244dd
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      6f7ce3f4
  9. 17 Sep, 2012 2 commits
  10. 16 Aug, 2012 1 commit
  11. 29 Jun, 2012 1 commit
  12. 27 Jun, 2012 2 commits
  13. 26 Jun, 2012 1 commit
    • Christian Kandeler's avatar
      Update botan library. · fcc9ba4b
      Christian Kandeler authored
      Old version was 1.8.8, new one is 1.10.2.
      We now put all the code into one pair of files (via
      a botan configure option) and move platform-specific
      defines into the pro/qbs files. Besides drastically
      reducing the number of files, this is expected to make
      future updates less messy.
      
      Change-Id: I004166b2ab15b6a699d69aebfcfd9999c5ccdb91
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      fcc9ba4b