mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 18:44:31 +00:00
Fix check for bad --sha1 option argument
This commit is contained in:
parent
5cfd9ce462
commit
83403e99ba
2
wscript
2
wscript
@ -74,7 +74,7 @@ def configure(conf):
|
||||
conf.env.DEFINES += ['GIT2_SQLITE_BACKEND']
|
||||
|
||||
if conf.options.sha1 not in ['openssl', 'ppc', 'builtin']:
|
||||
ctx.fatal('Invalid SHA1 option')
|
||||
conf.fatal('Invalid SHA1 option')
|
||||
|
||||
# check for libcrypto (openssl) if we are using its SHA1 functions
|
||||
if conf.options.sha1 == 'openssl':
|
||||
|
Loading…
Reference in New Issue
Block a user