some update

This commit is contained in:
Zhi Guan
2016-04-25 20:53:02 +02:00
parent da6bb109b4
commit d8072491bc
48 changed files with 1443 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
#!/opt/local/bin/perl5
#!/usr/bin/perl
#
# CA - wrapper around ca to make it easier to use ... basically ca requires
# some setup stuff to be done before you can use it and this makes

View File

@@ -399,8 +399,11 @@ int MAIN(int argc, char **argv)
if (hmac_key) {
sigkey = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, impl,
(unsigned char *)hmac_key, -1);
if (!sigkey)
if (!sigkey) {
ERR_print_errors_fp(stderr);
fprintf(stderr, "error %s %d\n", __FILE__, __LINE__);
goto end;
}
}
if (sigkey) {