Skip to content

libssh2_sign_sk: add LIBSSH2_API attribute, document availability - #1965

Closed
vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:missapi
Closed

vszakats wants to merge 2 commits into
libssh2:masterfrom
vszakats:missapi

Conversation

@vszakats

@vszakats vszakats commented Jun 3, 2026 •

Copy link
Copy Markdown
Member

Based on it having a public man page, it was likely meant to be a public
function. Mark it LIBSSH2_API to export it from the DLL on Windows.

Also move its public prototype next to userauth functions, since its
implemented in userauth.c (though not using the namespace).

Follow-up to ed439a2 #698


/cc @MichaelBuckley

vszakats added 2 commits June 3, 2026 10:57
Based on it having a public man page, it was likely meant to be a public
function. Mark it `LIBSSH2_API` to export it from the DLL on Windows.

Also move its prototype in the userauth block, since its implemented in
userauth.c (though not using its namespace).

Follow-up to ed439a2 libssh2#698
@vszakats vszakats closed this in e0635ab Jun 3, 2026
@vszakats
vszakats deleted the missapi branch June 3, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant