mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-20 07:16:24 +08:00
some update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user