+ ecdsa_free(key);
+ return 1;
+ }
+}
+
+int main(int argc, char *argv[]) {
+ program_name = argv[0];
+ int r;
+ int option_index = 0;
+
+ while((r = getopt_long(argc, argv, "", long_options, &option_index)) != EOF) {
+ switch((option_t) r) {
+ case OPT_LONG_OPTION:
+ break;
+
+ case OPT_BAD_OPTION:
+ usage();
+ return 1;
+
+ case OPT_HELP:
+ usage();
+ return 0;
+
+ default:
+ break;
+ }
+ }
+
+ argc -= optind - 1;
+ argv += optind - 1;
+
+ if(argc != 3) {
+ fprintf(stderr, "Wrong number of arguments.\n");
+ usage();