#include <stdlib.h>
#include "armor.h"
-#include "config.h"
#include "keystructs.h"
#include "log.h"
#include "onak-conf.h"
#include "parsekey.h"
+#include "version.h"
#define ARMOR_WIDTH 64
*/
putchar_func(ctx, sizeof("-----BEGIN PGP PUBLIC KEY BLOCK-----\n") - 1,
(unsigned char *) "-----BEGIN PGP PUBLIC KEY BLOCK-----\n");
- putchar_func(ctx, sizeof("Version: onak " PACKAGE_VERSION "\n\n") - 1,
- (unsigned char *) "Version: onak " PACKAGE_VERSION "\n\n");
+ putchar_func(ctx, sizeof("Version: onak " ONAK_VERSION "\n\n") - 1,
+ (unsigned char *) "Version: onak " ONAK_VERSION "\n\n");
armor_init(&armor_ctx);
armor_ctx.putchar_func = putchar_func;