SSH: Add missing library initialization.
Botan requires to be initialized before first use. We do that on-demand, but currently we miss one of the two places where this is necessary. The problem only manifests itself with multithreading, because Botan itself also does an on-demand initialization, but does not guard against concurrent access when doing so. Task-number: QTCREATORBUG-9980 Change-Id: Id65c428e3d8842c8a6f16942b11d52412239d3c9 Reviewed-by:David Kaspar <dkaspar@blackberry.com> Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
Showing
- src/libs/ssh/ssh.pro 2 additions, 0 deletionssrc/libs/ssh/ssh.pro
- src/libs/ssh/ssh.qbs 1 addition, 0 deletionssrc/libs/ssh/ssh.qbs
- src/libs/ssh/sshconnection.cpp 7 additions, 21 deletionssrc/libs/ssh/sshconnection.cpp
- src/libs/ssh/sshinit.cpp 52 additions, 0 deletionssrc/libs/ssh/sshinit.cpp
- src/libs/ssh/sshinit_p.h 36 additions, 0 deletionssrc/libs/ssh/sshinit_p.h
- src/libs/ssh/sshkeygenerator.cpp 2 additions, 0 deletionssrc/libs/ssh/sshkeygenerator.cpp
Loading
Please register or sign in to comment