1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

This port links against libcrypto, so use the openssl header and not the libmd one

This commit is contained in:
Antoine Brodin 2015-05-12 17:35:56 +00:00
parent c7faea1a4e
commit 7b79640fac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386161
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= sectok
PORTVERSION= 20030825
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.citi.umich.edu/projects/smartcard/
EXTRACT_SUFX= .tgz

View File

@ -10,7 +10,7 @@
+#define SHA1Init SHA1_Init
+#define SHA1Update SHA1_Update
+#define SHA1Final SHA1_Final
+#include <sha.h>
+#include <openssl/sha.h>
+#else
#include <sha1.h>
#endif