summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/openssl/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py
index b9eada9e83..78bdd88d9c 100644
--- a/var/spack/repos/builtin/packages/openssl/package.py
+++ b/var/spack/repos/builtin/packages/openssl/package.py
@@ -52,7 +52,7 @@ class Openssl(Package):
if '@system' in self.spec:
return '@system (reserved version for system openssl)'
else:
- return super(Openssl, self).url_for_version(self.spec)
+ return super(Openssl, self).url_for_version(self.version)
def handle_fetch_error(self, error):
tty.warn("Fetching OpenSSL failed. This may indicate that OpenSSL has "