diff --git a/crypto/openssl/BSDmakefile b/crypto/openssl/BSDmakefile index a45dc2b532f3..8da6b846cc86 100644 --- a/crypto/openssl/BSDmakefile +++ b/crypto/openssl/BSDmakefile @@ -46,7 +46,7 @@ configure: enable-ec_nistp_64_gcc_128 \ enable-ktls \ enable-sctp \ - --openssldir=etc \ + --openssldir=/etc/ssl \ --prefix=/usr) all: patch diff --git a/crypto/openssl/tools/c_rehash b/crypto/openssl/tools/c_rehash index 8083217683c4..f442ddbe096a 100755 --- a/crypto/openssl/tools/c_rehash +++ b/crypto/openssl/tools/c_rehash @@ -12,7 +12,7 @@ # Perl c_rehash script, scan all files in a directory # and add symbolic links to their hash values. -my $dir = "etc"; +my $dir = "/etc/ssl"; my $prefix = "/usr"; my $errorcount = 0;