]> git.proxmox.com Git - libgit2.git/commit
ssh: create the right callback signature based on build options
authorCarlos Martín Nieto <cmn@dwim.me>
Mon, 30 Jun 2014 08:03:36 +0000 (10:03 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Mon, 30 Jun 2014 08:03:36 +0000 (10:03 +0200)
commiteac63e6754f8ef3b8e8d4962a8642786ee1e1a85
tree3b1440f6e2052017e2692d023fae48df5431775d
parente6b0ae7a13e20c4361327e50048a5143c8e9941b
ssh: create the right callback signature based on build options

When linking against libssh2, create the transport.h such that it
contains its definition for custom crypto and keyboard-interactive
callbacks.

If we don't link against libssh2, create an equivalent signature which
has void pointers instead of pointers to libssh2 structures.

This would be one way to fix #2438.
CMakeLists.txt
include/git2/transport.h [deleted file]
include/git2/transport.h.in [new file with mode: 0644]