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
This commit is contained in:
Jeffrey Altman
2015-12-26 14:07:38 -05:00
parent 62f982a87b
commit 0f97855826
60 changed files with 84 additions and 238 deletions

View File

@@ -32,14 +32,10 @@
*/
#include <config.h>
#include <roken.h>
#define HC_DEPRECATED_CRYPTO
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <string.h>
#ifdef KRB5
#include <krb5-types.h>
#endif