[openssh-commits] [openssh] 01/01: Put sshsk_sign call inside ifdef ENABLE_SK.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Nov 14 16:09:30 AEDT 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 1e0b248d47c96be944868a735553af8482300a07
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Nov 14 16:08:17 2019 +1100

    Put sshsk_sign call inside ifdef ENABLE_SK.
    
    Fixes build against OpenSSL configured without ECC.
---
 sshkey.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sshkey.c b/sshkey.c
index 1b66d4ec..80186206 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -2775,11 +2775,13 @@ sshkey_sign(struct sshkey *key,
 	case KEY_ED25519_CERT:
 		r = ssh_ed25519_sign(key, sigp, lenp, data, datalen, compat);
 		break;
+#ifdef ENABLE_SK
 	case KEY_ED25519_SK:
 	case KEY_ED25519_SK_CERT:
 		r = sshsk_sign(sk_provider, key, sigp, lenp, data, datalen,
 		    compat);
 		break;
+#endif /* ENABLE_SK */
 #ifdef WITH_XMSS
 	case KEY_XMSS:
 	case KEY_XMSS_CERT:

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list