diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-20 13:54:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-20 13:54:12 +0000 |
commit | 2e4139498d33005f4d9c56db360024b11ae5a42e (patch) | |
tree | ff91b913ad87e3ddc69fd705f31a708ae612c9fe /community/chntpw/chntpw-140201-get_abs_path.patch | |
parent | c2ac0e6df64d71833dfffe422df8113d291a8e13 (diff) | |
download | aports-2e4139498d33005f4d9c56db360024b11ae5a42e.tar.bz2 aports-2e4139498d33005f4d9c56db360024b11ae5a42e.tar.xz |
community/chntpw: remove openssl dep, add patches from fedora
OpenSSL is not used at all so remove the dependency and misleading build
option.
The patches from Fedora seems to be needed so we add those.
Diffstat (limited to 'community/chntpw/chntpw-140201-get_abs_path.patch')
-rw-r--r-- | community/chntpw/chntpw-140201-get_abs_path.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/chntpw/chntpw-140201-get_abs_path.patch b/community/chntpw/chntpw-140201-get_abs_path.patch new file mode 100644 index 0000000000..c9f1a3decc --- /dev/null +++ b/community/chntpw/chntpw-140201-get_abs_path.patch @@ -0,0 +1,10 @@ +--- chntpw-140201/ntreg.c.orig 2014-02-01 08:54:37.000000000 -0800 ++++ chntpw-140201/ntreg.c 2018-07-02 16:10:39.625152640 -0700 +@@ -1511,6 +1511,7 @@ + } + + strncpy(tmp,path,ABSPATHLEN-1); ++ tmp[ABSPATHLEN-1] = '\0'; + + if (key->type & 0x20) + keyname = mem_str(key->keyname, key->len_name); |