Commits


portable: rework SHA detection Simply the SHA detection by not predicating on libcrypto, but instead checking individual header files.


portable: remove sha1.h; found portably Remove sha1.h as this is found portably across systems.


include sha2.h too where sha1.h is included In preparation for wide sha256 support; stsp@ agrees. Change done mechanically with find . -iname \*.[cy] -exec sam {} + X ,x/<sha1\.h>/i/\n#include <sha2.h>


plug a memory leak on error in got_gotconfig_read() ok op@


portable: remove sha1.h include This is searched for portably.


move got_gotconfig_read() into new file read_gotconfig_privsep.c