svn commit: r312135 - projects/netbsd-tests-upstream-01-2017/lib/libnetbsd

Ngie Cooper ngie at FreeBSD.org
Sat Jan 14 07:57:35 UTC 2017


Author: ngie
Date: Sat Jan 14 07:57:34 2017
New Revision: 312135
URL: https://svnweb.freebsd.org/changeset/base/312135

Log:
  libnetbsd: improve sha1.h compat with FreeBSD
  
  Map SHA1_CTX to SHA_CTX and SHA1Final to SHA1_Final

Modified:
  projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sha1.h

Modified: projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sha1.h
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sha1.h	Sat Jan 14 07:50:29 2017	(r312134)
+++ projects/netbsd-tests-upstream-01-2017/lib/libnetbsd/sha1.h	Sat Jan 14 07:57:34 2017	(r312135)
@@ -35,8 +35,11 @@
 
 #include <sha.h>
 
+#define	SHA1_CTX	SHA_CTX
+
 #define	SHA1End		SHA1_End
 #define	SHA1File	SHA1_File
+#define	SHA1Final	SHA1_Final
 #define	SHA1Init	SHA1_Init
 #define	SHA1Update	SHA1_Update
 


More information about the svn-src-projects mailing list