Commit a538a476 authored by Niels Möller's avatar Niels Möller
Browse files

(main): Made the OPT_* constants local, and

fixed numerical values to start with non-ASCII 0x300.

Rev: nettle/tools/pkcs1-conv.c:1.5
parent 60d1b5df
......@@ -572,14 +572,6 @@ convert_file(struct nettle_buffer *buffer,
}
}
enum {
OPT_PRIVATE_RSA = RSA_PRIVATE_KEY,
OPT_PUBLIC_RSA = RSA_PUBLIC_KEY,
OPT_PRIVATE_DSA = DSA_PRIVATE_KEY,
OPT_PUBLIC_KEY = GENERAL_PUBLIC_KEY,
OPT_HELP = 0x300,
};
int
main(int argc, char **argv)
{
......@@ -587,6 +579,14 @@ main(int argc, char **argv)
enum object_type type = 0;
int base64 = 0;
int c;
enum {
OPT_HELP = 0x300,
OPT_PRIVATE_RSA = RSA_PRIVATE_KEY,
OPT_PUBLIC_RSA = RSA_PUBLIC_KEY,
OPT_PRIVATE_DSA = DSA_PRIVATE_KEY,
OPT_PUBLIC_KEY = GENERAL_PUBLIC_KEY,
};
static const struct option options[] =
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment