diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2019-03-03 03:47:33 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2019-03-03 03:47:33 +0000 |
commit | 24b4037afadd4e714322c5d93291911ca083c6f3 (patch) | |
tree | 60eaf15c38299ca937e0beb637be1c5e99ce0c93 /security/opencryptoki/files/patch-usr-lib-pkcs11-soft_stdll-soft_specific.c | |
parent | Fix build on 32-bit arch. (diff) |
Update to 3.11.0, which supports OpenSSL 1.0.x and 1.1.x.
Notes
Notes:
svn path=/head/; revision=494474
Diffstat (limited to 'security/opencryptoki/files/patch-usr-lib-pkcs11-soft_stdll-soft_specific.c')
-rw-r--r-- | security/opencryptoki/files/patch-usr-lib-pkcs11-soft_stdll-soft_specific.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/security/opencryptoki/files/patch-usr-lib-pkcs11-soft_stdll-soft_specific.c b/security/opencryptoki/files/patch-usr-lib-pkcs11-soft_stdll-soft_specific.c deleted file mode 100644 index 3edd4fa87ad8..000000000000 --- a/security/opencryptoki/files/patch-usr-lib-pkcs11-soft_stdll-soft_specific.c +++ /dev/null @@ -1,30 +0,0 @@ ---- usr/lib/pkcs11/soft_stdll/soft_specific.c.orig 2016-04-29 17:26:46 UTC -+++ usr/lib/pkcs11/soft_stdll/soft_specific.c -@@ -298,7 +298,9 @@ - - - ****************************************************************************/ -+#ifndef _BSD_SOURCE - #define _BSD_SOURCE -+#endif - - #include <pthread.h> - #include <string.h> // for memcmp() et al -@@ -317,7 +319,17 @@ - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> -+#if defined(__OpenBSD__) || defined(__FreeBSD__) -+#include <sys/endian.h> -+#ifdef _BYTE_ORDER -+#define __BYTE_ORDER _BYTE_ORDER -+#endif -+#ifdef _LITTLE_ENDIAN -+#define __LITTLE_ENDIAN _LITTLE_ENDIAN -+#endif -+#else - #include <endian.h> -+#endif - - #include <openssl/des.h> - #include <openssl/rand.h> |