Commit Graph

13 Commits

Author SHA1 Message Date
Luke Howard
014f16883c libhcrypto: UI_UTIL_FLAG_VERIFY_SILENT 2018-12-30 15:39:49 -06:00
Luke Howard
65ed504d21 hcrypto: print failure on password mismatch (#469)
UI_UTIL_read_pw_string(), an interface borrowed from OpenSSL, should report
password verification failure to stderr.
2018-12-27 17:40:57 +11:00
Jeffrey Altman
0f97855826 hcrypto: config/roken cleanup
All source files in lib/hcrypto should be built the same way.
Since this source directory is dependent on libroken then all source
files must be built using the roken.h declarations and included headers.

Also, there is no config.h in the local directory so angle brackets
include of quotes should be used.

Finally, because roken.h includes stdio.h, stdlib.h, stdarg.h, limits.h,
strings.h, sys/types.h, etc., do not include them separately.

Start all source files with

  #include <config.h>
  #include <roken.h>

Change-Id: I09ab47f8a5472018efe6c8b59a0e51fde8f24724
2016-04-10 17:05:07 -05:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Asanka Herath
a750f29cda _getch() can return '\r' on Windows 2010-05-26 10:38:40 -04:00
Love Hornquist Astrand
02e980612e make #ifdef positive, add comments 2009-12-24 07:19:49 +01:00
Asanka Herath
c4b95f7330 Make build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-25 02:22:31 +01:00
Love Hornquist Astrand
3a031244bc Drop RCSID and HAVE_CONFIG_H 2009-08-05 13:37:37 +02:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
57666b9434 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:15 +00:00
Love Hörnquist Åstrand
7ecdb267fc Send newline from use to stderr, just like the prompt. From Ted Percival.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-26 03:55:03 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00