[openssh-commits] [openssh] 01/01: wrap sha2.h inclusion in #ifdef HAVE_SHA2_H

git+noreply at mindrot.org git+noreply at mindrot.org
Fri May 1 13:29:38 AEST 2020

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

djm pushed a commit to branch master
in repository openssh.

commit c0dfd18dd1c2107c73d18f70cd164f7ebd434b08
Author: Damien Miller <djm at mindrot.org>
Date:   Fri May 1 13:29:16 2020 +1000

    wrap sha2.h inclusion in #ifdef HAVE_SHA2_H
 sk-usbhid.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sk-usbhid.c b/sk-usbhid.c
index db6c0057..25250824 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -24,7 +24,9 @@
 #include <stdio.h>
 #include <stddef.h>
 #include <stdarg.h>
+#ifdef HAVE_SHA2_H
 #include <sha2.h>
 #include <openssl/opensslv.h>

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

More information about the openssh-commits mailing list